google-api-client 0.47.0 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (605) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +57 -0
  3. data/CHANGELOG.md +466 -0
  4. data/README.md +2 -2
  5. data/generated/google/apis/accessapproval_v1.rb +1 -1
  6. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
  11. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  12. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  13. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  14. data/generated/google/apis/admin_directory_v1.rb +2 -2
  15. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  16. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  17. data/generated/google/apis/admin_directory_v1/service.rb +323 -183
  18. data/generated/google/apis/admin_reports_v1.rb +2 -2
  19. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  20. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  21. data/generated/google/apis/admob_v1.rb +4 -1
  22. data/generated/google/apis/admob_v1/service.rb +4 -0
  23. data/generated/google/apis/admob_v1beta.rb +38 -0
  24. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  25. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  26. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  27. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  28. data/generated/google/apis/analytics_v3/service.rb +1 -1
  29. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  30. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +11 -10
  31. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +33 -24
  32. data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
  33. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +243 -63
  34. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -14
  35. data/generated/google/apis/analyticsdata_v1alpha/service.rb +43 -34
  36. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  37. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  38. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  39. data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
  40. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  41. data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
  42. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  43. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  44. data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
  45. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  46. data/generated/google/apis/apigateway_v1beta/classes.rb +5 -8
  47. data/generated/google/apis/apigee_v1.rb +1 -1
  48. data/generated/google/apis/apigee_v1/classes.rb +433 -84
  49. data/generated/google/apis/apigee_v1/representations.rb +150 -0
  50. data/generated/google/apis/apigee_v1/service.rb +926 -110
  51. data/generated/google/apis/appengine_v1.rb +1 -1
  52. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  53. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  54. data/generated/google/apis/appengine_v1beta.rb +1 -1
  55. data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
  56. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  57. data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
  58. data/generated/google/apis/area120tables_v1alpha1/classes.rb +58 -0
  59. data/generated/google/apis/area120tables_v1alpha1/representations.rb +31 -0
  60. data/generated/google/apis/area120tables_v1alpha1/service.rb +67 -0
  61. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  62. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -9
  63. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
  64. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  65. data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
  66. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
  67. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
  68. data/generated/google/apis/artifactregistry_v1beta2/service.rb +947 -0
  69. data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
  70. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +69 -137
  71. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +29 -87
  72. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
  73. data/generated/google/apis/bigquery_v2.rb +1 -1
  74. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  75. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  76. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  77. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  78. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  79. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  80. data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
  81. data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
  82. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  83. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
  84. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  85. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  86. data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -7
  87. data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
  88. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  89. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -8
  90. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
  91. data/generated/google/apis/calendar_v3.rb +1 -1
  92. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  93. data/generated/google/apis/chat_v1.rb +1 -1
  94. data/generated/google/apis/chat_v1/classes.rb +1 -2
  95. data/generated/google/apis/chat_v1/service.rb +176 -0
  96. data/generated/google/apis/cloudasset_v1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1/classes.rb +1125 -0
  98. data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
  99. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  100. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  101. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  102. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  103. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  104. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  105. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  106. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  107. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  108. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  109. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  110. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  111. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  112. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  113. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  114. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  115. data/generated/google/apis/cloudidentity_v1/service.rb +217 -9
  116. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  117. data/generated/google/apis/cloudidentity_v1beta1/service.rb +45 -23
  118. data/generated/google/apis/cloudiot_v1.rb +1 -1
  119. data/generated/google/apis/cloudiot_v1/classes.rb +0 -7
  120. data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
  121. data/generated/google/apis/cloudkms_v1.rb +1 -1
  122. data/generated/google/apis/cloudkms_v1/classes.rb +0 -7
  123. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  124. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  125. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
  126. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
  127. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  128. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
  129. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
  130. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  131. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
  132. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
  133. data/generated/google/apis/cloudresourcemanager_v2/service.rb +6 -6
  134. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  135. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
  136. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
  137. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +6 -6
  138. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  139. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  140. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  141. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  142. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  143. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
  144. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  145. data/generated/google/apis/cloudtasks_v2/classes.rb +0 -7
  146. data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
  147. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  148. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -7
  149. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -1
  150. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  151. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  152. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -7
  153. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -1
  154. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  155. data/generated/google/apis/composer_v1.rb +1 -1
  156. data/generated/google/apis/composer_v1/classes.rb +123 -0
  157. data/generated/google/apis/composer_v1/representations.rb +49 -0
  158. data/generated/google/apis/composer_v1/service.rb +19 -15
  159. data/generated/google/apis/composer_v1beta1.rb +1 -1
  160. data/generated/google/apis/composer_v1beta1/classes.rb +173 -0
  161. data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
  162. data/generated/google/apis/composer_v1beta1/service.rb +39 -1
  163. data/generated/google/apis/compute_alpha.rb +1 -1
  164. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  165. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  166. data/generated/google/apis/compute_alpha/service.rb +291 -15
  167. data/generated/google/apis/compute_beta.rb +1 -1
  168. data/generated/google/apis/compute_beta/classes.rb +926 -283
  169. data/generated/google/apis/compute_beta/representations.rb +221 -18
  170. data/generated/google/apis/compute_beta/service.rb +24 -15
  171. data/generated/google/apis/compute_v1.rb +1 -1
  172. data/generated/google/apis/compute_v1/classes.rb +688 -176
  173. data/generated/google/apis/compute_v1/representations.rb +99 -0
  174. data/generated/google/apis/compute_v1/service.rb +704 -552
  175. data/generated/google/apis/container_v1.rb +1 -1
  176. data/generated/google/apis/container_v1/classes.rb +48 -9
  177. data/generated/google/apis/container_v1/representations.rb +17 -0
  178. data/generated/google/apis/container_v1/service.rb +4 -2
  179. data/generated/google/apis/container_v1beta1.rb +1 -1
  180. data/generated/google/apis/container_v1beta1/classes.rb +53 -13
  181. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  182. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  183. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  184. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -7
  185. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
  186. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  187. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -8
  188. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
  189. data/generated/google/apis/content_v2.rb +1 -1
  190. data/generated/google/apis/content_v2/classes.rb +7 -7
  191. data/generated/google/apis/content_v2/service.rb +10 -8
  192. data/generated/google/apis/content_v2_1.rb +3 -4
  193. data/generated/google/apis/content_v2_1/classes.rb +1533 -1064
  194. data/generated/google/apis/content_v2_1/representations.rb +421 -0
  195. data/generated/google/apis/content_v2_1/service.rb +1127 -809
  196. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  197. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -17
  198. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -1
  199. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  200. data/generated/google/apis/dataflow_v1b3/classes.rb +29 -1
  201. data/generated/google/apis/dataflow_v1b3/representations.rb +5 -0
  202. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  203. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  204. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  205. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  206. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  207. data/generated/google/apis/datamigration_v1beta1/classes.rb +1664 -0
  208. data/generated/google/apis/datamigration_v1beta1/representations.rb +677 -0
  209. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  210. data/generated/google/apis/dataproc_v1.rb +1 -1
  211. data/generated/google/apis/dataproc_v1/classes.rb +80 -9
  212. data/generated/google/apis/dataproc_v1/representations.rb +22 -1
  213. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  214. data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -9
  215. data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
  216. data/generated/google/apis/datastore_v1.rb +1 -1
  217. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  218. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  219. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  220. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  221. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  222. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  223. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  224. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  225. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  226. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  227. data/generated/google/apis/deploymentmanager_v2/service.rb +149 -213
  228. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  229. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  230. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  231. data/generated/google/apis/deploymentmanager_v2beta/service.rb +246 -359
  232. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  233. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  234. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  235. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  236. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  237. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  238. data/generated/google/apis/dialogflow_v2.rb +1 -1
  239. data/generated/google/apis/dialogflow_v2/classes.rb +62 -15
  240. data/generated/google/apis/dialogflow_v2/representations.rb +28 -12
  241. data/generated/google/apis/dialogflow_v2/service.rb +12 -4
  242. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  243. data/generated/google/apis/dialogflow_v2beta1/classes.rb +60 -18
  244. data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -12
  245. data/generated/google/apis/dialogflow_v2beta1/service.rb +508 -38
  246. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  247. data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
  248. data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
  249. data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
  250. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  251. data/generated/google/apis/dialogflow_v3beta1/classes.rb +180 -15
  252. data/generated/google/apis/dialogflow_v3beta1/representations.rb +65 -12
  253. data/generated/google/apis/dialogflow_v3beta1/service.rb +183 -2
  254. data/generated/google/apis/displayvideo_v1.rb +1 -1
  255. data/generated/google/apis/displayvideo_v1/classes.rb +306 -34
  256. data/generated/google/apis/displayvideo_v1/representations.rb +122 -0
  257. data/generated/google/apis/displayvideo_v1/service.rb +342 -38
  258. data/generated/google/apis/dlp_v2.rb +1 -1
  259. data/generated/google/apis/dlp_v2/classes.rb +6 -0
  260. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  261. data/generated/google/apis/dlp_v2/service.rb +294 -1
  262. data/generated/google/apis/dns_v1.rb +1 -1
  263. data/generated/google/apis/dns_v1/classes.rb +71 -0
  264. data/generated/google/apis/dns_v1/representations.rb +33 -0
  265. data/generated/google/apis/dns_v1beta2.rb +1 -1
  266. data/generated/google/apis/dns_v1beta2/classes.rb +19 -0
  267. data/generated/google/apis/dns_v1beta2/representations.rb +13 -0
  268. data/generated/google/apis/dns_v1beta2/service.rb +176 -0
  269. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  270. data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
  271. data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
  272. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  273. data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
  274. data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
  275. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  276. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  277. data/generated/google/apis/domains_v1beta1.rb +1 -1
  278. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  279. data/generated/google/apis/drive_v2.rb +1 -1
  280. data/generated/google/apis/drive_v2/classes.rb +24 -21
  281. data/generated/google/apis/drive_v2/service.rb +26 -58
  282. data/generated/google/apis/drive_v3.rb +1 -1
  283. data/generated/google/apis/drive_v3/classes.rb +12 -8
  284. data/generated/google/apis/drive_v3/service.rb +14 -30
  285. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  286. data/generated/google/apis/eventarc_v1beta1/classes.rb +9 -12
  287. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  288. data/generated/google/apis/file_v1.rb +1 -1
  289. data/generated/google/apis/file_v1/classes.rb +566 -4
  290. data/generated/google/apis/file_v1/representations.rb +222 -0
  291. data/generated/google/apis/file_v1/service.rb +229 -1
  292. data/generated/google/apis/file_v1beta1.rb +1 -1
  293. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  294. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  295. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  296. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  297. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  298. data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
  299. data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
  300. data/generated/google/apis/{displayvideo_v1dev → firebasedatabase_v1beta}/representations.rb +26 -16
  301. data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
  302. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  303. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  304. data/generated/google/apis/firestore_v1.rb +1 -1
  305. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  306. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  307. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  308. data/generated/google/apis/games_v1.rb +1 -1
  309. data/generated/google/apis/games_v1/classes.rb +353 -0
  310. data/generated/google/apis/games_v1/representations.rb +145 -0
  311. data/generated/google/apis/games_v1/service.rb +67 -0
  312. data/generated/google/apis/gameservices_v1.rb +1 -1
  313. data/generated/google/apis/gameservices_v1/classes.rb +1 -2
  314. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  315. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  316. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  317. data/generated/google/apis/genomics_v2alpha1/classes.rb +36 -7
  318. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  319. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  320. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
  321. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
  322. data/generated/google/apis/healthcare_v1.rb +1 -1
  323. data/generated/google/apis/healthcare_v1/classes.rb +18 -17
  324. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  325. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  326. data/generated/google/apis/healthcare_v1beta1/classes.rb +321 -70
  327. data/generated/google/apis/healthcare_v1beta1/representations.rb +121 -18
  328. data/generated/google/apis/healthcare_v1beta1/service.rb +75 -39
  329. data/generated/google/apis/iam_v1.rb +2 -5
  330. data/generated/google/apis/iam_v1/classes.rb +109 -11
  331. data/generated/google/apis/iam_v1/representations.rb +33 -1
  332. data/generated/google/apis/iam_v1/service.rb +63 -4
  333. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  334. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  335. data/generated/google/apis/iap_v1.rb +1 -1
  336. data/generated/google/apis/iap_v1/classes.rb +0 -18
  337. data/generated/google/apis/iap_v1/representations.rb +0 -2
  338. data/generated/google/apis/iap_v1beta1.rb +1 -1
  339. data/generated/google/apis/iap_v1beta1/classes.rb +0 -7
  340. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  341. data/generated/google/apis/jobs_v3.rb +1 -1
  342. data/generated/google/apis/jobs_v3/classes.rb +9 -807
  343. data/generated/google/apis/jobs_v3/representations.rb +0 -272
  344. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  345. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
  346. data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
  347. data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
  348. data/generated/google/apis/jobs_v4/classes.rb +2699 -0
  349. data/generated/google/apis/jobs_v4/representations.rb +934 -0
  350. data/generated/google/apis/jobs_v4/service.rb +903 -0
  351. data/generated/google/apis/licensing_v1.rb +1 -1
  352. data/generated/google/apis/licensing_v1/classes.rb +26 -8
  353. data/generated/google/apis/licensing_v1/representations.rb +12 -0
  354. data/generated/google/apis/licensing_v1/service.rb +32 -29
  355. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  356. data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
  357. data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
  358. data/generated/google/apis/logging_v2.rb +1 -1
  359. data/generated/google/apis/logging_v2/classes.rb +187 -9
  360. data/generated/google/apis/logging_v2/representations.rb +77 -0
  361. data/generated/google/apis/logging_v2/service.rb +446 -25
  362. data/generated/google/apis/managedidentities_v1.rb +1 -1
  363. data/generated/google/apis/managedidentities_v1/classes.rb +361 -16
  364. data/generated/google/apis/managedidentities_v1/representations.rb +149 -1
  365. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  366. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +363 -17
  367. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -1
  368. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  369. data/generated/google/apis/managedidentities_v1beta1/classes.rb +349 -12
  370. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -1
  371. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  372. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  373. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  374. data/generated/google/apis/metastore_v1beta.rb +35 -0
  375. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  376. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  377. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  378. data/generated/google/apis/ml_v1.rb +1 -1
  379. data/generated/google/apis/ml_v1/classes.rb +85 -25
  380. data/generated/google/apis/ml_v1/representations.rb +42 -1
  381. data/generated/google/apis/ml_v1/service.rb +35 -0
  382. data/generated/google/apis/monitoring_v3.rb +1 -1
  383. data/generated/google/apis/monitoring_v3/classes.rb +13 -8
  384. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  385. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  386. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  387. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  388. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  389. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  390. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  391. data/generated/google/apis/notebooks_v1.rb +34 -0
  392. data/generated/google/apis/notebooks_v1/classes.rb +1455 -0
  393. data/generated/google/apis/notebooks_v1/representations.rb +580 -0
  394. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  395. data/generated/google/apis/osconfig_v1.rb +1 -1
  396. data/generated/google/apis/osconfig_v1/classes.rb +419 -0
  397. data/generated/google/apis/osconfig_v1/representations.rb +168 -0
  398. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  399. data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
  400. data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
  401. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  402. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
  403. data/generated/google/apis/people_v1.rb +1 -1
  404. data/generated/google/apis/people_v1/classes.rb +10 -6
  405. data/generated/google/apis/people_v1/service.rb +21 -18
  406. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  407. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  408. data/generated/google/apis/privateca_v1beta1.rb +36 -0
  409. data/generated/google/apis/privateca_v1beta1/classes.rb +2467 -0
  410. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  411. data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
  412. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  413. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
  414. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
  415. data/generated/google/apis/pubsub_v1.rb +1 -1
  416. data/generated/google/apis/pubsub_v1/classes.rb +0 -7
  417. data/generated/google/apis/pubsub_v1/representations.rb +0 -1
  418. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  419. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -7
  420. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
  421. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  422. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  423. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  424. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  425. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  426. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  427. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  428. data/generated/google/apis/recommender_v1.rb +1 -1
  429. data/generated/google/apis/recommender_v1/classes.rb +2 -2
  430. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  431. data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
  432. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  433. data/generated/google/apis/redis_v1.rb +1 -1
  434. data/generated/google/apis/redis_v1/classes.rb +86 -0
  435. data/generated/google/apis/redis_v1/representations.rb +34 -0
  436. data/generated/google/apis/redis_v1/service.rb +34 -0
  437. data/generated/google/apis/redis_v1beta1.rb +1 -1
  438. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  439. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  440. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  441. data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
  442. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
  443. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  444. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
  445. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
  446. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  447. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
  448. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
  449. data/generated/google/apis/reseller_v1.rb +4 -4
  450. data/generated/google/apis/reseller_v1/service.rb +5 -5
  451. data/generated/google/apis/run_v1.rb +1 -1
  452. data/generated/google/apis/run_v1/classes.rb +2 -1
  453. data/generated/google/apis/run_v1alpha1.rb +1 -1
  454. data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
  455. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  456. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
  457. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  458. data/generated/google/apis/safebrowsing_v4.rb +35 -0
  459. data/generated/google/apis/safebrowsing_v4/classes.rb +909 -0
  460. data/generated/google/apis/safebrowsing_v4/representations.rb +445 -0
  461. data/generated/google/apis/safebrowsing_v4/service.rb +286 -0
  462. data/generated/google/apis/searchconsole_v1.rb +1 -1
  463. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  464. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  465. data/generated/google/apis/secretmanager_v1.rb +1 -1
  466. data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
  467. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  468. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  469. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
  470. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  471. data/generated/google/apis/securitycenter_v1.rb +1 -1
  472. data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
  473. data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
  474. data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
  475. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  476. data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
  477. data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
  478. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  479. data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
  480. data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
  481. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  482. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
  483. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  484. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +12 -11
  485. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  486. data/generated/google/apis/servicecontrol_v1/classes.rb +45 -0
  487. data/generated/google/apis/servicecontrol_v1/representations.rb +6 -0
  488. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  489. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  490. data/generated/google/apis/servicecontrol_v2/classes.rb +45 -0
  491. data/generated/google/apis/servicecontrol_v2/representations.rb +6 -0
  492. data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
  493. data/generated/google/apis/servicedirectory_v1.rb +35 -0
  494. data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
  495. data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
  496. data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
  497. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  498. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -13
  499. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
  500. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  501. data/generated/google/apis/servicemanagement_v1/classes.rb +2 -61
  502. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
  503. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  504. data/generated/google/apis/servicenetworking_v1/classes.rb +79 -5
  505. data/generated/google/apis/servicenetworking_v1/representations.rb +33 -1
  506. data/generated/google/apis/servicenetworking_v1/service.rb +80 -0
  507. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  508. data/generated/google/apis/servicenetworking_v1beta/classes.rb +38 -5
  509. data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
  510. data/generated/google/apis/serviceusage_v1.rb +1 -1
  511. data/generated/google/apis/serviceusage_v1/classes.rb +12 -11
  512. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  513. data/generated/google/apis/serviceusage_v1beta1/classes.rb +42 -11
  514. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
  515. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  516. data/generated/google/apis/sheets_v4.rb +1 -1
  517. data/generated/google/apis/sheets_v4/classes.rb +332 -7
  518. data/generated/google/apis/sheets_v4/representations.rb +102 -0
  519. data/generated/google/apis/slides_v1.rb +1 -1
  520. data/generated/google/apis/slides_v1/classes.rb +9 -3
  521. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  522. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
  523. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
  524. data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
  525. data/generated/google/apis/spanner_v1.rb +1 -1
  526. data/generated/google/apis/spanner_v1/classes.rb +10 -8
  527. data/generated/google/apis/spanner_v1/representations.rb +1 -1
  528. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  529. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  530. data/generated/google/apis/sqladmin_v1beta4/classes.rb +118 -11
  531. data/generated/google/apis/sqladmin_v1beta4/representations.rb +37 -0
  532. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  533. data/generated/google/apis/storage_v1.rb +1 -1
  534. data/generated/google/apis/storage_v1/classes.rb +7 -0
  535. data/generated/google/apis/storage_v1/representations.rb +1 -0
  536. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  537. data/generated/google/apis/storagetransfer_v1/classes.rb +43 -21
  538. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  539. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  540. data/generated/google/apis/testing_v1.rb +1 -1
  541. data/generated/google/apis/testing_v1/classes.rb +1 -1
  542. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  543. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  544. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  545. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  546. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  547. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  548. data/generated/google/apis/transcoder_v1beta1/classes.rb +1694 -0
  549. data/generated/google/apis/transcoder_v1beta1/representations.rb +757 -0
  550. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  551. data/generated/google/apis/translate_v3.rb +1 -1
  552. data/generated/google/apis/translate_v3/classes.rb +3 -2
  553. data/generated/google/apis/translate_v3beta1.rb +1 -1
  554. data/generated/google/apis/translate_v3beta1/classes.rb +3 -2
  555. data/generated/google/apis/vault_v1.rb +1 -1
  556. data/generated/google/apis/vault_v1/classes.rb +76 -0
  557. data/generated/google/apis/vault_v1/representations.rb +45 -0
  558. data/generated/google/apis/vectortile_v1.rb +1 -1
  559. data/generated/google/apis/vectortile_v1/classes.rb +59 -4
  560. data/generated/google/apis/vectortile_v1/representations.rb +19 -0
  561. data/generated/google/apis/videointelligence_v1.rb +1 -1
  562. data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
  563. data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
  564. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  565. data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
  566. data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
  567. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  568. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
  569. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
  570. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  571. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
  572. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
  573. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  574. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
  575. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
  576. data/generated/google/apis/vision_v1.rb +1 -1
  577. data/generated/google/apis/vision_v1/classes.rb +16 -16
  578. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  579. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  580. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  581. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  582. data/generated/google/apis/workflows_v1beta.rb +1 -1
  583. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  584. data/generated/google/apis/youtube_v3.rb +1 -1
  585. data/generated/google/apis/youtube_v3/classes.rb +2 -2
  586. data/generated/google/apis/youtube_v3/service.rb +8 -8
  587. data/lib/google/apis/version.rb +1 -1
  588. metadata +60 -27
  589. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  590. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  591. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
  592. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  593. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  594. data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
  595. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  596. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  597. data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
  598. data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
  599. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  600. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  601. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  602. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
  603. data/generated/google/apis/jobs_v2/classes.rb +0 -4012
  604. data/generated/google/apis/jobs_v2/representations.rb +0 -1396
  605. data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -22,8 +22,7 @@ module Google
22
22
  module ContentV2_1
23
23
  # Content API for Shopping
24
24
  #
25
- # Manages product items, inventory, and Merchant Center accounts for Google
26
- # Shopping.
25
+ # Manage your product listings and accounts for Google Shopping
27
26
  #
28
27
  # @example
29
28
  # require 'google/apis/content_v2_1'
@@ -31,7 +30,7 @@ module Google
31
30
  # Content = Google::Apis::ContentV2_1 # Alias the module
32
31
  # service = Content::ShoppingContentService.new
33
32
  #
34
- # @see https://developers.google.com/shopping-content
33
+ # @see https://developers.google.com/shopping-content/v2/
35
34
  class ShoppingContentService < Google::Apis::Core::BaseService
36
35
  # @return [String]
37
36
  # API key. Your API key identifies your project and provides you with API access,
@@ -39,27 +38,21 @@ module Google
39
38
  attr_accessor :key
40
39
 
41
40
  # @return [String]
42
- # An opaque string that represents a user for quota purposes. Must not exceed 40
43
- # characters.
41
+ # Available to use for quota purposes for server-side applications. Can be any
42
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
44
43
  attr_accessor :quota_user
45
44
 
46
- # @return [String]
47
- # Deprecated. Please use quotaUser instead.
48
- attr_accessor :user_ip
49
-
50
45
  def initialize
51
- super('https://www.googleapis.com/', 'content/v2.1/')
52
- @batch_path = 'batch/content/v2.1'
46
+ super('https://shoppingcontent.googleapis.com/', '')
47
+ @batch_path = 'batch'
53
48
  end
54
49
 
55
50
  # Returns information about the authenticated user.
56
51
  # @param [String] fields
57
52
  # Selector specifying which fields to include in a partial response.
58
53
  # @param [String] quota_user
59
- # An opaque string that represents a user for quota purposes. Must not exceed 40
60
- # characters.
61
- # @param [String] user_ip
62
- # Deprecated. Please use quotaUser instead.
54
+ # Available to use for quota purposes for server-side applications. Can be any
55
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
63
56
  # @param [Google::Apis::RequestOptions] options
64
57
  # Request-specific options
65
58
  #
@@ -72,13 +65,12 @@ module Google
72
65
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
73
66
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74
67
  # @raise [Google::Apis::AuthorizationError] Authorization is required
75
- def authinfo_account(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
76
- command = make_simple_command(:get, 'accounts/authinfo', options)
68
+ def authinfo_account(fields: nil, quota_user: nil, options: nil, &block)
69
+ command = make_simple_command(:get, 'content/v2.1/accounts/authinfo', options)
77
70
  command.response_representation = Google::Apis::ContentV2_1::AccountsAuthInfoResponse::Representation
78
71
  command.response_class = Google::Apis::ContentV2_1::AccountsAuthInfoResponse
79
72
  command.query['fields'] = fields unless fields.nil?
80
73
  command.query['quotaUser'] = quota_user unless quota_user.nil?
81
- command.query['userIp'] = user_ip unless user_ip.nil?
82
74
  execute_or_queue_command(command, &block)
83
75
  end
84
76
 
@@ -96,10 +88,8 @@ module Google
96
88
  # @param [String] fields
97
89
  # Selector specifying which fields to include in a partial response.
98
90
  # @param [String] quota_user
99
- # An opaque string that represents a user for quota purposes. Must not exceed 40
100
- # characters.
101
- # @param [String] user_ip
102
- # Deprecated. Please use quotaUser instead.
91
+ # Available to use for quota purposes for server-side applications. Can be any
92
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
103
93
  # @param [Google::Apis::RequestOptions] options
104
94
  # Request-specific options
105
95
  #
@@ -112,8 +102,8 @@ module Google
112
102
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
113
103
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
114
104
  # @raise [Google::Apis::AuthorizationError] Authorization is required
115
- def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
116
- command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/claimwebsite', options)
105
+ def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, options: nil, &block)
106
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/accounts/{accountId}/claimwebsite', options)
117
107
  command.response_representation = Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse::Representation
118
108
  command.response_class = Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse
119
109
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -121,7 +111,6 @@ module Google
121
111
  command.query['overwrite'] = overwrite unless overwrite.nil?
122
112
  command.query['fields'] = fields unless fields.nil?
123
113
  command.query['quotaUser'] = quota_user unless quota_user.nil?
124
- command.query['userIp'] = user_ip unless user_ip.nil?
125
114
  execute_or_queue_command(command, &block)
126
115
  end
127
116
 
@@ -131,10 +120,8 @@ module Google
131
120
  # @param [String] fields
132
121
  # Selector specifying which fields to include in a partial response.
133
122
  # @param [String] quota_user
134
- # An opaque string that represents a user for quota purposes. Must not exceed 40
135
- # characters.
136
- # @param [String] user_ip
137
- # Deprecated. Please use quotaUser instead.
123
+ # Available to use for quota purposes for server-side applications. Can be any
124
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
138
125
  # @param [Google::Apis::RequestOptions] options
139
126
  # Request-specific options
140
127
  #
@@ -147,15 +134,14 @@ module Google
147
134
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
148
135
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
149
136
  # @raise [Google::Apis::AuthorizationError] Authorization is required
150
- def custombatch_account(accounts_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
151
- command = make_simple_command(:post, 'accounts/batch', options)
137
+ def custombatch_account(accounts_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
138
+ command = make_simple_command(:post, 'content/v2.1/accounts/batch', options)
152
139
  command.request_representation = Google::Apis::ContentV2_1::AccountsCustomBatchRequest::Representation
153
140
  command.request_object = accounts_custom_batch_request_object
154
141
  command.response_representation = Google::Apis::ContentV2_1::AccountsCustomBatchResponse::Representation
155
142
  command.response_class = Google::Apis::ContentV2_1::AccountsCustomBatchResponse
156
143
  command.query['fields'] = fields unless fields.nil?
157
144
  command.query['quotaUser'] = quota_user unless quota_user.nil?
158
- command.query['userIp'] = user_ip unless user_ip.nil?
159
145
  execute_or_queue_command(command, &block)
160
146
  end
161
147
 
@@ -170,10 +156,8 @@ module Google
170
156
  # @param [String] fields
171
157
  # Selector specifying which fields to include in a partial response.
172
158
  # @param [String] quota_user
173
- # An opaque string that represents a user for quota purposes. Must not exceed 40
174
- # characters.
175
- # @param [String] user_ip
176
- # Deprecated. Please use quotaUser instead.
159
+ # Available to use for quota purposes for server-side applications. Can be any
160
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
177
161
  # @param [Google::Apis::RequestOptions] options
178
162
  # Request-specific options
179
163
  #
@@ -186,14 +170,13 @@ module Google
186
170
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
187
171
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
188
172
  # @raise [Google::Apis::AuthorizationError] Authorization is required
189
- def delete_account(merchant_id, account_id, force: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
190
- command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options)
173
+ def delete_account(merchant_id, account_id, force: nil, fields: nil, quota_user: nil, options: nil, &block)
174
+ command = make_simple_command(:delete, 'content/v2.1/{merchantId}/accounts/{accountId}', options)
191
175
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
192
176
  command.params['accountId'] = account_id unless account_id.nil?
193
177
  command.query['force'] = force unless force.nil?
194
178
  command.query['fields'] = fields unless fields.nil?
195
179
  command.query['quotaUser'] = quota_user unless quota_user.nil?
196
- command.query['userIp'] = user_ip unless user_ip.nil?
197
180
  execute_or_queue_command(command, &block)
198
181
  end
199
182
 
@@ -210,10 +193,8 @@ module Google
210
193
  # @param [String] fields
211
194
  # Selector specifying which fields to include in a partial response.
212
195
  # @param [String] quota_user
213
- # An opaque string that represents a user for quota purposes. Must not exceed 40
214
- # characters.
215
- # @param [String] user_ip
216
- # Deprecated. Please use quotaUser instead.
196
+ # Available to use for quota purposes for server-side applications. Can be any
197
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
217
198
  # @param [Google::Apis::RequestOptions] options
218
199
  # Request-specific options
219
200
  #
@@ -226,8 +207,8 @@ module Google
226
207
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
227
208
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
228
209
  # @raise [Google::Apis::AuthorizationError] Authorization is required
229
- def get_account(merchant_id, account_id, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
230
- command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options)
210
+ def get_account(merchant_id, account_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
211
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/accounts/{accountId}', options)
231
212
  command.response_representation = Google::Apis::ContentV2_1::Account::Representation
232
213
  command.response_class = Google::Apis::ContentV2_1::Account
233
214
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -235,7 +216,6 @@ module Google
235
216
  command.query['view'] = view unless view.nil?
236
217
  command.query['fields'] = fields unless fields.nil?
237
218
  command.query['quotaUser'] = quota_user unless quota_user.nil?
238
- command.query['userIp'] = user_ip unless user_ip.nil?
239
219
  execute_or_queue_command(command, &block)
240
220
  end
241
221
 
@@ -246,10 +226,8 @@ module Google
246
226
  # @param [String] fields
247
227
  # Selector specifying which fields to include in a partial response.
248
228
  # @param [String] quota_user
249
- # An opaque string that represents a user for quota purposes. Must not exceed 40
250
- # characters.
251
- # @param [String] user_ip
252
- # Deprecated. Please use quotaUser instead.
229
+ # Available to use for quota purposes for server-side applications. Can be any
230
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
253
231
  # @param [Google::Apis::RequestOptions] options
254
232
  # Request-specific options
255
233
  #
@@ -262,8 +240,8 @@ module Google
262
240
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
263
241
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
264
242
  # @raise [Google::Apis::AuthorizationError] Authorization is required
265
- def insert_account(merchant_id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
266
- command = make_simple_command(:post, '{merchantId}/accounts', options)
243
+ def insert_account(merchant_id, account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
244
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/accounts', options)
267
245
  command.request_representation = Google::Apis::ContentV2_1::Account::Representation
268
246
  command.request_object = account_object
269
247
  command.response_representation = Google::Apis::ContentV2_1::Account::Representation
@@ -271,7 +249,6 @@ module Google
271
249
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
272
250
  command.query['fields'] = fields unless fields.nil?
273
251
  command.query['quotaUser'] = quota_user unless quota_user.nil?
274
- command.query['userIp'] = user_ip unless user_ip.nil?
275
252
  execute_or_queue_command(command, &block)
276
253
  end
277
254
 
@@ -287,10 +264,8 @@ module Google
287
264
  # @param [String] fields
288
265
  # Selector specifying which fields to include in a partial response.
289
266
  # @param [String] quota_user
290
- # An opaque string that represents a user for quota purposes. Must not exceed 40
291
- # characters.
292
- # @param [String] user_ip
293
- # Deprecated. Please use quotaUser instead.
267
+ # Available to use for quota purposes for server-side applications. Can be any
268
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
294
269
  # @param [Google::Apis::RequestOptions] options
295
270
  # Request-specific options
296
271
  #
@@ -303,8 +278,8 @@ module Google
303
278
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
304
279
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
305
280
  # @raise [Google::Apis::AuthorizationError] Authorization is required
306
- def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
307
- command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
281
+ def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
282
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/accounts/{accountId}/link', options)
308
283
  command.request_representation = Google::Apis::ContentV2_1::AccountsLinkRequest::Representation
309
284
  command.request_object = accounts_link_request_object
310
285
  command.response_representation = Google::Apis::ContentV2_1::AccountsLinkResponse::Representation
@@ -313,7 +288,6 @@ module Google
313
288
  command.params['accountId'] = account_id unless account_id.nil?
314
289
  command.query['fields'] = fields unless fields.nil?
315
290
  command.query['quotaUser'] = quota_user unless quota_user.nil?
316
- command.query['userIp'] = user_ip unless user_ip.nil?
317
291
  execute_or_queue_command(command, &block)
318
292
  end
319
293
 
@@ -333,10 +307,8 @@ module Google
333
307
  # @param [String] fields
334
308
  # Selector specifying which fields to include in a partial response.
335
309
  # @param [String] quota_user
336
- # An opaque string that represents a user for quota purposes. Must not exceed 40
337
- # characters.
338
- # @param [String] user_ip
339
- # Deprecated. Please use quotaUser instead.
310
+ # Available to use for quota purposes for server-side applications. Can be any
311
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
340
312
  # @param [Google::Apis::RequestOptions] options
341
313
  # Request-specific options
342
314
  #
@@ -349,8 +321,8 @@ module Google
349
321
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
350
322
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
351
323
  # @raise [Google::Apis::AuthorizationError] Authorization is required
352
- def list_accounts(merchant_id, label: nil, max_results: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
353
- command = make_simple_command(:get, '{merchantId}/accounts', options)
324
+ def list_accounts(merchant_id, label: nil, max_results: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
325
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/accounts', options)
354
326
  command.response_representation = Google::Apis::ContentV2_1::AccountsListResponse::Representation
355
327
  command.response_class = Google::Apis::ContentV2_1::AccountsListResponse
356
328
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -360,7 +332,6 @@ module Google
360
332
  command.query['view'] = view unless view.nil?
361
333
  command.query['fields'] = fields unless fields.nil?
362
334
  command.query['quotaUser'] = quota_user unless quota_user.nil?
363
- command.query['userIp'] = user_ip unless user_ip.nil?
364
335
  execute_or_queue_command(command, &block)
365
336
  end
366
337
 
@@ -378,10 +349,8 @@ module Google
378
349
  # @param [String] fields
379
350
  # Selector specifying which fields to include in a partial response.
380
351
  # @param [String] quota_user
381
- # An opaque string that represents a user for quota purposes. Must not exceed 40
382
- # characters.
383
- # @param [String] user_ip
384
- # Deprecated. Please use quotaUser instead.
352
+ # Available to use for quota purposes for server-side applications. Can be any
353
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
385
354
  # @param [Google::Apis::RequestOptions] options
386
355
  # Request-specific options
387
356
  #
@@ -394,8 +363,8 @@ module Google
394
363
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
395
364
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
396
365
  # @raise [Google::Apis::AuthorizationError] Authorization is required
397
- def listlinks_account(merchant_id, account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
398
- command = make_simple_command(:get, '{merchantId}/accounts/{accountId}/listlinks', options)
366
+ def listlinks_account(merchant_id, account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
367
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/accounts/{accountId}/listlinks', options)
399
368
  command.response_representation = Google::Apis::ContentV2_1::AccountsListLinksResponse::Representation
400
369
  command.response_class = Google::Apis::ContentV2_1::AccountsListLinksResponse
401
370
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -404,7 +373,6 @@ module Google
404
373
  command.query['pageToken'] = page_token unless page_token.nil?
405
374
  command.query['fields'] = fields unless fields.nil?
406
375
  command.query['quotaUser'] = quota_user unless quota_user.nil?
407
- command.query['userIp'] = user_ip unless user_ip.nil?
408
376
  execute_or_queue_command(command, &block)
409
377
  end
410
378
 
@@ -420,10 +388,8 @@ module Google
420
388
  # @param [String] fields
421
389
  # Selector specifying which fields to include in a partial response.
422
390
  # @param [String] quota_user
423
- # An opaque string that represents a user for quota purposes. Must not exceed 40
424
- # characters.
425
- # @param [String] user_ip
426
- # Deprecated. Please use quotaUser instead.
391
+ # Available to use for quota purposes for server-side applications. Can be any
392
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
427
393
  # @param [Google::Apis::RequestOptions] options
428
394
  # Request-specific options
429
395
  #
@@ -436,8 +402,8 @@ module Google
436
402
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
437
403
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
438
404
  # @raise [Google::Apis::AuthorizationError] Authorization is required
439
- def update_account(merchant_id, account_id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
440
- command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options)
405
+ def update_account(merchant_id, account_id, account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
406
+ command = make_simple_command(:put, 'content/v2.1/{merchantId}/accounts/{accountId}', options)
441
407
  command.request_representation = Google::Apis::ContentV2_1::Account::Representation
442
408
  command.request_object = account_object
443
409
  command.response_representation = Google::Apis::ContentV2_1::Account::Representation
@@ -446,7 +412,6 @@ module Google
446
412
  command.params['accountId'] = account_id unless account_id.nil?
447
413
  command.query['fields'] = fields unless fields.nil?
448
414
  command.query['quotaUser'] = quota_user unless quota_user.nil?
449
- command.query['userIp'] = user_ip unless user_ip.nil?
450
415
  execute_or_queue_command(command, &block)
451
416
  end
452
417
 
@@ -459,10 +424,8 @@ module Google
459
424
  # @param [String] fields
460
425
  # Selector specifying which fields to include in a partial response.
461
426
  # @param [String] quota_user
462
- # An opaque string that represents a user for quota purposes. Must not exceed 40
463
- # characters.
464
- # @param [String] user_ip
465
- # Deprecated. Please use quotaUser instead.
427
+ # Available to use for quota purposes for server-side applications. Can be any
428
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
466
429
  # @param [Google::Apis::RequestOptions] options
467
430
  # Request-specific options
468
431
  #
@@ -475,8 +438,8 @@ module Google
475
438
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
476
439
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
477
440
  # @raise [Google::Apis::AuthorizationError] Authorization is required
478
- def updatelabels_account(merchant_id, account_id, accounts_update_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
479
- command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/updatelabels', options)
441
+ def updatelabels_account(merchant_id, account_id, accounts_update_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
442
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/accounts/{accountId}/updatelabels', options)
480
443
  command.request_representation = Google::Apis::ContentV2_1::AccountsUpdateLabelsRequest::Representation
481
444
  command.request_object = accounts_update_labels_request_object
482
445
  command.response_representation = Google::Apis::ContentV2_1::AccountsUpdateLabelsResponse::Representation
@@ -485,7 +448,147 @@ module Google
485
448
  command.params['accountId'] = account_id unless account_id.nil?
486
449
  command.query['fields'] = fields unless fields.nil?
487
450
  command.query['quotaUser'] = quota_user unless quota_user.nil?
488
- command.query['userIp'] = user_ip unless user_ip.nil?
451
+ execute_or_queue_command(command, &block)
452
+ end
453
+
454
+ # Creates a new label, not assigned to any account.
455
+ # @param [Fixnum] account_id
456
+ # Required. The id of the account this label belongs to.
457
+ # @param [Google::Apis::ContentV2_1::AccountLabel] account_label_object
458
+ # @param [String] fields
459
+ # Selector specifying which fields to include in a partial response.
460
+ # @param [String] quota_user
461
+ # Available to use for quota purposes for server-side applications. Can be any
462
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
463
+ # @param [Google::Apis::RequestOptions] options
464
+ # Request-specific options
465
+ #
466
+ # @yield [result, err] Result & error if block supplied
467
+ # @yieldparam result [Google::Apis::ContentV2_1::AccountLabel] parsed result object
468
+ # @yieldparam err [StandardError] error object if request failed
469
+ #
470
+ # @return [Google::Apis::ContentV2_1::AccountLabel]
471
+ #
472
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
473
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
474
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
475
+ def create_account_label(account_id, account_label_object = nil, fields: nil, quota_user: nil, options: nil, &block)
476
+ command = make_simple_command(:post, 'content/v2.1/accounts/{accountId}/labels', options)
477
+ command.request_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
478
+ command.request_object = account_label_object
479
+ command.response_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
480
+ command.response_class = Google::Apis::ContentV2_1::AccountLabel
481
+ command.params['accountId'] = account_id unless account_id.nil?
482
+ command.query['fields'] = fields unless fields.nil?
483
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
484
+ execute_or_queue_command(command, &block)
485
+ end
486
+
487
+ # Deletes a label and removes it from all accounts to which it was assigned.
488
+ # @param [Fixnum] account_id
489
+ # Required. The id of the account that owns the label.
490
+ # @param [Fixnum] label_id
491
+ # Required. The id of the label to delete.
492
+ # @param [String] fields
493
+ # Selector specifying which fields to include in a partial response.
494
+ # @param [String] quota_user
495
+ # Available to use for quota purposes for server-side applications. Can be any
496
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
497
+ # @param [Google::Apis::RequestOptions] options
498
+ # Request-specific options
499
+ #
500
+ # @yield [result, err] Result & error if block supplied
501
+ # @yieldparam result [NilClass] No result returned for this method
502
+ # @yieldparam err [StandardError] error object if request failed
503
+ #
504
+ # @return [void]
505
+ #
506
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
507
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
508
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
509
+ def delete_account_label(account_id, label_id, fields: nil, quota_user: nil, options: nil, &block)
510
+ command = make_simple_command(:delete, 'content/v2.1/accounts/{accountId}/labels/{labelId}', options)
511
+ command.params['accountId'] = account_id unless account_id.nil?
512
+ command.params['labelId'] = label_id unless label_id.nil?
513
+ command.query['fields'] = fields unless fields.nil?
514
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
515
+ execute_or_queue_command(command, &block)
516
+ end
517
+
518
+ # Lists the labels assigned to an account.
519
+ # @param [Fixnum] account_id
520
+ # Required. The account id for whose labels are to be listed.
521
+ # @param [Fixnum] page_size
522
+ # The maximum number of labels to return. The service may return fewer than this
523
+ # value. If unspecified, at most 50 labels will be returned. The maximum value
524
+ # is 1000; values above 1000 will be coerced to 1000.
525
+ # @param [String] page_token
526
+ # A page token, received from a previous `ListAccountLabels` call. Provide this
527
+ # to retrieve the subsequent page. When paginating, all other parameters
528
+ # provided to `ListAccountLabels` must match the call that provided the page
529
+ # token.
530
+ # @param [String] fields
531
+ # Selector specifying which fields to include in a partial response.
532
+ # @param [String] quota_user
533
+ # Available to use for quota purposes for server-side applications. Can be any
534
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
535
+ # @param [Google::Apis::RequestOptions] options
536
+ # Request-specific options
537
+ #
538
+ # @yield [result, err] Result & error if block supplied
539
+ # @yieldparam result [Google::Apis::ContentV2_1::ListAccountLabelsResponse] parsed result object
540
+ # @yieldparam err [StandardError] error object if request failed
541
+ #
542
+ # @return [Google::Apis::ContentV2_1::ListAccountLabelsResponse]
543
+ #
544
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
545
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
546
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
547
+ def list_account_labels(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
548
+ command = make_simple_command(:get, 'content/v2.1/accounts/{accountId}/labels', options)
549
+ command.response_representation = Google::Apis::ContentV2_1::ListAccountLabelsResponse::Representation
550
+ command.response_class = Google::Apis::ContentV2_1::ListAccountLabelsResponse
551
+ command.params['accountId'] = account_id unless account_id.nil?
552
+ command.query['pageSize'] = page_size unless page_size.nil?
553
+ command.query['pageToken'] = page_token unless page_token.nil?
554
+ command.query['fields'] = fields unless fields.nil?
555
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
556
+ execute_or_queue_command(command, &block)
557
+ end
558
+
559
+ # Updates a label.
560
+ # @param [Fixnum] account_id
561
+ # Required. The id of the account this label belongs to.
562
+ # @param [Fixnum] label_id
563
+ # Required. The id of the label to update.
564
+ # @param [Google::Apis::ContentV2_1::AccountLabel] account_label_object
565
+ # @param [String] fields
566
+ # Selector specifying which fields to include in a partial response.
567
+ # @param [String] quota_user
568
+ # Available to use for quota purposes for server-side applications. Can be any
569
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
570
+ # @param [Google::Apis::RequestOptions] options
571
+ # Request-specific options
572
+ #
573
+ # @yield [result, err] Result & error if block supplied
574
+ # @yieldparam result [Google::Apis::ContentV2_1::AccountLabel] parsed result object
575
+ # @yieldparam err [StandardError] error object if request failed
576
+ #
577
+ # @return [Google::Apis::ContentV2_1::AccountLabel]
578
+ #
579
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
580
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
581
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
582
+ def patch_account_label(account_id, label_id, account_label_object = nil, fields: nil, quota_user: nil, options: nil, &block)
583
+ command = make_simple_command(:patch, 'content/v2.1/accounts/{accountId}/labels/{labelId}', options)
584
+ command.request_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
585
+ command.request_object = account_label_object
586
+ command.response_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
587
+ command.response_class = Google::Apis::ContentV2_1::AccountLabel
588
+ command.params['accountId'] = account_id unless account_id.nil?
589
+ command.params['labelId'] = label_id unless label_id.nil?
590
+ command.query['fields'] = fields unless fields.nil?
591
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
489
592
  execute_or_queue_command(command, &block)
490
593
  end
491
594
 
@@ -494,10 +597,8 @@ module Google
494
597
  # @param [String] fields
495
598
  # Selector specifying which fields to include in a partial response.
496
599
  # @param [String] quota_user
497
- # An opaque string that represents a user for quota purposes. Must not exceed 40
498
- # characters.
499
- # @param [String] user_ip
500
- # Deprecated. Please use quotaUser instead.
600
+ # Available to use for quota purposes for server-side applications. Can be any
601
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
501
602
  # @param [Google::Apis::RequestOptions] options
502
603
  # Request-specific options
503
604
  #
@@ -510,15 +611,14 @@ module Google
510
611
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
511
612
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
512
613
  # @raise [Google::Apis::AuthorizationError] Authorization is required
513
- def custombatch_accountstatus(accountstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
514
- command = make_simple_command(:post, 'accountstatuses/batch', options)
614
+ def custombatch_accountstatus(accountstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
615
+ command = make_simple_command(:post, 'content/v2.1/accountstatuses/batch', options)
515
616
  command.request_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchRequest::Representation
516
617
  command.request_object = accountstatuses_custom_batch_request_object
517
618
  command.response_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponse::Representation
518
619
  command.response_class = Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponse
519
620
  command.query['fields'] = fields unless fields.nil?
520
621
  command.query['quotaUser'] = quota_user unless quota_user.nil?
521
- command.query['userIp'] = user_ip unless user_ip.nil?
522
622
  execute_or_queue_command(command, &block)
523
623
  end
524
624
 
@@ -536,10 +636,8 @@ module Google
536
636
  # @param [String] fields
537
637
  # Selector specifying which fields to include in a partial response.
538
638
  # @param [String] quota_user
539
- # An opaque string that represents a user for quota purposes. Must not exceed 40
540
- # characters.
541
- # @param [String] user_ip
542
- # Deprecated. Please use quotaUser instead.
639
+ # Available to use for quota purposes for server-side applications. Can be any
640
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
543
641
  # @param [Google::Apis::RequestOptions] options
544
642
  # Request-specific options
545
643
  #
@@ -552,8 +650,8 @@ module Google
552
650
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
553
651
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
554
652
  # @raise [Google::Apis::AuthorizationError] Authorization is required
555
- def get_accountstatus(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
556
- command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
653
+ def get_accountstatus(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block)
654
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/accountstatuses/{accountId}', options)
557
655
  command.response_representation = Google::Apis::ContentV2_1::AccountStatus::Representation
558
656
  command.response_class = Google::Apis::ContentV2_1::AccountStatus
559
657
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -561,7 +659,6 @@ module Google
561
659
  command.query['destinations'] = destinations unless destinations.nil?
562
660
  command.query['fields'] = fields unless fields.nil?
563
661
  command.query['quotaUser'] = quota_user unless quota_user.nil?
564
- command.query['userIp'] = user_ip unless user_ip.nil?
565
662
  execute_or_queue_command(command, &block)
566
663
  end
567
664
 
@@ -579,10 +676,8 @@ module Google
579
676
  # @param [String] fields
580
677
  # Selector specifying which fields to include in a partial response.
581
678
  # @param [String] quota_user
582
- # An opaque string that represents a user for quota purposes. Must not exceed 40
583
- # characters.
584
- # @param [String] user_ip
585
- # Deprecated. Please use quotaUser instead.
679
+ # Available to use for quota purposes for server-side applications. Can be any
680
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
586
681
  # @param [Google::Apis::RequestOptions] options
587
682
  # Request-specific options
588
683
  #
@@ -595,8 +690,8 @@ module Google
595
690
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
596
691
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
597
692
  # @raise [Google::Apis::AuthorizationError] Authorization is required
598
- def list_accountstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
599
- command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
693
+ def list_accountstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
694
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/accountstatuses', options)
600
695
  command.response_representation = Google::Apis::ContentV2_1::AccountstatusesListResponse::Representation
601
696
  command.response_class = Google::Apis::ContentV2_1::AccountstatusesListResponse
602
697
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -605,7 +700,6 @@ module Google
605
700
  command.query['pageToken'] = page_token unless page_token.nil?
606
701
  command.query['fields'] = fields unless fields.nil?
607
702
  command.query['quotaUser'] = quota_user unless quota_user.nil?
608
- command.query['userIp'] = user_ip unless user_ip.nil?
609
703
  execute_or_queue_command(command, &block)
610
704
  end
611
705
 
@@ -614,10 +708,8 @@ module Google
614
708
  # @param [String] fields
615
709
  # Selector specifying which fields to include in a partial response.
616
710
  # @param [String] quota_user
617
- # An opaque string that represents a user for quota purposes. Must not exceed 40
618
- # characters.
619
- # @param [String] user_ip
620
- # Deprecated. Please use quotaUser instead.
711
+ # Available to use for quota purposes for server-side applications. Can be any
712
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
621
713
  # @param [Google::Apis::RequestOptions] options
622
714
  # Request-specific options
623
715
  #
@@ -630,15 +722,14 @@ module Google
630
722
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
631
723
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
632
724
  # @raise [Google::Apis::AuthorizationError] Authorization is required
633
- def custombatch_accounttax(accounttax_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
634
- command = make_simple_command(:post, 'accounttax/batch', options)
725
+ def custombatch_accounttax(accounttax_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
726
+ command = make_simple_command(:post, 'content/v2.1/accounttax/batch', options)
635
727
  command.request_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchRequest::Representation
636
728
  command.request_object = accounttax_custom_batch_request_object
637
729
  command.response_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchResponse::Representation
638
730
  command.response_class = Google::Apis::ContentV2_1::AccounttaxCustomBatchResponse
639
731
  command.query['fields'] = fields unless fields.nil?
640
732
  command.query['quotaUser'] = quota_user unless quota_user.nil?
641
- command.query['userIp'] = user_ip unless user_ip.nil?
642
733
  execute_or_queue_command(command, &block)
643
734
  end
644
735
 
@@ -652,10 +743,8 @@ module Google
652
743
  # @param [String] fields
653
744
  # Selector specifying which fields to include in a partial response.
654
745
  # @param [String] quota_user
655
- # An opaque string that represents a user for quota purposes. Must not exceed 40
656
- # characters.
657
- # @param [String] user_ip
658
- # Deprecated. Please use quotaUser instead.
746
+ # Available to use for quota purposes for server-side applications. Can be any
747
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
659
748
  # @param [Google::Apis::RequestOptions] options
660
749
  # Request-specific options
661
750
  #
@@ -668,15 +757,14 @@ module Google
668
757
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
669
758
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
670
759
  # @raise [Google::Apis::AuthorizationError] Authorization is required
671
- def get_accounttax(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
672
- command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
760
+ def get_accounttax(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
761
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/accounttax/{accountId}', options)
673
762
  command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation
674
763
  command.response_class = Google::Apis::ContentV2_1::AccountTax
675
764
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
676
765
  command.params['accountId'] = account_id unless account_id.nil?
677
766
  command.query['fields'] = fields unless fields.nil?
678
767
  command.query['quotaUser'] = quota_user unless quota_user.nil?
679
- command.query['userIp'] = user_ip unless user_ip.nil?
680
768
  execute_or_queue_command(command, &block)
681
769
  end
682
770
 
@@ -690,10 +778,8 @@ module Google
690
778
  # @param [String] fields
691
779
  # Selector specifying which fields to include in a partial response.
692
780
  # @param [String] quota_user
693
- # An opaque string that represents a user for quota purposes. Must not exceed 40
694
- # characters.
695
- # @param [String] user_ip
696
- # Deprecated. Please use quotaUser instead.
781
+ # Available to use for quota purposes for server-side applications. Can be any
782
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
697
783
  # @param [Google::Apis::RequestOptions] options
698
784
  # Request-specific options
699
785
  #
@@ -706,8 +792,8 @@ module Google
706
792
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
707
793
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
708
794
  # @raise [Google::Apis::AuthorizationError] Authorization is required
709
- def list_accounttaxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
710
- command = make_simple_command(:get, '{merchantId}/accounttax', options)
795
+ def list_accounttaxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
796
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/accounttax', options)
711
797
  command.response_representation = Google::Apis::ContentV2_1::AccounttaxListResponse::Representation
712
798
  command.response_class = Google::Apis::ContentV2_1::AccounttaxListResponse
713
799
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -715,7 +801,6 @@ module Google
715
801
  command.query['pageToken'] = page_token unless page_token.nil?
716
802
  command.query['fields'] = fields unless fields.nil?
717
803
  command.query['quotaUser'] = quota_user unless quota_user.nil?
718
- command.query['userIp'] = user_ip unless user_ip.nil?
719
804
  execute_or_queue_command(command, &block)
720
805
  end
721
806
 
@@ -731,10 +816,8 @@ module Google
731
816
  # @param [String] fields
732
817
  # Selector specifying which fields to include in a partial response.
733
818
  # @param [String] quota_user
734
- # An opaque string that represents a user for quota purposes. Must not exceed 40
735
- # characters.
736
- # @param [String] user_ip
737
- # Deprecated. Please use quotaUser instead.
819
+ # Available to use for quota purposes for server-side applications. Can be any
820
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
738
821
  # @param [Google::Apis::RequestOptions] options
739
822
  # Request-specific options
740
823
  #
@@ -747,8 +830,8 @@ module Google
747
830
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
748
831
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
749
832
  # @raise [Google::Apis::AuthorizationError] Authorization is required
750
- def update_accounttax(merchant_id, account_id, account_tax_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
751
- command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
833
+ def update_accounttax(merchant_id, account_id, account_tax_object = nil, fields: nil, quota_user: nil, options: nil, &block)
834
+ command = make_simple_command(:put, 'content/v2.1/{merchantId}/accounttax/{accountId}', options)
752
835
  command.request_representation = Google::Apis::ContentV2_1::AccountTax::Representation
753
836
  command.request_object = account_tax_object
754
837
  command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation
@@ -757,7 +840,117 @@ module Google
757
840
  command.params['accountId'] = account_id unless account_id.nil?
758
841
  command.query['fields'] = fields unless fields.nil?
759
842
  command.query['quotaUser'] = quota_user unless quota_user.nil?
760
- command.query['userIp'] = user_ip unless user_ip.nil?
843
+ execute_or_queue_command(command, &block)
844
+ end
845
+
846
+ # Retrieves a single CSS domain by ID.
847
+ # @param [Fixnum] css_group_id
848
+ # Required. The ID of the managing account. If this parameter is not the same as
849
+ # [cssDomainId](#cssDomainId), then this ID must be a CSS group ID and `
850
+ # cssDomainId` must be the ID of a CSS domain affiliated with this group.
851
+ # @param [Fixnum] css_domain_id
852
+ # Required. The ID of the CSS domain to return.
853
+ # @param [String] fields
854
+ # Selector specifying which fields to include in a partial response.
855
+ # @param [String] quota_user
856
+ # Available to use for quota purposes for server-side applications. Can be any
857
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
858
+ # @param [Google::Apis::RequestOptions] options
859
+ # Request-specific options
860
+ #
861
+ # @yield [result, err] Result & error if block supplied
862
+ # @yieldparam result [Google::Apis::ContentV2_1::Css] parsed result object
863
+ # @yieldparam err [StandardError] error object if request failed
864
+ #
865
+ # @return [Google::Apis::ContentV2_1::Css]
866
+ #
867
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
868
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
869
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
870
+ def get_css(css_group_id, css_domain_id, fields: nil, quota_user: nil, options: nil, &block)
871
+ command = make_simple_command(:get, 'content/v2.1/{cssGroupId}/csses/{cssDomainId}', options)
872
+ command.response_representation = Google::Apis::ContentV2_1::Css::Representation
873
+ command.response_class = Google::Apis::ContentV2_1::Css
874
+ command.params['cssGroupId'] = css_group_id unless css_group_id.nil?
875
+ command.params['cssDomainId'] = css_domain_id unless css_domain_id.nil?
876
+ command.query['fields'] = fields unless fields.nil?
877
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
878
+ execute_or_queue_command(command, &block)
879
+ end
880
+
881
+ # Lists CSS domains affiliated with a CSS group.
882
+ # @param [Fixnum] css_group_id
883
+ # Required. The CSS group ID of CSS domains to be listed.
884
+ # @param [Fixnum] page_size
885
+ # The maximum number of CSS domains to return. The service may return fewer than
886
+ # this value. If unspecified, at most 50 CSS domains will be returned. The
887
+ # maximum value is 1000; values above 1000 will be coerced to 1000.
888
+ # @param [String] page_token
889
+ # A page token, received from a previous `ListCsses` call. Provide this to
890
+ # retrieve the subsequent page. When paginating, all other parameters provided
891
+ # to `ListCsses` must match the call that provided the page token.
892
+ # @param [String] fields
893
+ # Selector specifying which fields to include in a partial response.
894
+ # @param [String] quota_user
895
+ # Available to use for quota purposes for server-side applications. Can be any
896
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
897
+ # @param [Google::Apis::RequestOptions] options
898
+ # Request-specific options
899
+ #
900
+ # @yield [result, err] Result & error if block supplied
901
+ # @yieldparam result [Google::Apis::ContentV2_1::ListCssesResponse] parsed result object
902
+ # @yieldparam err [StandardError] error object if request failed
903
+ #
904
+ # @return [Google::Apis::ContentV2_1::ListCssesResponse]
905
+ #
906
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
907
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
908
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
909
+ def list_csses(css_group_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
910
+ command = make_simple_command(:get, 'content/v2.1/{cssGroupId}/csses', options)
911
+ command.response_representation = Google::Apis::ContentV2_1::ListCssesResponse::Representation
912
+ command.response_class = Google::Apis::ContentV2_1::ListCssesResponse
913
+ command.params['cssGroupId'] = css_group_id unless css_group_id.nil?
914
+ command.query['pageSize'] = page_size unless page_size.nil?
915
+ command.query['pageToken'] = page_token unless page_token.nil?
916
+ command.query['fields'] = fields unless fields.nil?
917
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
918
+ execute_or_queue_command(command, &block)
919
+ end
920
+
921
+ # Updates labels that are assigned to a CSS domain by its CSS group.
922
+ # @param [Fixnum] css_group_id
923
+ # Required. The CSS group ID of the updated CSS domain.
924
+ # @param [Fixnum] css_domain_id
925
+ # Required. The ID of the updated CSS domain.
926
+ # @param [Google::Apis::ContentV2_1::LabelIds] label_ids_object
927
+ # @param [String] fields
928
+ # Selector specifying which fields to include in a partial response.
929
+ # @param [String] quota_user
930
+ # Available to use for quota purposes for server-side applications. Can be any
931
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
932
+ # @param [Google::Apis::RequestOptions] options
933
+ # Request-specific options
934
+ #
935
+ # @yield [result, err] Result & error if block supplied
936
+ # @yieldparam result [Google::Apis::ContentV2_1::Css] parsed result object
937
+ # @yieldparam err [StandardError] error object if request failed
938
+ #
939
+ # @return [Google::Apis::ContentV2_1::Css]
940
+ #
941
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
942
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
943
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
944
+ def updatelabels_css(css_group_id, css_domain_id, label_ids_object = nil, fields: nil, quota_user: nil, options: nil, &block)
945
+ command = make_simple_command(:post, 'content/v2.1/{cssGroupId}/csses/{cssDomainId}/updatelabels', options)
946
+ command.request_representation = Google::Apis::ContentV2_1::LabelIds::Representation
947
+ command.request_object = label_ids_object
948
+ command.response_representation = Google::Apis::ContentV2_1::Css::Representation
949
+ command.response_class = Google::Apis::ContentV2_1::Css
950
+ command.params['cssGroupId'] = css_group_id unless css_group_id.nil?
951
+ command.params['cssDomainId'] = css_domain_id unless css_domain_id.nil?
952
+ command.query['fields'] = fields unless fields.nil?
953
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
761
954
  execute_or_queue_command(command, &block)
762
955
  end
763
956
 
@@ -767,10 +960,8 @@ module Google
767
960
  # @param [String] fields
768
961
  # Selector specifying which fields to include in a partial response.
769
962
  # @param [String] quota_user
770
- # An opaque string that represents a user for quota purposes. Must not exceed 40
771
- # characters.
772
- # @param [String] user_ip
773
- # Deprecated. Please use quotaUser instead.
963
+ # Available to use for quota purposes for server-side applications. Can be any
964
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
774
965
  # @param [Google::Apis::RequestOptions] options
775
966
  # Request-specific options
776
967
  #
@@ -783,15 +974,14 @@ module Google
783
974
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
784
975
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
785
976
  # @raise [Google::Apis::AuthorizationError] Authorization is required
786
- def custombatch_datafeed(datafeeds_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
787
- command = make_simple_command(:post, 'datafeeds/batch', options)
977
+ def custombatch_datafeed(datafeeds_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
978
+ command = make_simple_command(:post, 'content/v2.1/datafeeds/batch', options)
788
979
  command.request_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchRequest::Representation
789
980
  command.request_object = datafeeds_custom_batch_request_object
790
981
  command.response_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse::Representation
791
982
  command.response_class = Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse
792
983
  command.query['fields'] = fields unless fields.nil?
793
984
  command.query['quotaUser'] = quota_user unless quota_user.nil?
794
- command.query['userIp'] = user_ip unless user_ip.nil?
795
985
  execute_or_queue_command(command, &block)
796
986
  end
797
987
 
@@ -804,10 +994,8 @@ module Google
804
994
  # @param [String] fields
805
995
  # Selector specifying which fields to include in a partial response.
806
996
  # @param [String] quota_user
807
- # An opaque string that represents a user for quota purposes. Must not exceed 40
808
- # characters.
809
- # @param [String] user_ip
810
- # Deprecated. Please use quotaUser instead.
997
+ # Available to use for quota purposes for server-side applications. Can be any
998
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
811
999
  # @param [Google::Apis::RequestOptions] options
812
1000
  # Request-specific options
813
1001
  #
@@ -820,17 +1008,18 @@ module Google
820
1008
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
821
1009
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
822
1010
  # @raise [Google::Apis::AuthorizationError] Authorization is required
823
- def delete_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
824
- command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
1011
+ def delete_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
1012
+ command = make_simple_command(:delete, 'content/v2.1/{merchantId}/datafeeds/{datafeedId}', options)
825
1013
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
826
1014
  command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
827
1015
  command.query['fields'] = fields unless fields.nil?
828
1016
  command.query['quotaUser'] = quota_user unless quota_user.nil?
829
- command.query['userIp'] = user_ip unless user_ip.nil?
830
1017
  execute_or_queue_command(command, &block)
831
1018
  end
832
1019
 
833
- # Invokes a fetch for the datafeed in your Merchant Center account.
1020
+ # Invokes a fetch for the datafeed in your Merchant Center account. If you need
1021
+ # to call this method more than once per day, we recommend you use the Products
1022
+ # service to update your product data.
834
1023
  # @param [Fixnum] merchant_id
835
1024
  # The ID of the account that manages the datafeed. This account cannot be a
836
1025
  # multi-client account.
@@ -839,10 +1028,8 @@ module Google
839
1028
  # @param [String] fields
840
1029
  # Selector specifying which fields to include in a partial response.
841
1030
  # @param [String] quota_user
842
- # An opaque string that represents a user for quota purposes. Must not exceed 40
843
- # characters.
844
- # @param [String] user_ip
845
- # Deprecated. Please use quotaUser instead.
1031
+ # Available to use for quota purposes for server-side applications. Can be any
1032
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
846
1033
  # @param [Google::Apis::RequestOptions] options
847
1034
  # Request-specific options
848
1035
  #
@@ -855,15 +1042,14 @@ module Google
855
1042
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
856
1043
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
857
1044
  # @raise [Google::Apis::AuthorizationError] Authorization is required
858
- def fetchnow_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
859
- command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
1045
+ def fetchnow_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
1046
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
860
1047
  command.response_representation = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse::Representation
861
1048
  command.response_class = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse
862
1049
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
863
1050
  command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
864
1051
  command.query['fields'] = fields unless fields.nil?
865
1052
  command.query['quotaUser'] = quota_user unless quota_user.nil?
866
- command.query['userIp'] = user_ip unless user_ip.nil?
867
1053
  execute_or_queue_command(command, &block)
868
1054
  end
869
1055
 
@@ -876,10 +1062,8 @@ module Google
876
1062
  # @param [String] fields
877
1063
  # Selector specifying which fields to include in a partial response.
878
1064
  # @param [String] quota_user
879
- # An opaque string that represents a user for quota purposes. Must not exceed 40
880
- # characters.
881
- # @param [String] user_ip
882
- # Deprecated. Please use quotaUser instead.
1065
+ # Available to use for quota purposes for server-side applications. Can be any
1066
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
883
1067
  # @param [Google::Apis::RequestOptions] options
884
1068
  # Request-specific options
885
1069
  #
@@ -892,15 +1076,14 @@ module Google
892
1076
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
893
1077
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
894
1078
  # @raise [Google::Apis::AuthorizationError] Authorization is required
895
- def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
896
- command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
1079
+ def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
1080
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/datafeeds/{datafeedId}', options)
897
1081
  command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
898
1082
  command.response_class = Google::Apis::ContentV2_1::Datafeed
899
1083
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
900
1084
  command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
901
1085
  command.query['fields'] = fields unless fields.nil?
902
1086
  command.query['quotaUser'] = quota_user unless quota_user.nil?
903
- command.query['userIp'] = user_ip unless user_ip.nil?
904
1087
  execute_or_queue_command(command, &block)
905
1088
  end
906
1089
 
@@ -912,10 +1095,8 @@ module Google
912
1095
  # @param [String] fields
913
1096
  # Selector specifying which fields to include in a partial response.
914
1097
  # @param [String] quota_user
915
- # An opaque string that represents a user for quota purposes. Must not exceed 40
916
- # characters.
917
- # @param [String] user_ip
918
- # Deprecated. Please use quotaUser instead.
1098
+ # Available to use for quota purposes for server-side applications. Can be any
1099
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
919
1100
  # @param [Google::Apis::RequestOptions] options
920
1101
  # Request-specific options
921
1102
  #
@@ -928,8 +1109,8 @@ module Google
928
1109
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
929
1110
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
930
1111
  # @raise [Google::Apis::AuthorizationError] Authorization is required
931
- def insert_datafeed(merchant_id, datafeed_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
932
- command = make_simple_command(:post, '{merchantId}/datafeeds', options)
1112
+ def insert_datafeed(merchant_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1113
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/datafeeds', options)
933
1114
  command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
934
1115
  command.request_object = datafeed_object
935
1116
  command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
@@ -937,7 +1118,6 @@ module Google
937
1118
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
938
1119
  command.query['fields'] = fields unless fields.nil?
939
1120
  command.query['quotaUser'] = quota_user unless quota_user.nil?
940
- command.query['userIp'] = user_ip unless user_ip.nil?
941
1121
  execute_or_queue_command(command, &block)
942
1122
  end
943
1123
 
@@ -952,10 +1132,8 @@ module Google
952
1132
  # @param [String] fields
953
1133
  # Selector specifying which fields to include in a partial response.
954
1134
  # @param [String] quota_user
955
- # An opaque string that represents a user for quota purposes. Must not exceed 40
956
- # characters.
957
- # @param [String] user_ip
958
- # Deprecated. Please use quotaUser instead.
1135
+ # Available to use for quota purposes for server-side applications. Can be any
1136
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
959
1137
  # @param [Google::Apis::RequestOptions] options
960
1138
  # Request-specific options
961
1139
  #
@@ -968,8 +1146,8 @@ module Google
968
1146
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
969
1147
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
970
1148
  # @raise [Google::Apis::AuthorizationError] Authorization is required
971
- def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
972
- command = make_simple_command(:get, '{merchantId}/datafeeds', options)
1149
+ def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1150
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/datafeeds', options)
973
1151
  command.response_representation = Google::Apis::ContentV2_1::DatafeedsListResponse::Representation
974
1152
  command.response_class = Google::Apis::ContentV2_1::DatafeedsListResponse
975
1153
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -977,7 +1155,6 @@ module Google
977
1155
  command.query['pageToken'] = page_token unless page_token.nil?
978
1156
  command.query['fields'] = fields unless fields.nil?
979
1157
  command.query['quotaUser'] = quota_user unless quota_user.nil?
980
- command.query['userIp'] = user_ip unless user_ip.nil?
981
1158
  execute_or_queue_command(command, &block)
982
1159
  end
983
1160
 
@@ -992,10 +1169,8 @@ module Google
992
1169
  # @param [String] fields
993
1170
  # Selector specifying which fields to include in a partial response.
994
1171
  # @param [String] quota_user
995
- # An opaque string that represents a user for quota purposes. Must not exceed 40
996
- # characters.
997
- # @param [String] user_ip
998
- # Deprecated. Please use quotaUser instead.
1172
+ # Available to use for quota purposes for server-side applications. Can be any
1173
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
999
1174
  # @param [Google::Apis::RequestOptions] options
1000
1175
  # Request-specific options
1001
1176
  #
@@ -1008,8 +1183,8 @@ module Google
1008
1183
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1009
1184
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1010
1185
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1011
- def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1012
- command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
1186
+ def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1187
+ command = make_simple_command(:put, 'content/v2.1/{merchantId}/datafeeds/{datafeedId}', options)
1013
1188
  command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
1014
1189
  command.request_object = datafeed_object
1015
1190
  command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
@@ -1018,7 +1193,6 @@ module Google
1018
1193
  command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
1019
1194
  command.query['fields'] = fields unless fields.nil?
1020
1195
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1021
- command.query['userIp'] = user_ip unless user_ip.nil?
1022
1196
  execute_or_queue_command(command, &block)
1023
1197
  end
1024
1198
 
@@ -1027,10 +1201,8 @@ module Google
1027
1201
  # @param [String] fields
1028
1202
  # Selector specifying which fields to include in a partial response.
1029
1203
  # @param [String] quota_user
1030
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1031
- # characters.
1032
- # @param [String] user_ip
1033
- # Deprecated. Please use quotaUser instead.
1204
+ # Available to use for quota purposes for server-side applications. Can be any
1205
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1034
1206
  # @param [Google::Apis::RequestOptions] options
1035
1207
  # Request-specific options
1036
1208
  #
@@ -1043,15 +1215,14 @@ module Google
1043
1215
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1044
1216
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1045
1217
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1046
- def custombatch_datafeedstatus(datafeedstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1047
- command = make_simple_command(:post, 'datafeedstatuses/batch', options)
1218
+ def custombatch_datafeedstatus(datafeedstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1219
+ command = make_simple_command(:post, 'content/v2.1/datafeedstatuses/batch', options)
1048
1220
  command.request_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchRequest::Representation
1049
1221
  command.request_object = datafeedstatuses_custom_batch_request_object
1050
1222
  command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse::Representation
1051
1223
  command.response_class = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse
1052
1224
  command.query['fields'] = fields unless fields.nil?
1053
1225
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1054
- command.query['userIp'] = user_ip unless user_ip.nil?
1055
1226
  execute_or_queue_command(command, &block)
1056
1227
  end
1057
1228
 
@@ -1074,10 +1245,8 @@ module Google
1074
1245
  # @param [String] fields
1075
1246
  # Selector specifying which fields to include in a partial response.
1076
1247
  # @param [String] quota_user
1077
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1078
- # characters.
1079
- # @param [String] user_ip
1080
- # Deprecated. Please use quotaUser instead.
1248
+ # Available to use for quota purposes for server-side applications. Can be any
1249
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1081
1250
  # @param [Google::Apis::RequestOptions] options
1082
1251
  # Request-specific options
1083
1252
  #
@@ -1090,8 +1259,8 @@ module Google
1090
1259
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1091
1260
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1092
1261
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1093
- def get_datafeedstatus(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1094
- command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
1262
+ def get_datafeedstatus(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, options: nil, &block)
1263
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/datafeedstatuses/{datafeedId}', options)
1095
1264
  command.response_representation = Google::Apis::ContentV2_1::DatafeedStatus::Representation
1096
1265
  command.response_class = Google::Apis::ContentV2_1::DatafeedStatus
1097
1266
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1100,7 +1269,6 @@ module Google
1100
1269
  command.query['language'] = language unless language.nil?
1101
1270
  command.query['fields'] = fields unless fields.nil?
1102
1271
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1103
- command.query['userIp'] = user_ip unless user_ip.nil?
1104
1272
  execute_or_queue_command(command, &block)
1105
1273
  end
1106
1274
 
@@ -1115,10 +1283,8 @@ module Google
1115
1283
  # @param [String] fields
1116
1284
  # Selector specifying which fields to include in a partial response.
1117
1285
  # @param [String] quota_user
1118
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1119
- # characters.
1120
- # @param [String] user_ip
1121
- # Deprecated. Please use quotaUser instead.
1286
+ # Available to use for quota purposes for server-side applications. Can be any
1287
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1122
1288
  # @param [Google::Apis::RequestOptions] options
1123
1289
  # Request-specific options
1124
1290
  #
@@ -1131,8 +1297,8 @@ module Google
1131
1297
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1132
1298
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1133
1299
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1134
- def list_datafeedstatuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1135
- command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
1300
+ def list_datafeedstatuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1301
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/datafeedstatuses', options)
1136
1302
  command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesListResponse::Representation
1137
1303
  command.response_class = Google::Apis::ContentV2_1::DatafeedstatusesListResponse
1138
1304
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1140,7 +1306,6 @@ module Google
1140
1306
  command.query['pageToken'] = page_token unless page_token.nil?
1141
1307
  command.query['fields'] = fields unless fields.nil?
1142
1308
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1143
- command.query['userIp'] = user_ip unless user_ip.nil?
1144
1309
  execute_or_queue_command(command, &block)
1145
1310
  end
1146
1311
 
@@ -1150,10 +1315,8 @@ module Google
1150
1315
  # @param [String] fields
1151
1316
  # Selector specifying which fields to include in a partial response.
1152
1317
  # @param [String] quota_user
1153
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1154
- # characters.
1155
- # @param [String] user_ip
1156
- # Deprecated. Please use quotaUser instead.
1318
+ # Available to use for quota purposes for server-side applications. Can be any
1319
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1157
1320
  # @param [Google::Apis::RequestOptions] options
1158
1321
  # Request-specific options
1159
1322
  #
@@ -1166,15 +1329,14 @@ module Google
1166
1329
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1167
1330
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1168
1331
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1169
- def custombatch_liasetting(liasettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1170
- command = make_simple_command(:post, 'liasettings/batch', options)
1332
+ def custombatch_liasetting(liasettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1333
+ command = make_simple_command(:post, 'content/v2.1/liasettings/batch', options)
1171
1334
  command.request_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchRequest::Representation
1172
1335
  command.request_object = liasettings_custom_batch_request_object
1173
1336
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse::Representation
1174
1337
  command.response_class = Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse
1175
1338
  command.query['fields'] = fields unless fields.nil?
1176
1339
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1177
- command.query['userIp'] = user_ip unless user_ip.nil?
1178
1340
  execute_or_queue_command(command, &block)
1179
1341
  end
1180
1342
 
@@ -1188,10 +1350,8 @@ module Google
1188
1350
  # @param [String] fields
1189
1351
  # Selector specifying which fields to include in a partial response.
1190
1352
  # @param [String] quota_user
1191
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1192
- # characters.
1193
- # @param [String] user_ip
1194
- # Deprecated. Please use quotaUser instead.
1353
+ # Available to use for quota purposes for server-side applications. Can be any
1354
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1195
1355
  # @param [Google::Apis::RequestOptions] options
1196
1356
  # Request-specific options
1197
1357
  #
@@ -1204,15 +1364,14 @@ module Google
1204
1364
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1205
1365
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1206
1366
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1207
- def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1208
- command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
1367
+ def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
1368
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/liasettings/{accountId}', options)
1209
1369
  command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
1210
1370
  command.response_class = Google::Apis::ContentV2_1::LiaSettings
1211
1371
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
1212
1372
  command.params['accountId'] = account_id unless account_id.nil?
1213
1373
  command.query['fields'] = fields unless fields.nil?
1214
1374
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1215
- command.query['userIp'] = user_ip unless user_ip.nil?
1216
1375
  execute_or_queue_command(command, &block)
1217
1376
  end
1218
1377
 
@@ -1227,10 +1386,8 @@ module Google
1227
1386
  # @param [String] fields
1228
1387
  # Selector specifying which fields to include in a partial response.
1229
1388
  # @param [String] quota_user
1230
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1231
- # characters.
1232
- # @param [String] user_ip
1233
- # Deprecated. Please use quotaUser instead.
1389
+ # Available to use for quota purposes for server-side applications. Can be any
1390
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1234
1391
  # @param [Google::Apis::RequestOptions] options
1235
1392
  # Request-specific options
1236
1393
  #
@@ -1243,15 +1400,14 @@ module Google
1243
1400
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1244
1401
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1245
1402
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1246
- def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1247
- command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
1403
+ def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
1404
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
1248
1405
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse::Representation
1249
1406
  command.response_class = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse
1250
1407
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
1251
1408
  command.params['accountId'] = account_id unless account_id.nil?
1252
1409
  command.query['fields'] = fields unless fields.nil?
1253
1410
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1254
- command.query['userIp'] = user_ip unless user_ip.nil?
1255
1411
  execute_or_queue_command(command, &block)
1256
1412
  end
1257
1413
 
@@ -1265,10 +1421,8 @@ module Google
1265
1421
  # @param [String] fields
1266
1422
  # Selector specifying which fields to include in a partial response.
1267
1423
  # @param [String] quota_user
1268
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1269
- # characters.
1270
- # @param [String] user_ip
1271
- # Deprecated. Please use quotaUser instead.
1424
+ # Available to use for quota purposes for server-side applications. Can be any
1425
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1272
1426
  # @param [Google::Apis::RequestOptions] options
1273
1427
  # Request-specific options
1274
1428
  #
@@ -1281,8 +1435,8 @@ module Google
1281
1435
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1282
1436
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1283
1437
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1284
- def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1285
- command = make_simple_command(:get, '{merchantId}/liasettings', options)
1438
+ def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1439
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/liasettings', options)
1286
1440
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsListResponse::Representation
1287
1441
  command.response_class = Google::Apis::ContentV2_1::LiasettingsListResponse
1288
1442
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1290,7 +1444,6 @@ module Google
1290
1444
  command.query['pageToken'] = page_token unless page_token.nil?
1291
1445
  command.query['fields'] = fields unless fields.nil?
1292
1446
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1293
- command.query['userIp'] = user_ip unless user_ip.nil?
1294
1447
  execute_or_queue_command(command, &block)
1295
1448
  end
1296
1449
 
@@ -1299,10 +1452,8 @@ module Google
1299
1452
  # @param [String] fields
1300
1453
  # Selector specifying which fields to include in a partial response.
1301
1454
  # @param [String] quota_user
1302
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1303
- # characters.
1304
- # @param [String] user_ip
1305
- # Deprecated. Please use quotaUser instead.
1455
+ # Available to use for quota purposes for server-side applications. Can be any
1456
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1306
1457
  # @param [Google::Apis::RequestOptions] options
1307
1458
  # Request-specific options
1308
1459
  #
@@ -1315,13 +1466,12 @@ module Google
1315
1466
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1316
1467
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1317
1468
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1318
- def listposdataproviders_liasetting(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1319
- command = make_simple_command(:get, 'liasettings/posdataproviders', options)
1469
+ def listposdataproviders_liasetting(fields: nil, quota_user: nil, options: nil, &block)
1470
+ command = make_simple_command(:get, 'content/v2.1/liasettings/posdataproviders', options)
1320
1471
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse::Representation
1321
1472
  command.response_class = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse
1322
1473
  command.query['fields'] = fields unless fields.nil?
1323
1474
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1324
- command.query['userIp'] = user_ip unless user_ip.nil?
1325
1475
  execute_or_queue_command(command, &block)
1326
1476
  end
1327
1477
 
@@ -1337,10 +1487,8 @@ module Google
1337
1487
  # @param [String] fields
1338
1488
  # Selector specifying which fields to include in a partial response.
1339
1489
  # @param [String] quota_user
1340
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1341
- # characters.
1342
- # @param [String] user_ip
1343
- # Deprecated. Please use quotaUser instead.
1490
+ # Available to use for quota purposes for server-side applications. Can be any
1491
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1344
1492
  # @param [Google::Apis::RequestOptions] options
1345
1493
  # Request-specific options
1346
1494
  #
@@ -1353,8 +1501,8 @@ module Google
1353
1501
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1354
1502
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1355
1503
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1356
- def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1357
- command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
1504
+ def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, options: nil, &block)
1505
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
1358
1506
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse::Representation
1359
1507
  command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse
1360
1508
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1362,7 +1510,6 @@ module Google
1362
1510
  command.query['gmbEmail'] = gmb_email unless gmb_email.nil?
1363
1511
  command.query['fields'] = fields unless fields.nil?
1364
1512
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1365
- command.query['userIp'] = user_ip unless user_ip.nil?
1366
1513
  execute_or_queue_command(command, &block)
1367
1514
  end
1368
1515
 
@@ -1379,10 +1526,8 @@ module Google
1379
1526
  # @param [String] fields
1380
1527
  # Selector specifying which fields to include in a partial response.
1381
1528
  # @param [String] quota_user
1382
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1383
- # characters.
1384
- # @param [String] user_ip
1385
- # Deprecated. Please use quotaUser instead.
1529
+ # Available to use for quota purposes for server-side applications. Can be any
1530
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1386
1531
  # @param [Google::Apis::RequestOptions] options
1387
1532
  # Request-specific options
1388
1533
  #
@@ -1395,8 +1540,8 @@ module Google
1395
1540
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1396
1541
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1397
1542
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1398
- def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1399
- command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
1543
+ def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, options: nil, &block)
1544
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
1400
1545
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse::Representation
1401
1546
  command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse
1402
1547
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1404,7 +1549,6 @@ module Google
1404
1549
  command.params['country'] = country unless country.nil?
1405
1550
  command.query['fields'] = fields unless fields.nil?
1406
1551
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1407
- command.query['userIp'] = user_ip unless user_ip.nil?
1408
1552
  execute_or_queue_command(command, &block)
1409
1553
  end
1410
1554
 
@@ -1416,21 +1560,19 @@ module Google
1416
1560
  # @param [Fixnum] account_id
1417
1561
  # The ID of the account that manages the order. This cannot be a multi-client
1418
1562
  # account.
1419
- # @param [String] contact_email
1420
- # The email of the inventory verification contact.
1421
- # @param [String] contact_name
1422
- # The name of the inventory verification contact.
1423
1563
  # @param [String] country
1424
1564
  # The country for which inventory verification is requested.
1425
1565
  # @param [String] language
1426
1566
  # The language for which inventory verification is requested.
1567
+ # @param [String] contact_name
1568
+ # The name of the inventory verification contact.
1569
+ # @param [String] contact_email
1570
+ # The email of the inventory verification contact.
1427
1571
  # @param [String] fields
1428
1572
  # Selector specifying which fields to include in a partial response.
1429
1573
  # @param [String] quota_user
1430
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1431
- # characters.
1432
- # @param [String] user_ip
1433
- # Deprecated. Please use quotaUser instead.
1574
+ # Available to use for quota purposes for server-side applications. Can be any
1575
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1434
1576
  # @param [Google::Apis::RequestOptions] options
1435
1577
  # Request-specific options
1436
1578
  #
@@ -1443,8 +1585,8 @@ module Google
1443
1585
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1444
1586
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1445
1587
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1446
- def setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email, contact_name, country, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1447
- command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
1588
+ def setinventoryverificationcontact_liasetting(merchant_id, account_id, country, language, contact_name, contact_email, fields: nil, quota_user: nil, options: nil, &block)
1589
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
1448
1590
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse::Representation
1449
1591
  command.response_class = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse
1450
1592
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1455,7 +1597,6 @@ module Google
1455
1597
  command.query['language'] = language unless language.nil?
1456
1598
  command.query['fields'] = fields unless fields.nil?
1457
1599
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1458
- command.query['userIp'] = user_ip unless user_ip.nil?
1459
1600
  execute_or_queue_command(command, &block)
1460
1601
  end
1461
1602
 
@@ -1476,10 +1617,8 @@ module Google
1476
1617
  # @param [String] fields
1477
1618
  # Selector specifying which fields to include in a partial response.
1478
1619
  # @param [String] quota_user
1479
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1480
- # characters.
1481
- # @param [String] user_ip
1482
- # Deprecated. Please use quotaUser instead.
1620
+ # Available to use for quota purposes for server-side applications. Can be any
1621
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1483
1622
  # @param [Google::Apis::RequestOptions] options
1484
1623
  # Request-specific options
1485
1624
  #
@@ -1492,8 +1631,8 @@ module Google
1492
1631
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1493
1632
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1494
1633
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1495
- def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1496
- command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
1634
+ def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1635
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/liasettings/{accountId}/setposdataprovider', options)
1497
1636
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse::Representation
1498
1637
  command.response_class = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse
1499
1638
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1503,7 +1642,6 @@ module Google
1503
1642
  command.query['posExternalAccountId'] = pos_external_account_id unless pos_external_account_id.nil?
1504
1643
  command.query['fields'] = fields unless fields.nil?
1505
1644
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1506
- command.query['userIp'] = user_ip unless user_ip.nil?
1507
1645
  execute_or_queue_command(command, &block)
1508
1646
  end
1509
1647
 
@@ -1519,10 +1657,8 @@ module Google
1519
1657
  # @param [String] fields
1520
1658
  # Selector specifying which fields to include in a partial response.
1521
1659
  # @param [String] quota_user
1522
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1523
- # characters.
1524
- # @param [String] user_ip
1525
- # Deprecated. Please use quotaUser instead.
1660
+ # Available to use for quota purposes for server-side applications. Can be any
1661
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1526
1662
  # @param [Google::Apis::RequestOptions] options
1527
1663
  # Request-specific options
1528
1664
  #
@@ -1535,8 +1671,8 @@ module Google
1535
1671
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1536
1672
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1537
1673
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1538
- def update_liasetting(merchant_id, account_id, lia_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1539
- command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
1674
+ def update_liasetting(merchant_id, account_id, lia_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1675
+ command = make_simple_command(:put, 'content/v2.1/{merchantId}/liasettings/{accountId}', options)
1540
1676
  command.request_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
1541
1677
  command.request_object = lia_settings_object
1542
1678
  command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
@@ -1545,7 +1681,6 @@ module Google
1545
1681
  command.params['accountId'] = account_id unless account_id.nil?
1546
1682
  command.query['fields'] = fields unless fields.nil?
1547
1683
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1548
- command.query['userIp'] = user_ip unless user_ip.nil?
1549
1684
  execute_or_queue_command(command, &block)
1550
1685
  end
1551
1686
 
@@ -1554,10 +1689,8 @@ module Google
1554
1689
  # @param [String] fields
1555
1690
  # Selector specifying which fields to include in a partial response.
1556
1691
  # @param [String] quota_user
1557
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1558
- # characters.
1559
- # @param [String] user_ip
1560
- # Deprecated. Please use quotaUser instead.
1692
+ # Available to use for quota purposes for server-side applications. Can be any
1693
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1561
1694
  # @param [Google::Apis::RequestOptions] options
1562
1695
  # Request-specific options
1563
1696
  #
@@ -1570,15 +1703,14 @@ module Google
1570
1703
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1571
1704
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1572
1705
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1573
- def custombatch_localinventory(localinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1574
- command = make_simple_command(:post, 'localinventory/batch', options)
1706
+ def custombatch_localinventory(localinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1707
+ command = make_simple_command(:post, 'content/v2.1/localinventory/batch', options)
1575
1708
  command.request_representation = Google::Apis::ContentV2_1::LocalinventoryCustomBatchRequest::Representation
1576
1709
  command.request_object = localinventory_custom_batch_request_object
1577
1710
  command.response_representation = Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponse::Representation
1578
1711
  command.response_class = Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponse
1579
1712
  command.query['fields'] = fields unless fields.nil?
1580
1713
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1581
- command.query['userIp'] = user_ip unless user_ip.nil?
1582
1714
  execute_or_queue_command(command, &block)
1583
1715
  end
1584
1716
 
@@ -1592,10 +1724,8 @@ module Google
1592
1724
  # @param [String] fields
1593
1725
  # Selector specifying which fields to include in a partial response.
1594
1726
  # @param [String] quota_user
1595
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1596
- # characters.
1597
- # @param [String] user_ip
1598
- # Deprecated. Please use quotaUser instead.
1727
+ # Available to use for quota purposes for server-side applications. Can be any
1728
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1599
1729
  # @param [Google::Apis::RequestOptions] options
1600
1730
  # Request-specific options
1601
1731
  #
@@ -1608,8 +1738,8 @@ module Google
1608
1738
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1609
1739
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1610
1740
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1611
- def insert_localinventory(merchant_id, product_id, local_inventory_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1612
- command = make_simple_command(:post, '{merchantId}/products/{productId}/localinventory', options)
1741
+ def insert_localinventory(merchant_id, product_id, local_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1742
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/products/{productId}/localinventory', options)
1613
1743
  command.request_representation = Google::Apis::ContentV2_1::LocalInventory::Representation
1614
1744
  command.request_object = local_inventory_object
1615
1745
  command.response_representation = Google::Apis::ContentV2_1::LocalInventory::Representation
@@ -1618,7 +1748,6 @@ module Google
1618
1748
  command.params['productId'] = product_id unless product_id.nil?
1619
1749
  command.query['fields'] = fields unless fields.nil?
1620
1750
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1621
- command.query['userIp'] = user_ip unless user_ip.nil?
1622
1751
  execute_or_queue_command(command, &block)
1623
1752
  end
1624
1753
 
@@ -1633,10 +1762,8 @@ module Google
1633
1762
  # @param [String] fields
1634
1763
  # Selector specifying which fields to include in a partial response.
1635
1764
  # @param [String] quota_user
1636
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1637
- # characters.
1638
- # @param [String] user_ip
1639
- # Deprecated. Please use quotaUser instead.
1765
+ # Available to use for quota purposes for server-side applications. Can be any
1766
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1640
1767
  # @param [Google::Apis::RequestOptions] options
1641
1768
  # Request-specific options
1642
1769
  #
@@ -1649,8 +1776,8 @@ module Google
1649
1776
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1650
1777
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1651
1778
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1652
- def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1653
- command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
1779
+ def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1780
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
1654
1781
  command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceRequest::Representation
1655
1782
  command.request_object = orderinvoices_create_charge_invoice_request_object
1656
1783
  command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceResponse::Representation
@@ -1659,7 +1786,6 @@ module Google
1659
1786
  command.params['orderId'] = order_id unless order_id.nil?
1660
1787
  command.query['fields'] = fields unless fields.nil?
1661
1788
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1662
- command.query['userIp'] = user_ip unless user_ip.nil?
1663
1789
  execute_or_queue_command(command, &block)
1664
1790
  end
1665
1791
 
@@ -1676,10 +1802,8 @@ module Google
1676
1802
  # @param [String] fields
1677
1803
  # Selector specifying which fields to include in a partial response.
1678
1804
  # @param [String] quota_user
1679
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1680
- # characters.
1681
- # @param [String] user_ip
1682
- # Deprecated. Please use quotaUser instead.
1805
+ # Available to use for quota purposes for server-side applications. Can be any
1806
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1683
1807
  # @param [Google::Apis::RequestOptions] options
1684
1808
  # Request-specific options
1685
1809
  #
@@ -1692,8 +1816,8 @@ module Google
1692
1816
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1693
1817
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1694
1818
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1695
- def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1696
- command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
1819
+ def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1820
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
1697
1821
  command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceRequest::Representation
1698
1822
  command.request_object = orderinvoices_create_refund_invoice_request_object
1699
1823
  command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceResponse::Representation
@@ -1702,7 +1826,6 @@ module Google
1702
1826
  command.params['orderId'] = order_id unless order_id.nil?
1703
1827
  command.query['fields'] = fields unless fields.nil?
1704
1828
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1705
- command.query['userIp'] = user_ip unless user_ip.nil?
1706
1829
  execute_or_queue_command(command, &block)
1707
1830
  end
1708
1831
 
@@ -1710,11 +1833,11 @@ module Google
1710
1833
  # @param [Fixnum] merchant_id
1711
1834
  # The ID of the account that manages the order. This cannot be a multi-client
1712
1835
  # account.
1713
- # @param [String] disbursement_start_date
1714
- # The first date which disbursements occurred. In ISO 8601 format.
1715
1836
  # @param [String] disbursement_end_date
1716
1837
  # The last date which disbursements occurred. In ISO 8601 format. Default:
1717
1838
  # current date.
1839
+ # @param [String] disbursement_start_date
1840
+ # The first date which disbursements occurred. In ISO 8601 format.
1718
1841
  # @param [Fixnum] max_results
1719
1842
  # The maximum number of disbursements to return in the response, used for paging.
1720
1843
  # @param [String] page_token
@@ -1722,10 +1845,8 @@ module Google
1722
1845
  # @param [String] fields
1723
1846
  # Selector specifying which fields to include in a partial response.
1724
1847
  # @param [String] quota_user
1725
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1726
- # characters.
1727
- # @param [String] user_ip
1728
- # Deprecated. Please use quotaUser instead.
1848
+ # Available to use for quota purposes for server-side applications. Can be any
1849
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1729
1850
  # @param [Google::Apis::RequestOptions] options
1730
1851
  # Request-specific options
1731
1852
  #
@@ -1738,8 +1859,8 @@ module Google
1738
1859
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1739
1860
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1740
1861
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1741
- def listdisbursements_orderreport(merchant_id, disbursement_start_date, disbursement_end_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1742
- command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
1862
+ def listdisbursements_orderreport(merchant_id, disbursement_end_date: nil, disbursement_start_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1863
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/orderreports/disbursements', options)
1743
1864
  command.response_representation = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse::Representation
1744
1865
  command.response_class = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse
1745
1866
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1749,7 +1870,6 @@ module Google
1749
1870
  command.query['pageToken'] = page_token unless page_token.nil?
1750
1871
  command.query['fields'] = fields unless fields.nil?
1751
1872
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1752
- command.query['userIp'] = user_ip unless user_ip.nil?
1753
1873
  execute_or_queue_command(command, &block)
1754
1874
  end
1755
1875
 
@@ -1760,8 +1880,6 @@ module Google
1760
1880
  # account.
1761
1881
  # @param [String] disbursement_id
1762
1882
  # The Google-provided ID of the disbursement (found in Wallet).
1763
- # @param [String] transaction_start_date
1764
- # The first date in which transaction occurred. In ISO 8601 format.
1765
1883
  # @param [Fixnum] max_results
1766
1884
  # The maximum number of disbursements to return in the response, used for paging.
1767
1885
  # @param [String] page_token
@@ -1769,13 +1887,13 @@ module Google
1769
1887
  # @param [String] transaction_end_date
1770
1888
  # The last date in which transaction occurred. In ISO 8601 format. Default:
1771
1889
  # current date.
1890
+ # @param [String] transaction_start_date
1891
+ # The first date in which transaction occurred. In ISO 8601 format.
1772
1892
  # @param [String] fields
1773
1893
  # Selector specifying which fields to include in a partial response.
1774
1894
  # @param [String] quota_user
1775
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1776
- # characters.
1777
- # @param [String] user_ip
1778
- # Deprecated. Please use quotaUser instead.
1895
+ # Available to use for quota purposes for server-side applications. Can be any
1896
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1779
1897
  # @param [Google::Apis::RequestOptions] options
1780
1898
  # Request-specific options
1781
1899
  #
@@ -1788,8 +1906,8 @@ module Google
1788
1906
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1789
1907
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1790
1908
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1791
- def listtransactions_orderreport(merchant_id, disbursement_id, transaction_start_date, max_results: nil, page_token: nil, transaction_end_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1792
- command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
1909
+ def listtransactions_orderreport(merchant_id, disbursement_id, max_results: nil, page_token: nil, transaction_end_date: nil, transaction_start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
1910
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
1793
1911
  command.response_representation = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse::Representation
1794
1912
  command.response_class = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse
1795
1913
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1800,7 +1918,6 @@ module Google
1800
1918
  command.query['transactionStartDate'] = transaction_start_date unless transaction_start_date.nil?
1801
1919
  command.query['fields'] = fields unless fields.nil?
1802
1920
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1803
- command.query['userIp'] = user_ip unless user_ip.nil?
1804
1921
  execute_or_queue_command(command, &block)
1805
1922
  end
1806
1923
 
@@ -1814,10 +1931,8 @@ module Google
1814
1931
  # @param [String] fields
1815
1932
  # Selector specifying which fields to include in a partial response.
1816
1933
  # @param [String] quota_user
1817
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1818
- # characters.
1819
- # @param [String] user_ip
1820
- # Deprecated. Please use quotaUser instead.
1934
+ # Available to use for quota purposes for server-side applications. Can be any
1935
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1821
1936
  # @param [Google::Apis::RequestOptions] options
1822
1937
  # Request-specific options
1823
1938
  #
@@ -1830,8 +1945,8 @@ module Google
1830
1945
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1831
1946
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1832
1947
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1833
- def acknowledge_orderreturn(merchant_id, return_id, orderreturns_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1834
- command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/acknowledge', options)
1948
+ def acknowledge_orderreturn(merchant_id, return_id, orderreturns_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1949
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderreturns/{returnId}/acknowledge', options)
1835
1950
  command.request_representation = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeRequest::Representation
1836
1951
  command.request_object = orderreturns_acknowledge_request_object
1837
1952
  command.response_representation = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeResponse::Representation
@@ -1840,7 +1955,6 @@ module Google
1840
1955
  command.params['returnId'] = return_id unless return_id.nil?
1841
1956
  command.query['fields'] = fields unless fields.nil?
1842
1957
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1843
- command.query['userIp'] = user_ip unless user_ip.nil?
1844
1958
  execute_or_queue_command(command, &block)
1845
1959
  end
1846
1960
 
@@ -1852,10 +1966,8 @@ module Google
1852
1966
  # @param [String] fields
1853
1967
  # Selector specifying which fields to include in a partial response.
1854
1968
  # @param [String] quota_user
1855
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1856
- # characters.
1857
- # @param [String] user_ip
1858
- # Deprecated. Please use quotaUser instead.
1969
+ # Available to use for quota purposes for server-side applications. Can be any
1970
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1859
1971
  # @param [Google::Apis::RequestOptions] options
1860
1972
  # Request-specific options
1861
1973
  #
@@ -1868,8 +1980,8 @@ module Google
1868
1980
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1869
1981
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1870
1982
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1871
- def createorderreturn_orderreturn(merchant_id, orderreturns_create_order_return_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1872
- command = make_simple_command(:post, '{merchantId}/orderreturns/createOrderReturn', options)
1983
+ def createorderreturn_orderreturn(merchant_id, orderreturns_create_order_return_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1984
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderreturns/createOrderReturn', options)
1873
1985
  command.request_representation = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnRequest::Representation
1874
1986
  command.request_object = orderreturns_create_order_return_request_object
1875
1987
  command.response_representation = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse::Representation
@@ -1877,7 +1989,6 @@ module Google
1877
1989
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
1878
1990
  command.query['fields'] = fields unless fields.nil?
1879
1991
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1880
- command.query['userIp'] = user_ip unless user_ip.nil?
1881
1992
  execute_or_queue_command(command, &block)
1882
1993
  end
1883
1994
 
@@ -1890,10 +2001,8 @@ module Google
1890
2001
  # @param [String] fields
1891
2002
  # Selector specifying which fields to include in a partial response.
1892
2003
  # @param [String] quota_user
1893
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1894
- # characters.
1895
- # @param [String] user_ip
1896
- # Deprecated. Please use quotaUser instead.
2004
+ # Available to use for quota purposes for server-side applications. Can be any
2005
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1897
2006
  # @param [Google::Apis::RequestOptions] options
1898
2007
  # Request-specific options
1899
2008
  #
@@ -1906,15 +2015,14 @@ module Google
1906
2015
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1907
2016
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1908
2017
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1909
- def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1910
- command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
2018
+ def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, options: nil, &block)
2019
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/orderreturns/{returnId}', options)
1911
2020
  command.response_representation = Google::Apis::ContentV2_1::MerchantOrderReturn::Representation
1912
2021
  command.response_class = Google::Apis::ContentV2_1::MerchantOrderReturn
1913
2022
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
1914
2023
  command.params['returnId'] = return_id unless return_id.nil?
1915
2024
  command.query['fields'] = fields unless fields.nil?
1916
2025
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1917
- command.query['userIp'] = user_ip unless user_ip.nil?
1918
2026
  execute_or_queue_command(command, &block)
1919
2027
  end
1920
2028
 
@@ -1926,9 +2034,9 @@ module Google
1926
2034
  # Obtains order returns that match the acknowledgement status. When set to true,
1927
2035
  # obtains order returns that have been acknowledged. When false, obtains order
1928
2036
  # returns that have not been acknowledged. When not provided, obtains order
1929
- # returns regardless of their acknowledgement status.
1930
- # We recommend using this filter set to `false`, in conjunction with the `
1931
- # acknowledge` call, such that only un-acknowledged order returns are returned.
2037
+ # returns regardless of their acknowledgement status. We recommend using this
2038
+ # filter set to `false`, in conjunction with the `acknowledge` call, such that
2039
+ # only un-acknowledged order returns are returned.
1932
2040
  # @param [String] created_end_date
1933
2041
  # Obtains order returns created before this date (inclusively), in ISO 8601
1934
2042
  # format.
@@ -1938,10 +2046,10 @@ module Google
1938
2046
  # @param [Array<String>, String] google_order_ids
1939
2047
  # Obtains order returns with the specified order ids. If this parameter is
1940
2048
  # provided, createdStartDate, createdEndDate, shipmentType, shipmentStatus,
1941
- # shipmentState and acknowledged parameters must be not set.
1942
- # Note: if googleOrderId and shipmentTrackingNumber parameters are provided, the
1943
- # obtained results will include all order returns that either match the
1944
- # specified order id or the specified tracking number.
2049
+ # shipmentState and acknowledged parameters must be not set. Note: if
2050
+ # googleOrderId and shipmentTrackingNumber parameters are provided, the obtained
2051
+ # results will include all order returns that either match the specified order
2052
+ # id or the specified tracking number.
1945
2053
  # @param [Fixnum] max_results
1946
2054
  # The maximum number of order returns to return in the response, used for paging.
1947
2055
  # The default value is 25 returns per page, and the maximum allowed value is
@@ -1961,10 +2069,10 @@ module Google
1961
2069
  # @param [Array<String>, String] shipment_tracking_numbers
1962
2070
  # Obtains order returns with the specified tracking numbers. If this parameter
1963
2071
  # is provided, createdStartDate, createdEndDate, shipmentType, shipmentStatus,
1964
- # shipmentState and acknowledged parameters must be not set.
1965
- # Note: if googleOrderId and shipmentTrackingNumber parameters are provided, the
1966
- # obtained results will include all order returns that either match the
1967
- # specified order id or the specified tracking number.
2072
+ # shipmentState and acknowledged parameters must be not set. Note: if
2073
+ # googleOrderId and shipmentTrackingNumber parameters are provided, the obtained
2074
+ # results will include all order returns that either match the specified order
2075
+ # id or the specified tracking number.
1968
2076
  # @param [Array<String>, String] shipment_types
1969
2077
  # Obtains order returns that match any shipment type provided in this parameter.
1970
2078
  # When this parameter is not provided, order returns are obtained regardless of
@@ -1972,10 +2080,8 @@ module Google
1972
2080
  # @param [String] fields
1973
2081
  # Selector specifying which fields to include in a partial response.
1974
2082
  # @param [String] quota_user
1975
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1976
- # characters.
1977
- # @param [String] user_ip
1978
- # Deprecated. Please use quotaUser instead.
2083
+ # Available to use for quota purposes for server-side applications. Can be any
2084
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1979
2085
  # @param [Google::Apis::RequestOptions] options
1980
2086
  # Request-specific options
1981
2087
  #
@@ -1988,8 +2094,8 @@ module Google
1988
2094
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1989
2095
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1990
2096
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1991
- def list_orderreturns(merchant_id, acknowledged: nil, created_end_date: nil, created_start_date: nil, google_order_ids: nil, max_results: nil, order_by: nil, page_token: nil, shipment_states: nil, shipment_status: nil, shipment_tracking_numbers: nil, shipment_types: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1992
- command = make_simple_command(:get, '{merchantId}/orderreturns', options)
2097
+ def list_orderreturns(merchant_id, acknowledged: nil, created_end_date: nil, created_start_date: nil, google_order_ids: nil, max_results: nil, order_by: nil, page_token: nil, shipment_states: nil, shipment_status: nil, shipment_tracking_numbers: nil, shipment_types: nil, fields: nil, quota_user: nil, options: nil, &block)
2098
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/orderreturns', options)
1993
2099
  command.response_representation = Google::Apis::ContentV2_1::OrderreturnsListResponse::Representation
1994
2100
  command.response_class = Google::Apis::ContentV2_1::OrderreturnsListResponse
1995
2101
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2006,7 +2112,6 @@ module Google
2006
2112
  command.query['shipmentTypes'] = shipment_types unless shipment_types.nil?
2007
2113
  command.query['fields'] = fields unless fields.nil?
2008
2114
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2009
- command.query['userIp'] = user_ip unless user_ip.nil?
2010
2115
  execute_or_queue_command(command, &block)
2011
2116
  end
2012
2117
 
@@ -2020,10 +2125,8 @@ module Google
2020
2125
  # @param [String] fields
2021
2126
  # Selector specifying which fields to include in a partial response.
2022
2127
  # @param [String] quota_user
2023
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2024
- # characters.
2025
- # @param [String] user_ip
2026
- # Deprecated. Please use quotaUser instead.
2128
+ # Available to use for quota purposes for server-side applications. Can be any
2129
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2027
2130
  # @param [Google::Apis::RequestOptions] options
2028
2131
  # Request-specific options
2029
2132
  #
@@ -2036,8 +2139,8 @@ module Google
2036
2139
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2037
2140
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2038
2141
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2039
- def process_orderreturn(merchant_id, return_id, orderreturns_process_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2040
- command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/process', options)
2142
+ def process_orderreturn(merchant_id, return_id, orderreturns_process_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2143
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderreturns/{returnId}/process', options)
2041
2144
  command.request_representation = Google::Apis::ContentV2_1::OrderreturnsProcessRequest::Representation
2042
2145
  command.request_object = orderreturns_process_request_object
2043
2146
  command.response_representation = Google::Apis::ContentV2_1::OrderreturnsProcessResponse::Representation
@@ -2046,7 +2149,6 @@ module Google
2046
2149
  command.params['returnId'] = return_id unless return_id.nil?
2047
2150
  command.query['fields'] = fields unless fields.nil?
2048
2151
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2049
- command.query['userIp'] = user_ip unless user_ip.nil?
2050
2152
  execute_or_queue_command(command, &block)
2051
2153
  end
2052
2154
 
@@ -2060,10 +2162,8 @@ module Google
2060
2162
  # @param [String] fields
2061
2163
  # Selector specifying which fields to include in a partial response.
2062
2164
  # @param [String] quota_user
2063
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2064
- # characters.
2065
- # @param [String] user_ip
2066
- # Deprecated. Please use quotaUser instead.
2165
+ # Available to use for quota purposes for server-side applications. Can be any
2166
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2067
2167
  # @param [Google::Apis::RequestOptions] options
2068
2168
  # Request-specific options
2069
2169
  #
@@ -2076,8 +2176,8 @@ module Google
2076
2176
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2077
2177
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2078
2178
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2079
- def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2080
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
2179
+ def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2180
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/acknowledge', options)
2081
2181
  command.request_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeRequest::Representation
2082
2182
  command.request_object = orders_acknowledge_request_object
2083
2183
  command.response_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeResponse::Representation
@@ -2086,7 +2186,6 @@ module Google
2086
2186
  command.params['orderId'] = order_id unless order_id.nil?
2087
2187
  command.query['fields'] = fields unless fields.nil?
2088
2188
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2089
- command.query['userIp'] = user_ip unless user_ip.nil?
2090
2189
  execute_or_queue_command(command, &block)
2091
2190
  end
2092
2191
 
@@ -2100,10 +2199,8 @@ module Google
2100
2199
  # @param [String] fields
2101
2200
  # Selector specifying which fields to include in a partial response.
2102
2201
  # @param [String] quota_user
2103
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2104
- # characters.
2105
- # @param [String] user_ip
2106
- # Deprecated. Please use quotaUser instead.
2202
+ # Available to use for quota purposes for server-side applications. Can be any
2203
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2107
2204
  # @param [Google::Apis::RequestOptions] options
2108
2205
  # Request-specific options
2109
2206
  #
@@ -2116,15 +2213,14 @@ module Google
2116
2213
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2117
2214
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2118
2215
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2119
- def advancetestorder_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2120
- command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
2216
+ def advancetestorder_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
2217
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/testorders/{orderId}/advance', options)
2121
2218
  command.response_representation = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse::Representation
2122
2219
  command.response_class = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse
2123
2220
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2124
2221
  command.params['orderId'] = order_id unless order_id.nil?
2125
2222
  command.query['fields'] = fields unless fields.nil?
2126
2223
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2127
- command.query['userIp'] = user_ip unless user_ip.nil?
2128
2224
  execute_or_queue_command(command, &block)
2129
2225
  end
2130
2226
 
@@ -2138,10 +2234,8 @@ module Google
2138
2234
  # @param [String] fields
2139
2235
  # Selector specifying which fields to include in a partial response.
2140
2236
  # @param [String] quota_user
2141
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2142
- # characters.
2143
- # @param [String] user_ip
2144
- # Deprecated. Please use quotaUser instead.
2237
+ # Available to use for quota purposes for server-side applications. Can be any
2238
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2145
2239
  # @param [Google::Apis::RequestOptions] options
2146
2240
  # Request-specific options
2147
2241
  #
@@ -2154,8 +2248,8 @@ module Google
2154
2248
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2155
2249
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2156
2250
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2157
- def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2158
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
2251
+ def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2252
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/cancel', options)
2159
2253
  command.request_representation = Google::Apis::ContentV2_1::OrdersCancelRequest::Representation
2160
2254
  command.request_object = orders_cancel_request_object
2161
2255
  command.response_representation = Google::Apis::ContentV2_1::OrdersCancelResponse::Representation
@@ -2164,7 +2258,6 @@ module Google
2164
2258
  command.params['orderId'] = order_id unless order_id.nil?
2165
2259
  command.query['fields'] = fields unless fields.nil?
2166
2260
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2167
- command.query['userIp'] = user_ip unless user_ip.nil?
2168
2261
  execute_or_queue_command(command, &block)
2169
2262
  end
2170
2263
 
@@ -2178,10 +2271,8 @@ module Google
2178
2271
  # @param [String] fields
2179
2272
  # Selector specifying which fields to include in a partial response.
2180
2273
  # @param [String] quota_user
2181
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2182
- # characters.
2183
- # @param [String] user_ip
2184
- # Deprecated. Please use quotaUser instead.
2274
+ # Available to use for quota purposes for server-side applications. Can be any
2275
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2185
2276
  # @param [Google::Apis::RequestOptions] options
2186
2277
  # Request-specific options
2187
2278
  #
@@ -2194,8 +2285,8 @@ module Google
2194
2285
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2195
2286
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2196
2287
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2197
- def cancellineitem_order(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2198
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
2288
+ def cancellineitem_order(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2289
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/cancelLineItem', options)
2199
2290
  command.request_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemRequest::Representation
2200
2291
  command.request_object = orders_cancel_line_item_request_object
2201
2292
  command.response_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemResponse::Representation
@@ -2204,7 +2295,6 @@ module Google
2204
2295
  command.params['orderId'] = order_id unless order_id.nil?
2205
2296
  command.query['fields'] = fields unless fields.nil?
2206
2297
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2207
- command.query['userIp'] = user_ip unless user_ip.nil?
2208
2298
  execute_or_queue_command(command, &block)
2209
2299
  end
2210
2300
 
@@ -2218,10 +2308,8 @@ module Google
2218
2308
  # @param [String] fields
2219
2309
  # Selector specifying which fields to include in a partial response.
2220
2310
  # @param [String] quota_user
2221
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2222
- # characters.
2223
- # @param [String] user_ip
2224
- # Deprecated. Please use quotaUser instead.
2311
+ # Available to use for quota purposes for server-side applications. Can be any
2312
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2225
2313
  # @param [Google::Apis::RequestOptions] options
2226
2314
  # Request-specific options
2227
2315
  #
@@ -2234,8 +2322,8 @@ module Google
2234
2322
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2235
2323
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2236
2324
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2237
- def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2238
- command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
2325
+ def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2326
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/testorders/{orderId}/cancelByCustomer', options)
2239
2327
  command.request_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerRequest::Representation
2240
2328
  command.request_object = orders_cancel_test_order_by_customer_request_object
2241
2329
  command.response_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerResponse::Representation
@@ -2244,7 +2332,6 @@ module Google
2244
2332
  command.params['orderId'] = order_id unless order_id.nil?
2245
2333
  command.query['fields'] = fields unless fields.nil?
2246
2334
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2247
- command.query['userIp'] = user_ip unless user_ip.nil?
2248
2335
  execute_or_queue_command(command, &block)
2249
2336
  end
2250
2337
 
@@ -2256,10 +2343,8 @@ module Google
2256
2343
  # @param [String] fields
2257
2344
  # Selector specifying which fields to include in a partial response.
2258
2345
  # @param [String] quota_user
2259
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2260
- # characters.
2261
- # @param [String] user_ip
2262
- # Deprecated. Please use quotaUser instead.
2346
+ # Available to use for quota purposes for server-side applications. Can be any
2347
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2263
2348
  # @param [Google::Apis::RequestOptions] options
2264
2349
  # Request-specific options
2265
2350
  #
@@ -2272,8 +2357,8 @@ module Google
2272
2357
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2273
2358
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2274
2359
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2275
- def createtestorder_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2276
- command = make_simple_command(:post, '{merchantId}/testorders', options)
2360
+ def createtestorder_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2361
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/testorders', options)
2277
2362
  command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderRequest::Representation
2278
2363
  command.request_object = orders_create_test_order_request_object
2279
2364
  command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderResponse::Representation
@@ -2281,7 +2366,6 @@ module Google
2281
2366
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2282
2367
  command.query['fields'] = fields unless fields.nil?
2283
2368
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2284
- command.query['userIp'] = user_ip unless user_ip.nil?
2285
2369
  execute_or_queue_command(command, &block)
2286
2370
  end
2287
2371
 
@@ -2295,10 +2379,8 @@ module Google
2295
2379
  # @param [String] fields
2296
2380
  # Selector specifying which fields to include in a partial response.
2297
2381
  # @param [String] quota_user
2298
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2299
- # characters.
2300
- # @param [String] user_ip
2301
- # Deprecated. Please use quotaUser instead.
2382
+ # Available to use for quota purposes for server-side applications. Can be any
2383
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2302
2384
  # @param [Google::Apis::RequestOptions] options
2303
2385
  # Request-specific options
2304
2386
  #
@@ -2311,8 +2393,8 @@ module Google
2311
2393
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2312
2394
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2313
2395
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2314
- def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2315
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
2396
+ def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2397
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/testreturn', options)
2316
2398
  command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnRequest::Representation
2317
2399
  command.request_object = orders_create_test_return_request_object
2318
2400
  command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnResponse::Representation
@@ -2321,7 +2403,6 @@ module Google
2321
2403
  command.params['orderId'] = order_id unless order_id.nil?
2322
2404
  command.query['fields'] = fields unless fields.nil?
2323
2405
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2324
- command.query['userIp'] = user_ip unless user_ip.nil?
2325
2406
  execute_or_queue_command(command, &block)
2326
2407
  end
2327
2408
 
@@ -2334,10 +2415,8 @@ module Google
2334
2415
  # @param [String] fields
2335
2416
  # Selector specifying which fields to include in a partial response.
2336
2417
  # @param [String] quota_user
2337
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2338
- # characters.
2339
- # @param [String] user_ip
2340
- # Deprecated. Please use quotaUser instead.
2418
+ # Available to use for quota purposes for server-side applications. Can be any
2419
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2341
2420
  # @param [Google::Apis::RequestOptions] options
2342
2421
  # Request-specific options
2343
2422
  #
@@ -2350,15 +2429,14 @@ module Google
2350
2429
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2351
2430
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2352
2431
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2353
- def get_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2354
- command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
2432
+ def get_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
2433
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/orders/{orderId}', options)
2355
2434
  command.response_representation = Google::Apis::ContentV2_1::Order::Representation
2356
2435
  command.response_class = Google::Apis::ContentV2_1::Order
2357
2436
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2358
2437
  command.params['orderId'] = order_id unless order_id.nil?
2359
2438
  command.query['fields'] = fields unless fields.nil?
2360
2439
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2361
- command.query['userIp'] = user_ip unless user_ip.nil?
2362
2440
  execute_or_queue_command(command, &block)
2363
2441
  end
2364
2442
 
@@ -2371,10 +2449,8 @@ module Google
2371
2449
  # @param [String] fields
2372
2450
  # Selector specifying which fields to include in a partial response.
2373
2451
  # @param [String] quota_user
2374
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2375
- # characters.
2376
- # @param [String] user_ip
2377
- # Deprecated. Please use quotaUser instead.
2452
+ # Available to use for quota purposes for server-side applications. Can be any
2453
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2378
2454
  # @param [Google::Apis::RequestOptions] options
2379
2455
  # Request-specific options
2380
2456
  #
@@ -2387,15 +2463,14 @@ module Google
2387
2463
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2388
2464
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2389
2465
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2390
- def getbymerchantorderid_order(merchant_id, merchant_order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2391
- command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
2466
+ def getbymerchantorderid_order(merchant_id, merchant_order_id, fields: nil, quota_user: nil, options: nil, &block)
2467
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
2392
2468
  command.response_representation = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse::Representation
2393
2469
  command.response_class = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse
2394
2470
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2395
2471
  command.params['merchantOrderId'] = merchant_order_id unless merchant_order_id.nil?
2396
2472
  command.query['fields'] = fields unless fields.nil?
2397
2473
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2398
- command.query['userIp'] = user_ip unless user_ip.nil?
2399
2474
  execute_or_queue_command(command, &block)
2400
2475
  end
2401
2476
 
@@ -2411,10 +2486,8 @@ module Google
2411
2486
  # @param [String] fields
2412
2487
  # Selector specifying which fields to include in a partial response.
2413
2488
  # @param [String] quota_user
2414
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2415
- # characters.
2416
- # @param [String] user_ip
2417
- # Deprecated. Please use quotaUser instead.
2489
+ # Available to use for quota purposes for server-side applications. Can be any
2490
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2418
2491
  # @param [Google::Apis::RequestOptions] options
2419
2492
  # Request-specific options
2420
2493
  #
@@ -2427,8 +2500,8 @@ module Google
2427
2500
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2428
2501
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2429
2502
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2430
- def gettestordertemplate_order(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2431
- command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
2503
+ def gettestordertemplate_order(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, options: nil, &block)
2504
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/testordertemplates/{templateName}', options)
2432
2505
  command.response_representation = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse::Representation
2433
2506
  command.response_class = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse
2434
2507
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2436,19 +2509,17 @@ module Google
2436
2509
  command.query['country'] = country unless country.nil?
2437
2510
  command.query['fields'] = fields unless fields.nil?
2438
2511
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2439
- command.query['userIp'] = user_ip unless user_ip.nil?
2440
2512
  execute_or_queue_command(command, &block)
2441
2513
  end
2442
2514
 
2443
2515
  # Deprecated. Notifies that item return and refund was handled directly by
2444
2516
  # merchant outside of Google payments processing (e.g. cash refund done in store)
2445
- # .
2446
- # Note: We recommend calling the returnrefundlineitem method to refund in-store
2447
- # returns. We will issue the refund directly to the customer. This helps to
2448
- # prevent possible differences arising between merchant and Google transaction
2449
- # records. We also recommend having the point of sale system communicate with
2450
- # Google to ensure that customers do not receive a double refund by first
2451
- # refunding via Google then via an in-store return.
2517
+ # . Note: We recommend calling the returnrefundlineitem method to refund in-
2518
+ # store returns. We will issue the refund directly to the customer. This helps
2519
+ # to prevent possible differences arising between merchant and Google
2520
+ # transaction records. We also recommend having the point of sale system
2521
+ # communicate with Google to ensure that customers do not receive a double
2522
+ # refund by first refunding via Google then via an in-store return.
2452
2523
  # @param [Fixnum] merchant_id
2453
2524
  # The ID of the account that manages the order. This cannot be a multi-client
2454
2525
  # account.
@@ -2458,10 +2529,8 @@ module Google
2458
2529
  # @param [String] fields
2459
2530
  # Selector specifying which fields to include in a partial response.
2460
2531
  # @param [String] quota_user
2461
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2462
- # characters.
2463
- # @param [String] user_ip
2464
- # Deprecated. Please use quotaUser instead.
2532
+ # Available to use for quota purposes for server-side applications. Can be any
2533
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2465
2534
  # @param [Google::Apis::RequestOptions] options
2466
2535
  # Request-specific options
2467
2536
  #
@@ -2474,8 +2543,8 @@ module Google
2474
2543
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2475
2544
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2476
2545
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2477
- def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2478
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
2546
+ def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2547
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
2479
2548
  command.request_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemRequest::Representation
2480
2549
  command.request_object = orders_in_store_refund_line_item_request_object
2481
2550
  command.response_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemResponse::Representation
@@ -2484,7 +2553,6 @@ module Google
2484
2553
  command.params['orderId'] = order_id unless order_id.nil?
2485
2554
  command.query['fields'] = fields unless fields.nil?
2486
2555
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2487
- command.query['userIp'] = user_ip unless user_ip.nil?
2488
2556
  execute_or_queue_command(command, &block)
2489
2557
  end
2490
2558
 
@@ -2495,18 +2563,16 @@ module Google
2495
2563
  # @param [Boolean] acknowledged
2496
2564
  # Obtains orders that match the acknowledgement status. When set to true,
2497
2565
  # obtains orders that have been acknowledged. When false, obtains orders that
2498
- # have not been acknowledged.
2499
- # We recommend using this filter set to `false`, in conjunction with the `
2500
- # acknowledge` call, such that only un-acknowledged orders are returned.
2566
+ # have not been acknowledged. We recommend using this filter set to `false`, in
2567
+ # conjunction with the `acknowledge` call, such that only un-acknowledged orders
2568
+ # are returned.
2501
2569
  # @param [Fixnum] max_results
2502
2570
  # The maximum number of orders to return in the response, used for paging. The
2503
2571
  # default value is 25 orders per page, and the maximum allowed value is 250
2504
2572
  # orders per page.
2505
2573
  # @param [String] order_by
2506
- # Order results by placement date in descending or ascending order.
2507
- # Acceptable values are:
2508
- # - placedDateAsc
2509
- # - placedDateDesc
2574
+ # Order results by placement date in descending or ascending order. Acceptable
2575
+ # values are: - placedDateAsc - placedDateDesc
2510
2576
  # @param [String] page_token
2511
2577
  # The token returned by the previous request.
2512
2578
  # @param [String] placed_date_end
@@ -2521,10 +2587,8 @@ module Google
2521
2587
  # @param [String] fields
2522
2588
  # Selector specifying which fields to include in a partial response.
2523
2589
  # @param [String] quota_user
2524
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2525
- # characters.
2526
- # @param [String] user_ip
2527
- # Deprecated. Please use quotaUser instead.
2590
+ # Available to use for quota purposes for server-side applications. Can be any
2591
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2528
2592
  # @param [Google::Apis::RequestOptions] options
2529
2593
  # Request-specific options
2530
2594
  #
@@ -2537,8 +2601,8 @@ module Google
2537
2601
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2538
2602
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2539
2603
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2540
- def list_orders(merchant_id, acknowledged: nil, max_results: nil, order_by: nil, page_token: nil, placed_date_end: nil, placed_date_start: nil, statuses: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2541
- command = make_simple_command(:get, '{merchantId}/orders', options)
2604
+ def list_orders(merchant_id, acknowledged: nil, max_results: nil, order_by: nil, page_token: nil, placed_date_end: nil, placed_date_start: nil, statuses: nil, fields: nil, quota_user: nil, options: nil, &block)
2605
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/orders', options)
2542
2606
  command.response_representation = Google::Apis::ContentV2_1::OrdersListResponse::Representation
2543
2607
  command.response_class = Google::Apis::ContentV2_1::OrdersListResponse
2544
2608
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2551,7 +2615,6 @@ module Google
2551
2615
  command.query['statuses'] = statuses unless statuses.nil?
2552
2616
  command.query['fields'] = fields unless fields.nil?
2553
2617
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2554
- command.query['userIp'] = user_ip unless user_ip.nil?
2555
2618
  execute_or_queue_command(command, &block)
2556
2619
  end
2557
2620
 
@@ -2565,10 +2628,8 @@ module Google
2565
2628
  # @param [String] fields
2566
2629
  # Selector specifying which fields to include in a partial response.
2567
2630
  # @param [String] quota_user
2568
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2569
- # characters.
2570
- # @param [String] user_ip
2571
- # Deprecated. Please use quotaUser instead.
2631
+ # Available to use for quota purposes for server-side applications. Can be any
2632
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2572
2633
  # @param [Google::Apis::RequestOptions] options
2573
2634
  # Request-specific options
2574
2635
  #
@@ -2581,8 +2642,8 @@ module Google
2581
2642
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2582
2643
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2583
2644
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2584
- def refunditem_order(merchant_id, order_id, orders_refund_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2585
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refunditem', options)
2645
+ def refunditem_order(merchant_id, order_id, orders_refund_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2646
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/refunditem', options)
2586
2647
  command.request_representation = Google::Apis::ContentV2_1::OrdersRefundItemRequest::Representation
2587
2648
  command.request_object = orders_refund_item_request_object
2588
2649
  command.response_representation = Google::Apis::ContentV2_1::OrdersRefundItemResponse::Representation
@@ -2591,7 +2652,6 @@ module Google
2591
2652
  command.params['orderId'] = order_id unless order_id.nil?
2592
2653
  command.query['fields'] = fields unless fields.nil?
2593
2654
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2594
- command.query['userIp'] = user_ip unless user_ip.nil?
2595
2655
  execute_or_queue_command(command, &block)
2596
2656
  end
2597
2657
 
@@ -2605,10 +2665,8 @@ module Google
2605
2665
  # @param [String] fields
2606
2666
  # Selector specifying which fields to include in a partial response.
2607
2667
  # @param [String] quota_user
2608
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2609
- # characters.
2610
- # @param [String] user_ip
2611
- # Deprecated. Please use quotaUser instead.
2668
+ # Available to use for quota purposes for server-side applications. Can be any
2669
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2612
2670
  # @param [Google::Apis::RequestOptions] options
2613
2671
  # Request-specific options
2614
2672
  #
@@ -2621,8 +2679,8 @@ module Google
2621
2679
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2622
2680
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2623
2681
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2624
- def refundorder_order(merchant_id, order_id, orders_refund_order_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2625
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refundorder', options)
2682
+ def refundorder_order(merchant_id, order_id, orders_refund_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2683
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/refundorder', options)
2626
2684
  command.request_representation = Google::Apis::ContentV2_1::OrdersRefundOrderRequest::Representation
2627
2685
  command.request_object = orders_refund_order_request_object
2628
2686
  command.response_representation = Google::Apis::ContentV2_1::OrdersRefundOrderResponse::Representation
@@ -2631,7 +2689,6 @@ module Google
2631
2689
  command.params['orderId'] = order_id unless order_id.nil?
2632
2690
  command.query['fields'] = fields unless fields.nil?
2633
2691
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2634
- command.query['userIp'] = user_ip unless user_ip.nil?
2635
2692
  execute_or_queue_command(command, &block)
2636
2693
  end
2637
2694
 
@@ -2645,10 +2702,8 @@ module Google
2645
2702
  # @param [String] fields
2646
2703
  # Selector specifying which fields to include in a partial response.
2647
2704
  # @param [String] quota_user
2648
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2649
- # characters.
2650
- # @param [String] user_ip
2651
- # Deprecated. Please use quotaUser instead.
2705
+ # Available to use for quota purposes for server-side applications. Can be any
2706
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2652
2707
  # @param [Google::Apis::RequestOptions] options
2653
2708
  # Request-specific options
2654
2709
  #
@@ -2661,8 +2716,8 @@ module Google
2661
2716
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2662
2717
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2663
2718
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2664
- def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2665
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
2719
+ def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2720
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
2666
2721
  command.request_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemRequest::Representation
2667
2722
  command.request_object = orders_reject_return_line_item_request_object
2668
2723
  command.response_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemResponse::Representation
@@ -2671,7 +2726,6 @@ module Google
2671
2726
  command.params['orderId'] = order_id unless order_id.nil?
2672
2727
  command.query['fields'] = fields unless fields.nil?
2673
2728
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2674
- command.query['userIp'] = user_ip unless user_ip.nil?
2675
2729
  execute_or_queue_command(command, &block)
2676
2730
  end
2677
2731
 
@@ -2690,10 +2744,8 @@ module Google
2690
2744
  # @param [String] fields
2691
2745
  # Selector specifying which fields to include in a partial response.
2692
2746
  # @param [String] quota_user
2693
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2694
- # characters.
2695
- # @param [String] user_ip
2696
- # Deprecated. Please use quotaUser instead.
2747
+ # Available to use for quota purposes for server-side applications. Can be any
2748
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2697
2749
  # @param [Google::Apis::RequestOptions] options
2698
2750
  # Request-specific options
2699
2751
  #
@@ -2706,8 +2758,8 @@ module Google
2706
2758
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2707
2759
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2708
2760
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2709
- def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2710
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
2761
+ def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2762
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/returnRefundLineItem', options)
2711
2763
  command.request_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemRequest::Representation
2712
2764
  command.request_object = orders_return_refund_line_item_request_object
2713
2765
  command.response_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemResponse::Representation
@@ -2716,7 +2768,6 @@ module Google
2716
2768
  command.params['orderId'] = order_id unless order_id.nil?
2717
2769
  command.query['fields'] = fields unless fields.nil?
2718
2770
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2719
- command.query['userIp'] = user_ip unless user_ip.nil?
2720
2771
  execute_or_queue_command(command, &block)
2721
2772
  end
2722
2773
 
@@ -2734,10 +2785,8 @@ module Google
2734
2785
  # @param [String] fields
2735
2786
  # Selector specifying which fields to include in a partial response.
2736
2787
  # @param [String] quota_user
2737
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2738
- # characters.
2739
- # @param [String] user_ip
2740
- # Deprecated. Please use quotaUser instead.
2788
+ # Available to use for quota purposes for server-side applications. Can be any
2789
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2741
2790
  # @param [Google::Apis::RequestOptions] options
2742
2791
  # Request-specific options
2743
2792
  #
@@ -2750,8 +2799,8 @@ module Google
2750
2799
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2751
2800
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2752
2801
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2753
- def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2754
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
2802
+ def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2803
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/setLineItemMetadata', options)
2755
2804
  command.request_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataRequest::Representation
2756
2805
  command.request_object = orders_set_line_item_metadata_request_object
2757
2806
  command.response_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataResponse::Representation
@@ -2760,7 +2809,6 @@ module Google
2760
2809
  command.params['orderId'] = order_id unless order_id.nil?
2761
2810
  command.query['fields'] = fields unless fields.nil?
2762
2811
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2763
- command.query['userIp'] = user_ip unless user_ip.nil?
2764
2812
  execute_or_queue_command(command, &block)
2765
2813
  end
2766
2814
 
@@ -2774,10 +2822,8 @@ module Google
2774
2822
  # @param [String] fields
2775
2823
  # Selector specifying which fields to include in a partial response.
2776
2824
  # @param [String] quota_user
2777
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2778
- # characters.
2779
- # @param [String] user_ip
2780
- # Deprecated. Please use quotaUser instead.
2825
+ # Available to use for quota purposes for server-side applications. Can be any
2826
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2781
2827
  # @param [Google::Apis::RequestOptions] options
2782
2828
  # Request-specific options
2783
2829
  #
@@ -2790,8 +2836,8 @@ module Google
2790
2836
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2791
2837
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2792
2838
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2793
- def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2794
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
2839
+ def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2840
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/shipLineItems', options)
2795
2841
  command.request_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsRequest::Representation
2796
2842
  command.request_object = orders_ship_line_items_request_object
2797
2843
  command.response_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsResponse::Representation
@@ -2800,7 +2846,6 @@ module Google
2800
2846
  command.params['orderId'] = order_id unless order_id.nil?
2801
2847
  command.query['fields'] = fields unless fields.nil?
2802
2848
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2803
- command.query['userIp'] = user_ip unless user_ip.nil?
2804
2849
  execute_or_queue_command(command, &block)
2805
2850
  end
2806
2851
 
@@ -2814,10 +2859,8 @@ module Google
2814
2859
  # @param [String] fields
2815
2860
  # Selector specifying which fields to include in a partial response.
2816
2861
  # @param [String] quota_user
2817
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2818
- # characters.
2819
- # @param [String] user_ip
2820
- # Deprecated. Please use quotaUser instead.
2862
+ # Available to use for quota purposes for server-side applications. Can be any
2863
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2821
2864
  # @param [Google::Apis::RequestOptions] options
2822
2865
  # Request-specific options
2823
2866
  #
@@ -2830,8 +2873,8 @@ module Google
2830
2873
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2831
2874
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2832
2875
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2833
- def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2834
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
2876
+ def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2877
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
2835
2878
  command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsRequest::Representation
2836
2879
  command.request_object = orders_update_line_item_shipping_details_request_object
2837
2880
  command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsResponse::Representation
@@ -2840,7 +2883,6 @@ module Google
2840
2883
  command.params['orderId'] = order_id unless order_id.nil?
2841
2884
  command.query['fields'] = fields unless fields.nil?
2842
2885
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2843
- command.query['userIp'] = user_ip unless user_ip.nil?
2844
2886
  execute_or_queue_command(command, &block)
2845
2887
  end
2846
2888
 
@@ -2854,10 +2896,8 @@ module Google
2854
2896
  # @param [String] fields
2855
2897
  # Selector specifying which fields to include in a partial response.
2856
2898
  # @param [String] quota_user
2857
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2858
- # characters.
2859
- # @param [String] user_ip
2860
- # Deprecated. Please use quotaUser instead.
2899
+ # Available to use for quota purposes for server-side applications. Can be any
2900
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2861
2901
  # @param [Google::Apis::RequestOptions] options
2862
2902
  # Request-specific options
2863
2903
  #
@@ -2870,8 +2910,8 @@ module Google
2870
2910
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2871
2911
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2872
2912
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2873
- def updatemerchantorderid_order(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2874
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
2913
+ def updatemerchantorderid_order(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2914
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
2875
2915
  command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdRequest::Representation
2876
2916
  command.request_object = orders_update_merchant_order_id_request_object
2877
2917
  command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdResponse::Representation
@@ -2880,7 +2920,6 @@ module Google
2880
2920
  command.params['orderId'] = order_id unless order_id.nil?
2881
2921
  command.query['fields'] = fields unless fields.nil?
2882
2922
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2883
- command.query['userIp'] = user_ip unless user_ip.nil?
2884
2923
  execute_or_queue_command(command, &block)
2885
2924
  end
2886
2925
 
@@ -2894,10 +2933,8 @@ module Google
2894
2933
  # @param [String] fields
2895
2934
  # Selector specifying which fields to include in a partial response.
2896
2935
  # @param [String] quota_user
2897
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2898
- # characters.
2899
- # @param [String] user_ip
2900
- # Deprecated. Please use quotaUser instead.
2936
+ # Available to use for quota purposes for server-side applications. Can be any
2937
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2901
2938
  # @param [Google::Apis::RequestOptions] options
2902
2939
  # Request-specific options
2903
2940
  #
@@ -2910,8 +2947,8 @@ module Google
2910
2947
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2911
2948
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2912
2949
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2913
- def updateshipment_order(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2914
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
2950
+ def updateshipment_order(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2951
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/updateShipment', options)
2915
2952
  command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentRequest::Representation
2916
2953
  command.request_object = orders_update_shipment_request_object
2917
2954
  command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentResponse::Representation
@@ -2920,7 +2957,39 @@ module Google
2920
2957
  command.params['orderId'] = order_id unless order_id.nil?
2921
2958
  command.query['fields'] = fields unless fields.nil?
2922
2959
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2923
- command.query['userIp'] = user_ip unless user_ip.nil?
2960
+ execute_or_queue_command(command, &block)
2961
+ end
2962
+
2963
+ # Creates new order tracking signal.
2964
+ # @param [Fixnum] merchant_id
2965
+ # The ID of the merchant for which the order signal is created.
2966
+ # @param [Google::Apis::ContentV2_1::OrderTrackingSignal] order_tracking_signal_object
2967
+ # @param [String] fields
2968
+ # Selector specifying which fields to include in a partial response.
2969
+ # @param [String] quota_user
2970
+ # Available to use for quota purposes for server-side applications. Can be any
2971
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2972
+ # @param [Google::Apis::RequestOptions] options
2973
+ # Request-specific options
2974
+ #
2975
+ # @yield [result, err] Result & error if block supplied
2976
+ # @yieldparam result [Google::Apis::ContentV2_1::OrderTrackingSignal] parsed result object
2977
+ # @yieldparam err [StandardError] error object if request failed
2978
+ #
2979
+ # @return [Google::Apis::ContentV2_1::OrderTrackingSignal]
2980
+ #
2981
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2982
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2983
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2984
+ def create_ordertrackingsignal(merchant_id, order_tracking_signal_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2985
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/ordertrackingsignals', options)
2986
+ command.request_representation = Google::Apis::ContentV2_1::OrderTrackingSignal::Representation
2987
+ command.request_object = order_tracking_signal_object
2988
+ command.response_representation = Google::Apis::ContentV2_1::OrderTrackingSignal::Representation
2989
+ command.response_class = Google::Apis::ContentV2_1::OrderTrackingSignal
2990
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2991
+ command.query['fields'] = fields unless fields.nil?
2992
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2924
2993
  execute_or_queue_command(command, &block)
2925
2994
  end
2926
2995
 
@@ -2929,10 +2998,8 @@ module Google
2929
2998
  # @param [String] fields
2930
2999
  # Selector specifying which fields to include in a partial response.
2931
3000
  # @param [String] quota_user
2932
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2933
- # characters.
2934
- # @param [String] user_ip
2935
- # Deprecated. Please use quotaUser instead.
3001
+ # Available to use for quota purposes for server-side applications. Can be any
3002
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2936
3003
  # @param [Google::Apis::RequestOptions] options
2937
3004
  # Request-specific options
2938
3005
  #
@@ -2945,15 +3012,14 @@ module Google
2945
3012
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2946
3013
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2947
3014
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2948
- def custombatch_po(pos_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2949
- command = make_simple_command(:post, 'pos/batch', options)
3015
+ def custombatch_po(pos_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3016
+ command = make_simple_command(:post, 'content/v2.1/pos/batch', options)
2950
3017
  command.request_representation = Google::Apis::ContentV2_1::PosCustomBatchRequest::Representation
2951
3018
  command.request_object = pos_custom_batch_request_object
2952
3019
  command.response_representation = Google::Apis::ContentV2_1::PosCustomBatchResponse::Representation
2953
3020
  command.response_class = Google::Apis::ContentV2_1::PosCustomBatchResponse
2954
3021
  command.query['fields'] = fields unless fields.nil?
2955
3022
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2956
- command.query['userIp'] = user_ip unless user_ip.nil?
2957
3023
  execute_or_queue_command(command, &block)
2958
3024
  end
2959
3025
 
@@ -2967,10 +3033,8 @@ module Google
2967
3033
  # @param [String] fields
2968
3034
  # Selector specifying which fields to include in a partial response.
2969
3035
  # @param [String] quota_user
2970
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2971
- # characters.
2972
- # @param [String] user_ip
2973
- # Deprecated. Please use quotaUser instead.
3036
+ # Available to use for quota purposes for server-side applications. Can be any
3037
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2974
3038
  # @param [Google::Apis::RequestOptions] options
2975
3039
  # Request-specific options
2976
3040
  #
@@ -2983,14 +3047,13 @@ module Google
2983
3047
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2984
3048
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2985
3049
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2986
- def delete_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2987
- command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
3050
+ def delete_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block)
3051
+ command = make_simple_command(:delete, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
2988
3052
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2989
3053
  command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
2990
3054
  command.params['storeCode'] = store_code unless store_code.nil?
2991
3055
  command.query['fields'] = fields unless fields.nil?
2992
3056
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2993
- command.query['userIp'] = user_ip unless user_ip.nil?
2994
3057
  execute_or_queue_command(command, &block)
2995
3058
  end
2996
3059
 
@@ -3004,10 +3067,8 @@ module Google
3004
3067
  # @param [String] fields
3005
3068
  # Selector specifying which fields to include in a partial response.
3006
3069
  # @param [String] quota_user
3007
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3008
- # characters.
3009
- # @param [String] user_ip
3010
- # Deprecated. Please use quotaUser instead.
3070
+ # Available to use for quota purposes for server-side applications. Can be any
3071
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3011
3072
  # @param [Google::Apis::RequestOptions] options
3012
3073
  # Request-specific options
3013
3074
  #
@@ -3020,8 +3081,8 @@ module Google
3020
3081
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3021
3082
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3022
3083
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3023
- def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3024
- command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
3084
+ def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block)
3085
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
3025
3086
  command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
3026
3087
  command.response_class = Google::Apis::ContentV2_1::PosStore
3027
3088
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3029,7 +3090,6 @@ module Google
3029
3090
  command.params['storeCode'] = store_code unless store_code.nil?
3030
3091
  command.query['fields'] = fields unless fields.nil?
3031
3092
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3032
- command.query['userIp'] = user_ip unless user_ip.nil?
3033
3093
  execute_or_queue_command(command, &block)
3034
3094
  end
3035
3095
 
@@ -3042,10 +3102,8 @@ module Google
3042
3102
  # @param [String] fields
3043
3103
  # Selector specifying which fields to include in a partial response.
3044
3104
  # @param [String] quota_user
3045
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3046
- # characters.
3047
- # @param [String] user_ip
3048
- # Deprecated. Please use quotaUser instead.
3105
+ # Available to use for quota purposes for server-side applications. Can be any
3106
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3049
3107
  # @param [Google::Apis::RequestOptions] options
3050
3108
  # Request-specific options
3051
3109
  #
@@ -3058,8 +3116,8 @@ module Google
3058
3116
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3059
3117
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3060
3118
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3061
- def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3062
- command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
3119
+ def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3120
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/store', options)
3063
3121
  command.request_representation = Google::Apis::ContentV2_1::PosStore::Representation
3064
3122
  command.request_object = pos_store_object
3065
3123
  command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
@@ -3068,7 +3126,6 @@ module Google
3068
3126
  command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
3069
3127
  command.query['fields'] = fields unless fields.nil?
3070
3128
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3071
- command.query['userIp'] = user_ip unless user_ip.nil?
3072
3129
  execute_or_queue_command(command, &block)
3073
3130
  end
3074
3131
 
@@ -3081,10 +3138,8 @@ module Google
3081
3138
  # @param [String] fields
3082
3139
  # Selector specifying which fields to include in a partial response.
3083
3140
  # @param [String] quota_user
3084
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3085
- # characters.
3086
- # @param [String] user_ip
3087
- # Deprecated. Please use quotaUser instead.
3141
+ # Available to use for quota purposes for server-side applications. Can be any
3142
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3088
3143
  # @param [Google::Apis::RequestOptions] options
3089
3144
  # Request-specific options
3090
3145
  #
@@ -3097,8 +3152,8 @@ module Google
3097
3152
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3098
3153
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3099
3154
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3100
- def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3101
- command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
3155
+ def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3156
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/inventory', options)
3102
3157
  command.request_representation = Google::Apis::ContentV2_1::PosInventoryRequest::Representation
3103
3158
  command.request_object = pos_inventory_request_object
3104
3159
  command.response_representation = Google::Apis::ContentV2_1::PosInventoryResponse::Representation
@@ -3107,7 +3162,6 @@ module Google
3107
3162
  command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
3108
3163
  command.query['fields'] = fields unless fields.nil?
3109
3164
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3110
- command.query['userIp'] = user_ip unless user_ip.nil?
3111
3165
  execute_or_queue_command(command, &block)
3112
3166
  end
3113
3167
 
@@ -3119,10 +3173,8 @@ module Google
3119
3173
  # @param [String] fields
3120
3174
  # Selector specifying which fields to include in a partial response.
3121
3175
  # @param [String] quota_user
3122
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3123
- # characters.
3124
- # @param [String] user_ip
3125
- # Deprecated. Please use quotaUser instead.
3176
+ # Available to use for quota purposes for server-side applications. Can be any
3177
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3126
3178
  # @param [Google::Apis::RequestOptions] options
3127
3179
  # Request-specific options
3128
3180
  #
@@ -3135,15 +3187,14 @@ module Google
3135
3187
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3136
3188
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3137
3189
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3138
- def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3139
- command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
3190
+ def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, options: nil, &block)
3191
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/store', options)
3140
3192
  command.response_representation = Google::Apis::ContentV2_1::PosListResponse::Representation
3141
3193
  command.response_class = Google::Apis::ContentV2_1::PosListResponse
3142
3194
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3143
3195
  command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
3144
3196
  command.query['fields'] = fields unless fields.nil?
3145
3197
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3146
- command.query['userIp'] = user_ip unless user_ip.nil?
3147
3198
  execute_or_queue_command(command, &block)
3148
3199
  end
3149
3200
 
@@ -3156,10 +3207,8 @@ module Google
3156
3207
  # @param [String] fields
3157
3208
  # Selector specifying which fields to include in a partial response.
3158
3209
  # @param [String] quota_user
3159
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3160
- # characters.
3161
- # @param [String] user_ip
3162
- # Deprecated. Please use quotaUser instead.
3210
+ # Available to use for quota purposes for server-side applications. Can be any
3211
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3163
3212
  # @param [Google::Apis::RequestOptions] options
3164
3213
  # Request-specific options
3165
3214
  #
@@ -3172,8 +3221,8 @@ module Google
3172
3221
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3173
3222
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3174
3223
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3175
- def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3176
- command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
3224
+ def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3225
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/sale', options)
3177
3226
  command.request_representation = Google::Apis::ContentV2_1::PosSaleRequest::Representation
3178
3227
  command.request_object = pos_sale_request_object
3179
3228
  command.response_representation = Google::Apis::ContentV2_1::PosSaleResponse::Representation
@@ -3182,7 +3231,6 @@ module Google
3182
3231
  command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
3183
3232
  command.query['fields'] = fields unless fields.nil?
3184
3233
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3185
- command.query['userIp'] = user_ip unless user_ip.nil?
3186
3234
  execute_or_queue_command(command, &block)
3187
3235
  end
3188
3236
 
@@ -3191,10 +3239,8 @@ module Google
3191
3239
  # @param [String] fields
3192
3240
  # Selector specifying which fields to include in a partial response.
3193
3241
  # @param [String] quota_user
3194
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3195
- # characters.
3196
- # @param [String] user_ip
3197
- # Deprecated. Please use quotaUser instead.
3242
+ # Available to use for quota purposes for server-side applications. Can be any
3243
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3198
3244
  # @param [Google::Apis::RequestOptions] options
3199
3245
  # Request-specific options
3200
3246
  #
@@ -3207,15 +3253,14 @@ module Google
3207
3253
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3208
3254
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3209
3255
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3210
- def custombatch_product(products_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3211
- command = make_simple_command(:post, 'products/batch', options)
3256
+ def custombatch_product(products_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3257
+ command = make_simple_command(:post, 'content/v2.1/products/batch', options)
3212
3258
  command.request_representation = Google::Apis::ContentV2_1::ProductsCustomBatchRequest::Representation
3213
3259
  command.request_object = products_custom_batch_request_object
3214
3260
  command.response_representation = Google::Apis::ContentV2_1::ProductsCustomBatchResponse::Representation
3215
3261
  command.response_class = Google::Apis::ContentV2_1::ProductsCustomBatchResponse
3216
3262
  command.query['fields'] = fields unless fields.nil?
3217
3263
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3218
- command.query['userIp'] = user_ip unless user_ip.nil?
3219
3264
  execute_or_queue_command(command, &block)
3220
3265
  end
3221
3266
 
@@ -3230,10 +3275,8 @@ module Google
3230
3275
  # @param [String] fields
3231
3276
  # Selector specifying which fields to include in a partial response.
3232
3277
  # @param [String] quota_user
3233
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3234
- # characters.
3235
- # @param [String] user_ip
3236
- # Deprecated. Please use quotaUser instead.
3278
+ # Available to use for quota purposes for server-side applications. Can be any
3279
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3237
3280
  # @param [Google::Apis::RequestOptions] options
3238
3281
  # Request-specific options
3239
3282
  #
@@ -3246,14 +3289,13 @@ module Google
3246
3289
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3247
3290
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3248
3291
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3249
- def delete_product(merchant_id, product_id, feed_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3250
- command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
3292
+ def delete_product(merchant_id, product_id, feed_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3293
+ command = make_simple_command(:delete, 'content/v2.1/{merchantId}/products/{productId}', options)
3251
3294
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3252
3295
  command.params['productId'] = product_id unless product_id.nil?
3253
3296
  command.query['feedId'] = feed_id unless feed_id.nil?
3254
3297
  command.query['fields'] = fields unless fields.nil?
3255
3298
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3256
- command.query['userIp'] = user_ip unless user_ip.nil?
3257
3299
  execute_or_queue_command(command, &block)
3258
3300
  end
3259
3301
 
@@ -3266,10 +3308,8 @@ module Google
3266
3308
  # @param [String] fields
3267
3309
  # Selector specifying which fields to include in a partial response.
3268
3310
  # @param [String] quota_user
3269
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3270
- # characters.
3271
- # @param [String] user_ip
3272
- # Deprecated. Please use quotaUser instead.
3311
+ # Available to use for quota purposes for server-side applications. Can be any
3312
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3273
3313
  # @param [Google::Apis::RequestOptions] options
3274
3314
  # Request-specific options
3275
3315
  #
@@ -3282,15 +3322,14 @@ module Google
3282
3322
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3283
3323
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3284
3324
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3285
- def get_product(merchant_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3286
- command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
3325
+ def get_product(merchant_id, product_id, fields: nil, quota_user: nil, options: nil, &block)
3326
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/products/{productId}', options)
3287
3327
  command.response_representation = Google::Apis::ContentV2_1::Product::Representation
3288
3328
  command.response_class = Google::Apis::ContentV2_1::Product
3289
3329
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3290
3330
  command.params['productId'] = product_id unless product_id.nil?
3291
3331
  command.query['fields'] = fields unless fields.nil?
3292
3332
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3293
- command.query['userIp'] = user_ip unless user_ip.nil?
3294
3333
  execute_or_queue_command(command, &block)
3295
3334
  end
3296
3335
 
@@ -3306,10 +3345,8 @@ module Google
3306
3345
  # @param [String] fields
3307
3346
  # Selector specifying which fields to include in a partial response.
3308
3347
  # @param [String] quota_user
3309
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3310
- # characters.
3311
- # @param [String] user_ip
3312
- # Deprecated. Please use quotaUser instead.
3348
+ # Available to use for quota purposes for server-side applications. Can be any
3349
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3313
3350
  # @param [Google::Apis::RequestOptions] options
3314
3351
  # Request-specific options
3315
3352
  #
@@ -3322,8 +3359,8 @@ module Google
3322
3359
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3323
3360
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3324
3361
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3325
- def insert_product(merchant_id, product_object = nil, feed_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3326
- command = make_simple_command(:post, '{merchantId}/products', options)
3362
+ def insert_product(merchant_id, product_object = nil, feed_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3363
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/products', options)
3327
3364
  command.request_representation = Google::Apis::ContentV2_1::Product::Representation
3328
3365
  command.request_object = product_object
3329
3366
  command.response_representation = Google::Apis::ContentV2_1::Product::Representation
@@ -3332,7 +3369,6 @@ module Google
3332
3369
  command.query['feedId'] = feed_id unless feed_id.nil?
3333
3370
  command.query['fields'] = fields unless fields.nil?
3334
3371
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3335
- command.query['userIp'] = user_ip unless user_ip.nil?
3336
3372
  execute_or_queue_command(command, &block)
3337
3373
  end
3338
3374
 
@@ -3349,10 +3385,8 @@ module Google
3349
3385
  # @param [String] fields
3350
3386
  # Selector specifying which fields to include in a partial response.
3351
3387
  # @param [String] quota_user
3352
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3353
- # characters.
3354
- # @param [String] user_ip
3355
- # Deprecated. Please use quotaUser instead.
3388
+ # Available to use for quota purposes for server-side applications. Can be any
3389
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3356
3390
  # @param [Google::Apis::RequestOptions] options
3357
3391
  # Request-specific options
3358
3392
  #
@@ -3365,8 +3399,8 @@ module Google
3365
3399
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3366
3400
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3367
3401
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3368
- def list_products(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3369
- command = make_simple_command(:get, '{merchantId}/products', options)
3402
+ def list_products(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3403
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/products', options)
3370
3404
  command.response_representation = Google::Apis::ContentV2_1::ProductsListResponse::Representation
3371
3405
  command.response_class = Google::Apis::ContentV2_1::ProductsListResponse
3372
3406
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3374,7 +3408,6 @@ module Google
3374
3408
  command.query['pageToken'] = page_token unless page_token.nil?
3375
3409
  command.query['fields'] = fields unless fields.nil?
3376
3410
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3377
- command.query['userIp'] = user_ip unless user_ip.nil?
3378
3411
  execute_or_queue_command(command, &block)
3379
3412
  end
3380
3413
 
@@ -3383,10 +3416,8 @@ module Google
3383
3416
  # @param [String] fields
3384
3417
  # Selector specifying which fields to include in a partial response.
3385
3418
  # @param [String] quota_user
3386
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3387
- # characters.
3388
- # @param [String] user_ip
3389
- # Deprecated. Please use quotaUser instead.
3419
+ # Available to use for quota purposes for server-side applications. Can be any
3420
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3390
3421
  # @param [Google::Apis::RequestOptions] options
3391
3422
  # Request-specific options
3392
3423
  #
@@ -3399,15 +3430,14 @@ module Google
3399
3430
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3400
3431
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3401
3432
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3402
- def custombatch_productstatus(productstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3403
- command = make_simple_command(:post, 'productstatuses/batch', options)
3433
+ def custombatch_productstatus(productstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3434
+ command = make_simple_command(:post, 'content/v2.1/productstatuses/batch', options)
3404
3435
  command.request_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchRequest::Representation
3405
3436
  command.request_object = productstatuses_custom_batch_request_object
3406
3437
  command.response_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse::Representation
3407
3438
  command.response_class = Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse
3408
3439
  command.query['fields'] = fields unless fields.nil?
3409
3440
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3410
- command.query['userIp'] = user_ip unless user_ip.nil?
3411
3441
  execute_or_queue_command(command, &block)
3412
3442
  end
3413
3443
 
@@ -3423,10 +3453,8 @@ module Google
3423
3453
  # @param [String] fields
3424
3454
  # Selector specifying which fields to include in a partial response.
3425
3455
  # @param [String] quota_user
3426
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3427
- # characters.
3428
- # @param [String] user_ip
3429
- # Deprecated. Please use quotaUser instead.
3456
+ # Available to use for quota purposes for server-side applications. Can be any
3457
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3430
3458
  # @param [Google::Apis::RequestOptions] options
3431
3459
  # Request-specific options
3432
3460
  #
@@ -3439,8 +3467,8 @@ module Google
3439
3467
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3440
3468
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3441
3469
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3442
- def get_productstatus(merchant_id, product_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3443
- command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
3470
+ def get_productstatus(merchant_id, product_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block)
3471
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/productstatuses/{productId}', options)
3444
3472
  command.response_representation = Google::Apis::ContentV2_1::ProductStatus::Representation
3445
3473
  command.response_class = Google::Apis::ContentV2_1::ProductStatus
3446
3474
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3448,7 +3476,6 @@ module Google
3448
3476
  command.query['destinations'] = destinations unless destinations.nil?
3449
3477
  command.query['fields'] = fields unless fields.nil?
3450
3478
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3451
- command.query['userIp'] = user_ip unless user_ip.nil?
3452
3479
  execute_or_queue_command(command, &block)
3453
3480
  end
3454
3481
 
@@ -3467,10 +3494,8 @@ module Google
3467
3494
  # @param [String] fields
3468
3495
  # Selector specifying which fields to include in a partial response.
3469
3496
  # @param [String] quota_user
3470
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3471
- # characters.
3472
- # @param [String] user_ip
3473
- # Deprecated. Please use quotaUser instead.
3497
+ # Available to use for quota purposes for server-side applications. Can be any
3498
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3474
3499
  # @param [Google::Apis::RequestOptions] options
3475
3500
  # Request-specific options
3476
3501
  #
@@ -3483,8 +3508,8 @@ module Google
3483
3508
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3484
3509
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3485
3510
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3486
- def list_productstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3487
- command = make_simple_command(:get, '{merchantId}/productstatuses', options)
3511
+ def list_productstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3512
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/productstatuses', options)
3488
3513
  command.response_representation = Google::Apis::ContentV2_1::ProductstatusesListResponse::Representation
3489
3514
  command.response_class = Google::Apis::ContentV2_1::ProductstatusesListResponse
3490
3515
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3493,7 +3518,6 @@ module Google
3493
3518
  command.query['pageToken'] = page_token unless page_token.nil?
3494
3519
  command.query['fields'] = fields unless fields.nil?
3495
3520
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3496
- command.query['userIp'] = user_ip unless user_ip.nil?
3497
3521
  execute_or_queue_command(command, &block)
3498
3522
  end
3499
3523
 
@@ -3503,10 +3527,8 @@ module Google
3503
3527
  # @param [String] fields
3504
3528
  # Selector specifying which fields to include in a partial response.
3505
3529
  # @param [String] quota_user
3506
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3507
- # characters.
3508
- # @param [String] user_ip
3509
- # Deprecated. Please use quotaUser instead.
3530
+ # Available to use for quota purposes for server-side applications. Can be any
3531
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3510
3532
  # @param [Google::Apis::RequestOptions] options
3511
3533
  # Request-specific options
3512
3534
  #
@@ -3519,14 +3541,13 @@ module Google
3519
3541
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3520
3542
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3521
3543
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3522
- def get_pubsubnotificationsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3523
- command = make_simple_command(:get, '{merchantId}/pubsubnotificationsettings', options)
3544
+ def get_pubsubnotificationsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
3545
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/pubsubnotificationsettings', options)
3524
3546
  command.response_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
3525
3547
  command.response_class = Google::Apis::ContentV2_1::PubsubNotificationSettings
3526
3548
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3527
3549
  command.query['fields'] = fields unless fields.nil?
3528
3550
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3529
- command.query['userIp'] = user_ip unless user_ip.nil?
3530
3551
  execute_or_queue_command(command, &block)
3531
3552
  end
3532
3553
 
@@ -3538,10 +3559,8 @@ module Google
3538
3559
  # @param [String] fields
3539
3560
  # Selector specifying which fields to include in a partial response.
3540
3561
  # @param [String] quota_user
3541
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3542
- # characters.
3543
- # @param [String] user_ip
3544
- # Deprecated. Please use quotaUser instead.
3562
+ # Available to use for quota purposes for server-side applications. Can be any
3563
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3545
3564
  # @param [Google::Apis::RequestOptions] options
3546
3565
  # Request-specific options
3547
3566
  #
@@ -3554,8 +3573,8 @@ module Google
3554
3573
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3555
3574
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3556
3575
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3557
- def update_pubsubnotificationsetting(merchant_id, pubsub_notification_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3558
- command = make_simple_command(:put, '{merchantId}/pubsubnotificationsettings', options)
3576
+ def update_pubsubnotificationsetting(merchant_id, pubsub_notification_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3577
+ command = make_simple_command(:put, 'content/v2.1/{merchantId}/pubsubnotificationsettings', options)
3559
3578
  command.request_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
3560
3579
  command.request_object = pubsub_notification_settings_object
3561
3580
  command.response_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
@@ -3563,7 +3582,6 @@ module Google
3563
3582
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3564
3583
  command.query['fields'] = fields unless fields.nil?
3565
3584
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3566
- command.query['userIp'] = user_ip unless user_ip.nil?
3567
3585
  execute_or_queue_command(command, &block)
3568
3586
  end
3569
3587
 
@@ -3573,10 +3591,8 @@ module Google
3573
3591
  # @param [String] fields
3574
3592
  # Selector specifying which fields to include in a partial response.
3575
3593
  # @param [String] quota_user
3576
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3577
- # characters.
3578
- # @param [String] user_ip
3579
- # Deprecated. Please use quotaUser instead.
3594
+ # Available to use for quota purposes for server-side applications. Can be any
3595
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3580
3596
  # @param [Google::Apis::RequestOptions] options
3581
3597
  # Request-specific options
3582
3598
  #
@@ -3589,15 +3605,14 @@ module Google
3589
3605
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3590
3606
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3591
3607
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3592
- def custombatch_regionalinventory(regionalinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3593
- command = make_simple_command(:post, 'regionalinventory/batch', options)
3608
+ def custombatch_regionalinventory(regionalinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3609
+ command = make_simple_command(:post, 'content/v2.1/regionalinventory/batch', options)
3594
3610
  command.request_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchRequest::Representation
3595
3611
  command.request_object = regionalinventory_custom_batch_request_object
3596
3612
  command.response_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse::Representation
3597
3613
  command.response_class = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse
3598
3614
  command.query['fields'] = fields unless fields.nil?
3599
3615
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3600
- command.query['userIp'] = user_ip unless user_ip.nil?
3601
3616
  execute_or_queue_command(command, &block)
3602
3617
  end
3603
3618
 
@@ -3613,10 +3628,8 @@ module Google
3613
3628
  # @param [String] fields
3614
3629
  # Selector specifying which fields to include in a partial response.
3615
3630
  # @param [String] quota_user
3616
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3617
- # characters.
3618
- # @param [String] user_ip
3619
- # Deprecated. Please use quotaUser instead.
3631
+ # Available to use for quota purposes for server-side applications. Can be any
3632
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3620
3633
  # @param [Google::Apis::RequestOptions] options
3621
3634
  # Request-specific options
3622
3635
  #
@@ -3629,8 +3642,8 @@ module Google
3629
3642
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3630
3643
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3631
3644
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3632
- def insert_regionalinventory(merchant_id, product_id, regional_inventory_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3633
- command = make_simple_command(:post, '{merchantId}/products/{productId}/regionalinventory', options)
3645
+ def insert_regionalinventory(merchant_id, product_id, regional_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3646
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/products/{productId}/regionalinventory', options)
3634
3647
  command.request_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
3635
3648
  command.request_object = regional_inventory_object
3636
3649
  command.response_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
@@ -3639,7 +3652,373 @@ module Google
3639
3652
  command.params['productId'] = product_id unless product_id.nil?
3640
3653
  command.query['fields'] = fields unless fields.nil?
3641
3654
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3642
- command.query['userIp'] = user_ip unless user_ip.nil?
3655
+ execute_or_queue_command(command, &block)
3656
+ end
3657
+
3658
+ # Creates a region definition in your Merchant Center account.
3659
+ # @param [Fixnum] merchant_id
3660
+ # Required. The id of the merchant for which to create region definition.
3661
+ # @param [Google::Apis::ContentV2_1::Region] region_object
3662
+ # @param [String] region_id
3663
+ # Required. The id of the region to create.
3664
+ # @param [String] fields
3665
+ # Selector specifying which fields to include in a partial response.
3666
+ # @param [String] quota_user
3667
+ # Available to use for quota purposes for server-side applications. Can be any
3668
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3669
+ # @param [Google::Apis::RequestOptions] options
3670
+ # Request-specific options
3671
+ #
3672
+ # @yield [result, err] Result & error if block supplied
3673
+ # @yieldparam result [Google::Apis::ContentV2_1::Region] parsed result object
3674
+ # @yieldparam err [StandardError] error object if request failed
3675
+ #
3676
+ # @return [Google::Apis::ContentV2_1::Region]
3677
+ #
3678
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3679
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3680
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3681
+ def create_region(merchant_id, region_object = nil, region_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3682
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/regions', options)
3683
+ command.request_representation = Google::Apis::ContentV2_1::Region::Representation
3684
+ command.request_object = region_object
3685
+ command.response_representation = Google::Apis::ContentV2_1::Region::Representation
3686
+ command.response_class = Google::Apis::ContentV2_1::Region
3687
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
3688
+ command.query['regionId'] = region_id unless region_id.nil?
3689
+ command.query['fields'] = fields unless fields.nil?
3690
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3691
+ execute_or_queue_command(command, &block)
3692
+ end
3693
+
3694
+ # Deletes a region definition from your Merchant Center account.
3695
+ # @param [Fixnum] merchant_id
3696
+ # Required. The id of the merchant for which to delete region definition.
3697
+ # @param [String] region_id
3698
+ # Required. The id of the region to delete.
3699
+ # @param [String] fields
3700
+ # Selector specifying which fields to include in a partial response.
3701
+ # @param [String] quota_user
3702
+ # Available to use for quota purposes for server-side applications. Can be any
3703
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3704
+ # @param [Google::Apis::RequestOptions] options
3705
+ # Request-specific options
3706
+ #
3707
+ # @yield [result, err] Result & error if block supplied
3708
+ # @yieldparam result [NilClass] No result returned for this method
3709
+ # @yieldparam err [StandardError] error object if request failed
3710
+ #
3711
+ # @return [void]
3712
+ #
3713
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3714
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3715
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3716
+ def delete_region(merchant_id, region_id, fields: nil, quota_user: nil, options: nil, &block)
3717
+ command = make_simple_command(:delete, 'content/v2.1/{merchantId}/regions/{regionId}', options)
3718
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
3719
+ command.params['regionId'] = region_id unless region_id.nil?
3720
+ command.query['fields'] = fields unless fields.nil?
3721
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3722
+ execute_or_queue_command(command, &block)
3723
+ end
3724
+
3725
+ # Retrieves a region defined in your Merchant Center account.
3726
+ # @param [Fixnum] merchant_id
3727
+ # Required. The id of the merchant for which to retrieve region definition.
3728
+ # @param [String] region_id
3729
+ # Required. The id of the region to retrieve.
3730
+ # @param [String] fields
3731
+ # Selector specifying which fields to include in a partial response.
3732
+ # @param [String] quota_user
3733
+ # Available to use for quota purposes for server-side applications. Can be any
3734
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3735
+ # @param [Google::Apis::RequestOptions] options
3736
+ # Request-specific options
3737
+ #
3738
+ # @yield [result, err] Result & error if block supplied
3739
+ # @yieldparam result [Google::Apis::ContentV2_1::Region] parsed result object
3740
+ # @yieldparam err [StandardError] error object if request failed
3741
+ #
3742
+ # @return [Google::Apis::ContentV2_1::Region]
3743
+ #
3744
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3745
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3746
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3747
+ def get_region(merchant_id, region_id, fields: nil, quota_user: nil, options: nil, &block)
3748
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/regions/{regionId}', options)
3749
+ command.response_representation = Google::Apis::ContentV2_1::Region::Representation
3750
+ command.response_class = Google::Apis::ContentV2_1::Region
3751
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
3752
+ command.params['regionId'] = region_id unless region_id.nil?
3753
+ command.query['fields'] = fields unless fields.nil?
3754
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3755
+ execute_or_queue_command(command, &block)
3756
+ end
3757
+
3758
+ # Lists the regions in your Merchant Center account.
3759
+ # @param [Fixnum] merchant_id
3760
+ # Required. The id of the merchant for which to list region definitions.
3761
+ # @param [Fixnum] page_size
3762
+ # The maximum number of regions to return. The service may return fewer than
3763
+ # this value. If unspecified, at most 50 rules will be returned. The maximum
3764
+ # value is 1000; values above 1000 will be coerced to 1000.
3765
+ # @param [String] page_token
3766
+ # A page token, received from a previous `ListRegions` call. Provide this to
3767
+ # retrieve the subsequent page. When paginating, all other parameters provided
3768
+ # to `ListRegions` must match the call that provided the page token.
3769
+ # @param [String] fields
3770
+ # Selector specifying which fields to include in a partial response.
3771
+ # @param [String] quota_user
3772
+ # Available to use for quota purposes for server-side applications. Can be any
3773
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3774
+ # @param [Google::Apis::RequestOptions] options
3775
+ # Request-specific options
3776
+ #
3777
+ # @yield [result, err] Result & error if block supplied
3778
+ # @yieldparam result [Google::Apis::ContentV2_1::ListRegionsResponse] parsed result object
3779
+ # @yieldparam err [StandardError] error object if request failed
3780
+ #
3781
+ # @return [Google::Apis::ContentV2_1::ListRegionsResponse]
3782
+ #
3783
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3784
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3785
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3786
+ def list_regions(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3787
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/regions', options)
3788
+ command.response_representation = Google::Apis::ContentV2_1::ListRegionsResponse::Representation
3789
+ command.response_class = Google::Apis::ContentV2_1::ListRegionsResponse
3790
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
3791
+ command.query['pageSize'] = page_size unless page_size.nil?
3792
+ command.query['pageToken'] = page_token unless page_token.nil?
3793
+ command.query['fields'] = fields unless fields.nil?
3794
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3795
+ execute_or_queue_command(command, &block)
3796
+ end
3797
+
3798
+ # Updates a region definition in your Merchant Center account.
3799
+ # @param [Fixnum] merchant_id
3800
+ # Required. The id of the merchant for which to update region definition.
3801
+ # @param [String] region_id
3802
+ # Required. The id of the region to update.
3803
+ # @param [Google::Apis::ContentV2_1::Region] region_object
3804
+ # @param [String] update_mask
3805
+ # Optional. The field mask indicating the fields to update.
3806
+ # @param [String] fields
3807
+ # Selector specifying which fields to include in a partial response.
3808
+ # @param [String] quota_user
3809
+ # Available to use for quota purposes for server-side applications. Can be any
3810
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3811
+ # @param [Google::Apis::RequestOptions] options
3812
+ # Request-specific options
3813
+ #
3814
+ # @yield [result, err] Result & error if block supplied
3815
+ # @yieldparam result [Google::Apis::ContentV2_1::Region] parsed result object
3816
+ # @yieldparam err [StandardError] error object if request failed
3817
+ #
3818
+ # @return [Google::Apis::ContentV2_1::Region]
3819
+ #
3820
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3821
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3822
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3823
+ def patch_region(merchant_id, region_id, region_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3824
+ command = make_simple_command(:patch, 'content/v2.1/{merchantId}/regions/{regionId}', options)
3825
+ command.request_representation = Google::Apis::ContentV2_1::Region::Representation
3826
+ command.request_object = region_object
3827
+ command.response_representation = Google::Apis::ContentV2_1::Region::Representation
3828
+ command.response_class = Google::Apis::ContentV2_1::Region
3829
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
3830
+ command.params['regionId'] = region_id unless region_id.nil?
3831
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3832
+ command.query['fields'] = fields unless fields.nil?
3833
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3834
+ execute_or_queue_command(command, &block)
3835
+ end
3836
+
3837
+ # Creates a repricing rule for your Merchant Center account.
3838
+ # @param [Fixnum] merchant_id
3839
+ # Required. The id of the merchant who owns the repricing rule.
3840
+ # @param [Google::Apis::ContentV2_1::RepricingRule] repricing_rule_object
3841
+ # @param [String] rule_id
3842
+ # Required. The id of the rule to create.
3843
+ # @param [String] fields
3844
+ # Selector specifying which fields to include in a partial response.
3845
+ # @param [String] quota_user
3846
+ # Available to use for quota purposes for server-side applications. Can be any
3847
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3848
+ # @param [Google::Apis::RequestOptions] options
3849
+ # Request-specific options
3850
+ #
3851
+ # @yield [result, err] Result & error if block supplied
3852
+ # @yieldparam result [Google::Apis::ContentV2_1::RepricingRule] parsed result object
3853
+ # @yieldparam err [StandardError] error object if request failed
3854
+ #
3855
+ # @return [Google::Apis::ContentV2_1::RepricingRule]
3856
+ #
3857
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3858
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3859
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3860
+ def create_repricingrule(merchant_id, repricing_rule_object = nil, rule_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3861
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/repricingrules', options)
3862
+ command.request_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
3863
+ command.request_object = repricing_rule_object
3864
+ command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
3865
+ command.response_class = Google::Apis::ContentV2_1::RepricingRule
3866
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
3867
+ command.query['ruleId'] = rule_id unless rule_id.nil?
3868
+ command.query['fields'] = fields unless fields.nil?
3869
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3870
+ execute_or_queue_command(command, &block)
3871
+ end
3872
+
3873
+ # Deletes a repricing rule in your Merchant Center account.
3874
+ # @param [Fixnum] merchant_id
3875
+ # Required. The id of the merchant who owns the repricing rule.
3876
+ # @param [String] rule_id
3877
+ # Required. The id of the rule to Delete.
3878
+ # @param [String] fields
3879
+ # Selector specifying which fields to include in a partial response.
3880
+ # @param [String] quota_user
3881
+ # Available to use for quota purposes for server-side applications. Can be any
3882
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3883
+ # @param [Google::Apis::RequestOptions] options
3884
+ # Request-specific options
3885
+ #
3886
+ # @yield [result, err] Result & error if block supplied
3887
+ # @yieldparam result [NilClass] No result returned for this method
3888
+ # @yieldparam err [StandardError] error object if request failed
3889
+ #
3890
+ # @return [void]
3891
+ #
3892
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3893
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3894
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3895
+ def delete_repricingrule(merchant_id, rule_id, fields: nil, quota_user: nil, options: nil, &block)
3896
+ command = make_simple_command(:delete, 'content/v2.1/{merchantId}/repricingrules/{ruleId}', options)
3897
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
3898
+ command.params['ruleId'] = rule_id unless rule_id.nil?
3899
+ command.query['fields'] = fields unless fields.nil?
3900
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3901
+ execute_or_queue_command(command, &block)
3902
+ end
3903
+
3904
+ # Retrieves a repricing rule from your Merchant Center account.
3905
+ # @param [Fixnum] merchant_id
3906
+ # Required. The id of the merchant who owns the repricing rule.
3907
+ # @param [String] rule_id
3908
+ # Required. The id of the rule to retrieve.
3909
+ # @param [String] fields
3910
+ # Selector specifying which fields to include in a partial response.
3911
+ # @param [String] quota_user
3912
+ # Available to use for quota purposes for server-side applications. Can be any
3913
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3914
+ # @param [Google::Apis::RequestOptions] options
3915
+ # Request-specific options
3916
+ #
3917
+ # @yield [result, err] Result & error if block supplied
3918
+ # @yieldparam result [Google::Apis::ContentV2_1::RepricingRule] parsed result object
3919
+ # @yieldparam err [StandardError] error object if request failed
3920
+ #
3921
+ # @return [Google::Apis::ContentV2_1::RepricingRule]
3922
+ #
3923
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3924
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3925
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3926
+ def get_repricingrule(merchant_id, rule_id, fields: nil, quota_user: nil, options: nil, &block)
3927
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/repricingrules/{ruleId}', options)
3928
+ command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
3929
+ command.response_class = Google::Apis::ContentV2_1::RepricingRule
3930
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
3931
+ command.params['ruleId'] = rule_id unless rule_id.nil?
3932
+ command.query['fields'] = fields unless fields.nil?
3933
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3934
+ execute_or_queue_command(command, &block)
3935
+ end
3936
+
3937
+ # Lists the repricing rules in your Merchant Center account.
3938
+ # @param [Fixnum] merchant_id
3939
+ # Required. The id of the merchant who owns the repricing rule.
3940
+ # @param [String] country_code
3941
+ # CLDR country code (e.g. "US"), used as a filter on repricing rules.
3942
+ # @param [String] language_code
3943
+ # The two-letter ISO 639-1 language code associated with the repricing rule,
3944
+ # used as a filter.
3945
+ # @param [Fixnum] page_size
3946
+ # The maximum number of repricing rules to return. The service may return fewer
3947
+ # than this value. If unspecified, at most 50 rules will be returned. The
3948
+ # maximum value is 1000; values above 1000 will be coerced to 1000.
3949
+ # @param [String] page_token
3950
+ # A page token, received from a previous `ListRepricingRules` call. Provide this
3951
+ # to retrieve the subsequent page. When paginating, all other parameters
3952
+ # provided to `ListRepricingRules` must match the call that provided the page
3953
+ # token.
3954
+ # @param [String] fields
3955
+ # Selector specifying which fields to include in a partial response.
3956
+ # @param [String] quota_user
3957
+ # Available to use for quota purposes for server-side applications. Can be any
3958
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3959
+ # @param [Google::Apis::RequestOptions] options
3960
+ # Request-specific options
3961
+ #
3962
+ # @yield [result, err] Result & error if block supplied
3963
+ # @yieldparam result [Google::Apis::ContentV2_1::ListRepricingRulesResponse] parsed result object
3964
+ # @yieldparam err [StandardError] error object if request failed
3965
+ #
3966
+ # @return [Google::Apis::ContentV2_1::ListRepricingRulesResponse]
3967
+ #
3968
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3969
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3970
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3971
+ def list_repricingrules(merchant_id, country_code: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3972
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/repricingrules', options)
3973
+ command.response_representation = Google::Apis::ContentV2_1::ListRepricingRulesResponse::Representation
3974
+ command.response_class = Google::Apis::ContentV2_1::ListRepricingRulesResponse
3975
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
3976
+ command.query['countryCode'] = country_code unless country_code.nil?
3977
+ command.query['languageCode'] = language_code unless language_code.nil?
3978
+ command.query['pageSize'] = page_size unless page_size.nil?
3979
+ command.query['pageToken'] = page_token unless page_token.nil?
3980
+ command.query['fields'] = fields unless fields.nil?
3981
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3982
+ execute_or_queue_command(command, &block)
3983
+ end
3984
+
3985
+ # Updates a repricing rule in your Merchant Center account. All mutable fields
3986
+ # will be overwritten in each update request. In each update, you must provide
3987
+ # all required mutable fields, or an error will be thrown. If you do not provide
3988
+ # an optional field in the update request, if that field currently exists, it
3989
+ # will be deleted from the rule.
3990
+ # @param [Fixnum] merchant_id
3991
+ # Required. The id of the merchant who owns the repricing rule.
3992
+ # @param [String] rule_id
3993
+ # Required. The id of the rule to update.
3994
+ # @param [Google::Apis::ContentV2_1::RepricingRule] repricing_rule_object
3995
+ # @param [String] fields
3996
+ # Selector specifying which fields to include in a partial response.
3997
+ # @param [String] quota_user
3998
+ # Available to use for quota purposes for server-side applications. Can be any
3999
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4000
+ # @param [Google::Apis::RequestOptions] options
4001
+ # Request-specific options
4002
+ #
4003
+ # @yield [result, err] Result & error if block supplied
4004
+ # @yieldparam result [Google::Apis::ContentV2_1::RepricingRule] parsed result object
4005
+ # @yieldparam err [StandardError] error object if request failed
4006
+ #
4007
+ # @return [Google::Apis::ContentV2_1::RepricingRule]
4008
+ #
4009
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4010
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4011
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4012
+ def patch_repricingrule(merchant_id, rule_id, repricing_rule_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4013
+ command = make_simple_command(:patch, 'content/v2.1/{merchantId}/repricingrules/{ruleId}', options)
4014
+ command.request_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
4015
+ command.request_object = repricing_rule_object
4016
+ command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
4017
+ command.response_class = Google::Apis::ContentV2_1::RepricingRule
4018
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
4019
+ command.params['ruleId'] = rule_id unless rule_id.nil?
4020
+ command.query['fields'] = fields unless fields.nil?
4021
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3643
4022
  execute_or_queue_command(command, &block)
3644
4023
  end
3645
4024
 
@@ -3648,10 +4027,8 @@ module Google
3648
4027
  # @param [String] fields
3649
4028
  # Selector specifying which fields to include in a partial response.
3650
4029
  # @param [String] quota_user
3651
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3652
- # characters.
3653
- # @param [String] user_ip
3654
- # Deprecated. Please use quotaUser instead.
4030
+ # Available to use for quota purposes for server-side applications. Can be any
4031
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3655
4032
  # @param [Google::Apis::RequestOptions] options
3656
4033
  # Request-specific options
3657
4034
  #
@@ -3664,15 +4041,14 @@ module Google
3664
4041
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3665
4042
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3666
4043
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3667
- def custombatch_returnaddress(returnaddress_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3668
- command = make_simple_command(:post, 'returnaddress/batch', options)
4044
+ def custombatch_returnaddress(returnaddress_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4045
+ command = make_simple_command(:post, 'content/v2.1/returnaddress/batch', options)
3669
4046
  command.request_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequest::Representation
3670
4047
  command.request_object = returnaddress_custom_batch_request_object
3671
4048
  command.response_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse::Representation
3672
4049
  command.response_class = Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse
3673
4050
  command.query['fields'] = fields unless fields.nil?
3674
4051
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3675
- command.query['userIp'] = user_ip unless user_ip.nil?
3676
4052
  execute_or_queue_command(command, &block)
3677
4053
  end
3678
4054
 
@@ -3684,10 +4060,8 @@ module Google
3684
4060
  # @param [String] fields
3685
4061
  # Selector specifying which fields to include in a partial response.
3686
4062
  # @param [String] quota_user
3687
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3688
- # characters.
3689
- # @param [String] user_ip
3690
- # Deprecated. Please use quotaUser instead.
4063
+ # Available to use for quota purposes for server-side applications. Can be any
4064
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3691
4065
  # @param [Google::Apis::RequestOptions] options
3692
4066
  # Request-specific options
3693
4067
  #
@@ -3700,13 +4074,12 @@ module Google
3700
4074
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3701
4075
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3702
4076
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3703
- def delete_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3704
- command = make_simple_command(:delete, '{merchantId}/returnaddress/{returnAddressId}', options)
4077
+ def delete_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil, &block)
4078
+ command = make_simple_command(:delete, 'content/v2.1/{merchantId}/returnaddress/{returnAddressId}', options)
3705
4079
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3706
4080
  command.params['returnAddressId'] = return_address_id unless return_address_id.nil?
3707
4081
  command.query['fields'] = fields unless fields.nil?
3708
4082
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3709
- command.query['userIp'] = user_ip unless user_ip.nil?
3710
4083
  execute_or_queue_command(command, &block)
3711
4084
  end
3712
4085
 
@@ -3718,10 +4091,8 @@ module Google
3718
4091
  # @param [String] fields
3719
4092
  # Selector specifying which fields to include in a partial response.
3720
4093
  # @param [String] quota_user
3721
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3722
- # characters.
3723
- # @param [String] user_ip
3724
- # Deprecated. Please use quotaUser instead.
4094
+ # Available to use for quota purposes for server-side applications. Can be any
4095
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3725
4096
  # @param [Google::Apis::RequestOptions] options
3726
4097
  # Request-specific options
3727
4098
  #
@@ -3734,15 +4105,14 @@ module Google
3734
4105
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3735
4106
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3736
4107
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3737
- def get_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3738
- command = make_simple_command(:get, '{merchantId}/returnaddress/{returnAddressId}', options)
4108
+ def get_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil, &block)
4109
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/returnaddress/{returnAddressId}', options)
3739
4110
  command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
3740
4111
  command.response_class = Google::Apis::ContentV2_1::ReturnAddress
3741
4112
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3742
4113
  command.params['returnAddressId'] = return_address_id unless return_address_id.nil?
3743
4114
  command.query['fields'] = fields unless fields.nil?
3744
4115
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3745
- command.query['userIp'] = user_ip unless user_ip.nil?
3746
4116
  execute_or_queue_command(command, &block)
3747
4117
  end
3748
4118
 
@@ -3753,10 +4123,8 @@ module Google
3753
4123
  # @param [String] fields
3754
4124
  # Selector specifying which fields to include in a partial response.
3755
4125
  # @param [String] quota_user
3756
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3757
- # characters.
3758
- # @param [String] user_ip
3759
- # Deprecated. Please use quotaUser instead.
4126
+ # Available to use for quota purposes for server-side applications. Can be any
4127
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3760
4128
  # @param [Google::Apis::RequestOptions] options
3761
4129
  # Request-specific options
3762
4130
  #
@@ -3769,8 +4137,8 @@ module Google
3769
4137
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3770
4138
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3771
4139
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3772
- def insert_returnaddress(merchant_id, return_address_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3773
- command = make_simple_command(:post, '{merchantId}/returnaddress', options)
4140
+ def insert_returnaddress(merchant_id, return_address_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4141
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/returnaddress', options)
3774
4142
  command.request_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
3775
4143
  command.request_object = return_address_object
3776
4144
  command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
@@ -3778,7 +4146,6 @@ module Google
3778
4146
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3779
4147
  command.query['fields'] = fields unless fields.nil?
3780
4148
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3781
- command.query['userIp'] = user_ip unless user_ip.nil?
3782
4149
  execute_or_queue_command(command, &block)
3783
4150
  end
3784
4151
 
@@ -3795,10 +4162,8 @@ module Google
3795
4162
  # @param [String] fields
3796
4163
  # Selector specifying which fields to include in a partial response.
3797
4164
  # @param [String] quota_user
3798
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3799
- # characters.
3800
- # @param [String] user_ip
3801
- # Deprecated. Please use quotaUser instead.
4165
+ # Available to use for quota purposes for server-side applications. Can be any
4166
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3802
4167
  # @param [Google::Apis::RequestOptions] options
3803
4168
  # Request-specific options
3804
4169
  #
@@ -3811,8 +4176,8 @@ module Google
3811
4176
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3812
4177
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3813
4178
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3814
- def list_returnaddresses(merchant_id, country: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3815
- command = make_simple_command(:get, '{merchantId}/returnaddress', options)
4179
+ def list_returnaddresses(merchant_id, country: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4180
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/returnaddress', options)
3816
4181
  command.response_representation = Google::Apis::ContentV2_1::ReturnaddressListResponse::Representation
3817
4182
  command.response_class = Google::Apis::ContentV2_1::ReturnaddressListResponse
3818
4183
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3821,7 +4186,6 @@ module Google
3821
4186
  command.query['pageToken'] = page_token unless page_token.nil?
3822
4187
  command.query['fields'] = fields unless fields.nil?
3823
4188
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3824
- command.query['userIp'] = user_ip unless user_ip.nil?
3825
4189
  execute_or_queue_command(command, &block)
3826
4190
  end
3827
4191
 
@@ -3830,10 +4194,8 @@ module Google
3830
4194
  # @param [String] fields
3831
4195
  # Selector specifying which fields to include in a partial response.
3832
4196
  # @param [String] quota_user
3833
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3834
- # characters.
3835
- # @param [String] user_ip
3836
- # Deprecated. Please use quotaUser instead.
4197
+ # Available to use for quota purposes for server-side applications. Can be any
4198
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3837
4199
  # @param [Google::Apis::RequestOptions] options
3838
4200
  # Request-specific options
3839
4201
  #
@@ -3846,15 +4208,14 @@ module Google
3846
4208
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3847
4209
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3848
4210
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3849
- def custombatch_returnpolicy(returnpolicy_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3850
- command = make_simple_command(:post, 'returnpolicy/batch', options)
4211
+ def custombatch_returnpolicy(returnpolicy_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4212
+ command = make_simple_command(:post, 'content/v2.1/returnpolicy/batch', options)
3851
4213
  command.request_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequest::Representation
3852
4214
  command.request_object = returnpolicy_custom_batch_request_object
3853
4215
  command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse::Representation
3854
4216
  command.response_class = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse
3855
4217
  command.query['fields'] = fields unless fields.nil?
3856
4218
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3857
- command.query['userIp'] = user_ip unless user_ip.nil?
3858
4219
  execute_or_queue_command(command, &block)
3859
4220
  end
3860
4221
 
@@ -3866,10 +4227,8 @@ module Google
3866
4227
  # @param [String] fields
3867
4228
  # Selector specifying which fields to include in a partial response.
3868
4229
  # @param [String] quota_user
3869
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3870
- # characters.
3871
- # @param [String] user_ip
3872
- # Deprecated. Please use quotaUser instead.
4230
+ # Available to use for quota purposes for server-side applications. Can be any
4231
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3873
4232
  # @param [Google::Apis::RequestOptions] options
3874
4233
  # Request-specific options
3875
4234
  #
@@ -3882,13 +4241,12 @@ module Google
3882
4241
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3883
4242
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3884
4243
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3885
- def delete_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3886
- command = make_simple_command(:delete, '{merchantId}/returnpolicy/{returnPolicyId}', options)
4244
+ def delete_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
4245
+ command = make_simple_command(:delete, 'content/v2.1/{merchantId}/returnpolicy/{returnPolicyId}', options)
3887
4246
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3888
4247
  command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil?
3889
4248
  command.query['fields'] = fields unless fields.nil?
3890
4249
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3891
- command.query['userIp'] = user_ip unless user_ip.nil?
3892
4250
  execute_or_queue_command(command, &block)
3893
4251
  end
3894
4252
 
@@ -3900,10 +4258,8 @@ module Google
3900
4258
  # @param [String] fields
3901
4259
  # Selector specifying which fields to include in a partial response.
3902
4260
  # @param [String] quota_user
3903
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3904
- # characters.
3905
- # @param [String] user_ip
3906
- # Deprecated. Please use quotaUser instead.
4261
+ # Available to use for quota purposes for server-side applications. Can be any
4262
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3907
4263
  # @param [Google::Apis::RequestOptions] options
3908
4264
  # Request-specific options
3909
4265
  #
@@ -3916,15 +4272,14 @@ module Google
3916
4272
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3917
4273
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3918
4274
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3919
- def get_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3920
- command = make_simple_command(:get, '{merchantId}/returnpolicy/{returnPolicyId}', options)
4275
+ def get_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
4276
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/returnpolicy/{returnPolicyId}', options)
3921
4277
  command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
3922
4278
  command.response_class = Google::Apis::ContentV2_1::ReturnPolicy
3923
4279
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3924
4280
  command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil?
3925
4281
  command.query['fields'] = fields unless fields.nil?
3926
4282
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3927
- command.query['userIp'] = user_ip unless user_ip.nil?
3928
4283
  execute_or_queue_command(command, &block)
3929
4284
  end
3930
4285
 
@@ -3935,10 +4290,8 @@ module Google
3935
4290
  # @param [String] fields
3936
4291
  # Selector specifying which fields to include in a partial response.
3937
4292
  # @param [String] quota_user
3938
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3939
- # characters.
3940
- # @param [String] user_ip
3941
- # Deprecated. Please use quotaUser instead.
4293
+ # Available to use for quota purposes for server-side applications. Can be any
4294
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3942
4295
  # @param [Google::Apis::RequestOptions] options
3943
4296
  # Request-specific options
3944
4297
  #
@@ -3951,8 +4304,8 @@ module Google
3951
4304
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3952
4305
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3953
4306
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3954
- def insert_returnpolicy(merchant_id, return_policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3955
- command = make_simple_command(:post, '{merchantId}/returnpolicy', options)
4307
+ def insert_returnpolicy(merchant_id, return_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4308
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/returnpolicy', options)
3956
4309
  command.request_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
3957
4310
  command.request_object = return_policy_object
3958
4311
  command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
@@ -3960,7 +4313,6 @@ module Google
3960
4313
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3961
4314
  command.query['fields'] = fields unless fields.nil?
3962
4315
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3963
- command.query['userIp'] = user_ip unless user_ip.nil?
3964
4316
  execute_or_queue_command(command, &block)
3965
4317
  end
3966
4318
 
@@ -3970,10 +4322,8 @@ module Google
3970
4322
  # @param [String] fields
3971
4323
  # Selector specifying which fields to include in a partial response.
3972
4324
  # @param [String] quota_user
3973
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3974
- # characters.
3975
- # @param [String] user_ip
3976
- # Deprecated. Please use quotaUser instead.
4325
+ # Available to use for quota purposes for server-side applications. Can be any
4326
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3977
4327
  # @param [Google::Apis::RequestOptions] options
3978
4328
  # Request-specific options
3979
4329
  #
@@ -3986,14 +4336,13 @@ module Google
3986
4336
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3987
4337
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3988
4338
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3989
- def list_returnpolicies(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3990
- command = make_simple_command(:get, '{merchantId}/returnpolicy', options)
4339
+ def list_returnpolicies(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
4340
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/returnpolicy', options)
3991
4341
  command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyListResponse::Representation
3992
4342
  command.response_class = Google::Apis::ContentV2_1::ReturnpolicyListResponse
3993
4343
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3994
4344
  command.query['fields'] = fields unless fields.nil?
3995
4345
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3996
- command.query['userIp'] = user_ip unless user_ip.nil?
3997
4346
  execute_or_queue_command(command, &block)
3998
4347
  end
3999
4348
 
@@ -4005,10 +4354,8 @@ module Google
4005
4354
  # @param [String] fields
4006
4355
  # Selector specifying which fields to include in a partial response.
4007
4356
  # @param [String] quota_user
4008
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4009
- # characters.
4010
- # @param [String] user_ip
4011
- # Deprecated. Please use quotaUser instead.
4357
+ # Available to use for quota purposes for server-side applications. Can be any
4358
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4012
4359
  # @param [Google::Apis::RequestOptions] options
4013
4360
  # Request-specific options
4014
4361
  #
@@ -4021,15 +4368,14 @@ module Google
4021
4368
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4022
4369
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4023
4370
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4024
- def get_settlementreport(merchant_id, settlement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4025
- command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}', options)
4371
+ def get_settlementreport(merchant_id, settlement_id, fields: nil, quota_user: nil, options: nil, &block)
4372
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/settlementreports/{settlementId}', options)
4026
4373
  command.response_representation = Google::Apis::ContentV2_1::SettlementReport::Representation
4027
4374
  command.response_class = Google::Apis::ContentV2_1::SettlementReport
4028
4375
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
4029
4376
  command.params['settlementId'] = settlement_id unless settlement_id.nil?
4030
4377
  command.query['fields'] = fields unless fields.nil?
4031
4378
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4032
- command.query['userIp'] = user_ip unless user_ip.nil?
4033
4379
  execute_or_queue_command(command, &block)
4034
4380
  end
4035
4381
 
@@ -4051,10 +4397,8 @@ module Google
4051
4397
  # @param [String] fields
4052
4398
  # Selector specifying which fields to include in a partial response.
4053
4399
  # @param [String] quota_user
4054
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4055
- # characters.
4056
- # @param [String] user_ip
4057
- # Deprecated. Please use quotaUser instead.
4400
+ # Available to use for quota purposes for server-side applications. Can be any
4401
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4058
4402
  # @param [Google::Apis::RequestOptions] options
4059
4403
  # Request-specific options
4060
4404
  #
@@ -4067,8 +4411,8 @@ module Google
4067
4411
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4068
4412
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4069
4413
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4070
- def list_settlementreports(merchant_id, max_results: nil, page_token: nil, transfer_end_date: nil, transfer_start_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4071
- command = make_simple_command(:get, '{merchantId}/settlementreports', options)
4414
+ def list_settlementreports(merchant_id, max_results: nil, page_token: nil, transfer_end_date: nil, transfer_start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
4415
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/settlementreports', options)
4072
4416
  command.response_representation = Google::Apis::ContentV2_1::SettlementreportsListResponse::Representation
4073
4417
  command.response_class = Google::Apis::ContentV2_1::SettlementreportsListResponse
4074
4418
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -4078,7 +4422,6 @@ module Google
4078
4422
  command.query['transferStartDate'] = transfer_start_date unless transfer_start_date.nil?
4079
4423
  command.query['fields'] = fields unless fields.nil?
4080
4424
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4081
- command.query['userIp'] = user_ip unless user_ip.nil?
4082
4425
  execute_or_queue_command(command, &block)
4083
4426
  end
4084
4427
 
@@ -4099,10 +4442,8 @@ module Google
4099
4442
  # @param [String] fields
4100
4443
  # Selector specifying which fields to include in a partial response.
4101
4444
  # @param [String] quota_user
4102
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4103
- # characters.
4104
- # @param [String] user_ip
4105
- # Deprecated. Please use quotaUser instead.
4445
+ # Available to use for quota purposes for server-side applications. Can be any
4446
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4106
4447
  # @param [Google::Apis::RequestOptions] options
4107
4448
  # Request-specific options
4108
4449
  #
@@ -4115,8 +4456,8 @@ module Google
4115
4456
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4116
4457
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4117
4458
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4118
- def list_settlementtransactions(merchant_id, settlement_id, max_results: nil, page_token: nil, transaction_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4119
- command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}/transactions', options)
4459
+ def list_settlementtransactions(merchant_id, settlement_id, max_results: nil, page_token: nil, transaction_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
4460
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/settlementreports/{settlementId}/transactions', options)
4120
4461
  command.response_representation = Google::Apis::ContentV2_1::SettlementtransactionsListResponse::Representation
4121
4462
  command.response_class = Google::Apis::ContentV2_1::SettlementtransactionsListResponse
4122
4463
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -4126,7 +4467,6 @@ module Google
4126
4467
  command.query['transactionIds'] = transaction_ids unless transaction_ids.nil?
4127
4468
  command.query['fields'] = fields unless fields.nil?
4128
4469
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4129
- command.query['userIp'] = user_ip unless user_ip.nil?
4130
4470
  execute_or_queue_command(command, &block)
4131
4471
  end
4132
4472
 
@@ -4136,10 +4476,8 @@ module Google
4136
4476
  # @param [String] fields
4137
4477
  # Selector specifying which fields to include in a partial response.
4138
4478
  # @param [String] quota_user
4139
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4140
- # characters.
4141
- # @param [String] user_ip
4142
- # Deprecated. Please use quotaUser instead.
4479
+ # Available to use for quota purposes for server-side applications. Can be any
4480
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4143
4481
  # @param [Google::Apis::RequestOptions] options
4144
4482
  # Request-specific options
4145
4483
  #
@@ -4152,15 +4490,14 @@ module Google
4152
4490
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4153
4491
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4154
4492
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4155
- def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4156
- command = make_simple_command(:post, 'shippingsettings/batch', options)
4493
+ def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4494
+ command = make_simple_command(:post, 'content/v2.1/shippingsettings/batch', options)
4157
4495
  command.request_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequest::Representation
4158
4496
  command.request_object = shippingsettings_custom_batch_request_object
4159
4497
  command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse::Representation
4160
4498
  command.response_class = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse
4161
4499
  command.query['fields'] = fields unless fields.nil?
4162
4500
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4163
- command.query['userIp'] = user_ip unless user_ip.nil?
4164
4501
  execute_or_queue_command(command, &block)
4165
4502
  end
4166
4503
 
@@ -4174,10 +4511,8 @@ module Google
4174
4511
  # @param [String] fields
4175
4512
  # Selector specifying which fields to include in a partial response.
4176
4513
  # @param [String] quota_user
4177
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4178
- # characters.
4179
- # @param [String] user_ip
4180
- # Deprecated. Please use quotaUser instead.
4514
+ # Available to use for quota purposes for server-side applications. Can be any
4515
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4181
4516
  # @param [Google::Apis::RequestOptions] options
4182
4517
  # Request-specific options
4183
4518
  #
@@ -4190,15 +4525,14 @@ module Google
4190
4525
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4191
4526
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4192
4527
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4193
- def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4194
- command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
4528
+ def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
4529
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/shippingsettings/{accountId}', options)
4195
4530
  command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
4196
4531
  command.response_class = Google::Apis::ContentV2_1::ShippingSettings
4197
4532
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
4198
4533
  command.params['accountId'] = account_id unless account_id.nil?
4199
4534
  command.query['fields'] = fields unless fields.nil?
4200
4535
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4201
- command.query['userIp'] = user_ip unless user_ip.nil?
4202
4536
  execute_or_queue_command(command, &block)
4203
4537
  end
4204
4538
 
@@ -4208,10 +4542,8 @@ module Google
4208
4542
  # @param [String] fields
4209
4543
  # Selector specifying which fields to include in a partial response.
4210
4544
  # @param [String] quota_user
4211
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4212
- # characters.
4213
- # @param [String] user_ip
4214
- # Deprecated. Please use quotaUser instead.
4545
+ # Available to use for quota purposes for server-side applications. Can be any
4546
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4215
4547
  # @param [Google::Apis::RequestOptions] options
4216
4548
  # Request-specific options
4217
4549
  #
@@ -4224,14 +4556,13 @@ module Google
4224
4556
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4225
4557
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4226
4558
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4227
- def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4228
- command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
4559
+ def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
4560
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/supportedCarriers', options)
4229
4561
  command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse::Representation
4230
4562
  command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse
4231
4563
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
4232
4564
  command.query['fields'] = fields unless fields.nil?
4233
4565
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4234
- command.query['userIp'] = user_ip unless user_ip.nil?
4235
4566
  execute_or_queue_command(command, &block)
4236
4567
  end
4237
4568
 
@@ -4241,10 +4572,8 @@ module Google
4241
4572
  # @param [String] fields
4242
4573
  # Selector specifying which fields to include in a partial response.
4243
4574
  # @param [String] quota_user
4244
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4245
- # characters.
4246
- # @param [String] user_ip
4247
- # Deprecated. Please use quotaUser instead.
4575
+ # Available to use for quota purposes for server-side applications. Can be any
4576
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4248
4577
  # @param [Google::Apis::RequestOptions] options
4249
4578
  # Request-specific options
4250
4579
  #
@@ -4257,14 +4586,13 @@ module Google
4257
4586
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4258
4587
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4259
4588
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4260
- def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4261
- command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
4589
+ def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
4590
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/supportedHolidays', options)
4262
4591
  command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse::Representation
4263
4592
  command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse
4264
4593
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
4265
4594
  command.query['fields'] = fields unless fields.nil?
4266
4595
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4267
- command.query['userIp'] = user_ip unless user_ip.nil?
4268
4596
  execute_or_queue_command(command, &block)
4269
4597
  end
4270
4598
 
@@ -4274,10 +4602,8 @@ module Google
4274
4602
  # @param [String] fields
4275
4603
  # Selector specifying which fields to include in a partial response.
4276
4604
  # @param [String] quota_user
4277
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4278
- # characters.
4279
- # @param [String] user_ip
4280
- # Deprecated. Please use quotaUser instead.
4605
+ # Available to use for quota purposes for server-side applications. Can be any
4606
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4281
4607
  # @param [Google::Apis::RequestOptions] options
4282
4608
  # Request-specific options
4283
4609
  #
@@ -4290,14 +4616,13 @@ module Google
4290
4616
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4291
4617
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4292
4618
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4293
- def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4294
- command = make_simple_command(:get, '{merchantId}/supportedPickupServices', options)
4619
+ def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
4620
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/supportedPickupServices', options)
4295
4621
  command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse::Representation
4296
4622
  command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse
4297
4623
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
4298
4624
  command.query['fields'] = fields unless fields.nil?
4299
4625
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4300
- command.query['userIp'] = user_ip unless user_ip.nil?
4301
4626
  execute_or_queue_command(command, &block)
4302
4627
  end
4303
4628
 
@@ -4313,10 +4638,8 @@ module Google
4313
4638
  # @param [String] fields
4314
4639
  # Selector specifying which fields to include in a partial response.
4315
4640
  # @param [String] quota_user
4316
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4317
- # characters.
4318
- # @param [String] user_ip
4319
- # Deprecated. Please use quotaUser instead.
4641
+ # Available to use for quota purposes for server-side applications. Can be any
4642
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4320
4643
  # @param [Google::Apis::RequestOptions] options
4321
4644
  # Request-specific options
4322
4645
  #
@@ -4329,8 +4652,8 @@ module Google
4329
4652
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4330
4653
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4331
4654
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4332
- def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4333
- command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
4655
+ def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4656
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/shippingsettings', options)
4334
4657
  command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsListResponse::Representation
4335
4658
  command.response_class = Google::Apis::ContentV2_1::ShippingsettingsListResponse
4336
4659
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -4338,7 +4661,6 @@ module Google
4338
4661
  command.query['pageToken'] = page_token unless page_token.nil?
4339
4662
  command.query['fields'] = fields unless fields.nil?
4340
4663
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4341
- command.query['userIp'] = user_ip unless user_ip.nil?
4342
4664
  execute_or_queue_command(command, &block)
4343
4665
  end
4344
4666
 
@@ -4354,10 +4676,8 @@ module Google
4354
4676
  # @param [String] fields
4355
4677
  # Selector specifying which fields to include in a partial response.
4356
4678
  # @param [String] quota_user
4357
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4358
- # characters.
4359
- # @param [String] user_ip
4360
- # Deprecated. Please use quotaUser instead.
4679
+ # Available to use for quota purposes for server-side applications. Can be any
4680
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4361
4681
  # @param [Google::Apis::RequestOptions] options
4362
4682
  # Request-specific options
4363
4683
  #
@@ -4370,8 +4690,8 @@ module Google
4370
4690
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4371
4691
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4372
4692
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4373
- def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4374
- command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
4693
+ def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4694
+ command = make_simple_command(:put, 'content/v2.1/{merchantId}/shippingsettings/{accountId}', options)
4375
4695
  command.request_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
4376
4696
  command.request_object = shipping_settings_object
4377
4697
  command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
@@ -4380,7 +4700,6 @@ module Google
4380
4700
  command.params['accountId'] = account_id unless account_id.nil?
4381
4701
  command.query['fields'] = fields unless fields.nil?
4382
4702
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4383
- command.query['userIp'] = user_ip unless user_ip.nil?
4384
4703
  execute_or_queue_command(command, &block)
4385
4704
  end
4386
4705
 
@@ -4389,7 +4708,6 @@ module Google
4389
4708
  def apply_command_defaults(command)
4390
4709
  command.query['key'] = key unless key.nil?
4391
4710
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4392
- command.query['userIp'] = user_ip unless user_ip.nil?
4393
4711
  end
4394
4712
  end
4395
4713
  end