google-api-client 0.43.0 → 0.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (964) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +1066 -184
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/api_names.yaml +1 -0
  11. data/bin/generate-api +77 -15
  12. data/docs/oauth-server.md +4 -6
  13. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  14. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  15. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  16. data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
  17. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  18. data/generated/google/apis/accessapproval_v1.rb +1 -1
  19. data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
  20. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  21. data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
  22. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  23. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  24. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  25. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  26. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
  27. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  28. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  29. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
  30. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
  31. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  32. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  33. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  34. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  35. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  36. data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
  37. data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
  38. data/generated/google/apis/admin_directory_v1/service.rb +607 -998
  39. data/generated/google/apis/admin_directory_v1.rb +6 -8
  40. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  41. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  42. data/generated/google/apis/admin_reports_v1.rb +6 -5
  43. data/generated/google/apis/admob_v1/classes.rb +31 -31
  44. data/generated/google/apis/admob_v1/service.rb +2 -1
  45. data/generated/google/apis/admob_v1.rb +6 -2
  46. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  47. data/generated/google/apis/adsense_v1_4.rb +1 -1
  48. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  49. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  50. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  51. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  52. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  53. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
  54. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
  55. data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
  56. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  57. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  58. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  59. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  60. data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
  61. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  62. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  63. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
  64. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  65. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  66. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  67. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  68. data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
  69. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  70. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  71. data/generated/google/apis/apigee_v1/classes.rb +630 -88
  72. data/generated/google/apis/apigee_v1/representations.rb +209 -1
  73. data/generated/google/apis/apigee_v1/service.rb +401 -74
  74. data/generated/google/apis/apigee_v1.rb +6 -7
  75. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  76. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  77. data/generated/google/apis/appengine_v1/service.rb +38 -47
  78. data/generated/google/apis/appengine_v1.rb +1 -1
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  80. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  81. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  82. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  83. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  84. data/generated/google/apis/appengine_v1beta.rb +1 -1
  85. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  86. data/generated/google/apis/appsmarket_v2.rb +1 -1
  87. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  88. data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
  89. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  90. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  91. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
  92. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
  93. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  94. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  95. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  96. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  97. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  98. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  99. data/generated/google/apis/bigquery_v2/classes.rb +593 -576
  100. data/generated/google/apis/bigquery_v2/representations.rb +85 -0
  101. data/generated/google/apis/bigquery_v2/service.rb +79 -41
  102. data/generated/google/apis/bigquery_v2.rb +1 -1
  103. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  104. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  105. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  106. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  107. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  108. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  109. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  110. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  111. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  112. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  113. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  114. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  115. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  116. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  117. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  118. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  119. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  120. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  121. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  122. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  123. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  124. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  125. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  126. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  127. data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
  128. data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
  129. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  130. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  131. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
  132. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  134. data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
  135. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  136. data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
  137. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  138. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
  139. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  140. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
  141. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  142. data/generated/google/apis/books_v1/service.rb +54 -54
  143. data/generated/google/apis/books_v1.rb +1 -1
  144. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  145. data/generated/google/apis/calendar_v3.rb +1 -1
  146. data/generated/google/apis/chat_v1/classes.rb +173 -116
  147. data/generated/google/apis/chat_v1/representations.rb +36 -0
  148. data/generated/google/apis/chat_v1/service.rb +30 -42
  149. data/generated/google/apis/chat_v1.rb +1 -1
  150. data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
  151. data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
  152. data/generated/google/apis/civicinfo_v2.rb +1 -1
  153. data/generated/google/apis/classroom_v1/classes.rb +153 -21
  154. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  155. data/generated/google/apis/classroom_v1/service.rb +240 -0
  156. data/generated/google/apis/classroom_v1.rb +7 -1
  157. data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
  158. data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
  159. data/generated/google/apis/cloudasset_v1/service.rb +296 -167
  160. data/generated/google/apis/cloudasset_v1.rb +1 -1
  161. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  162. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  163. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  164. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  165. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  166. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  167. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  168. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  169. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  170. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  171. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  172. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  173. data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
  174. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  175. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  176. data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
  177. data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
  178. data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
  179. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  180. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  181. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  182. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  183. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  184. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  185. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  186. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  187. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  188. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  189. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  190. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  191. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  192. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  193. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  194. data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
  195. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  196. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  197. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  198. data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
  199. data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
  200. data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
  201. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  202. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
  203. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
  204. data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
  205. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  206. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  207. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  208. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  209. data/generated/google/apis/cloudiot_v1.rb +1 -1
  210. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  211. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  212. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  213. data/generated/google/apis/cloudkms_v1.rb +1 -1
  214. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  215. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  216. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  217. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  218. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  219. data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
  220. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  221. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  222. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  223. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
  224. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  225. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  226. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  227. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  228. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  229. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  230. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  231. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  232. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  233. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  234. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  235. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  236. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  237. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  238. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  239. data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
  240. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  241. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  242. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  243. data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
  244. data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
  245. data/generated/google/apis/cloudshell_v1/service.rb +198 -25
  246. data/generated/google/apis/cloudshell_v1.rb +1 -1
  247. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  248. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  249. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  250. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  251. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  252. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  253. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  254. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  255. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  256. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  257. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  258. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  259. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  260. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  261. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  262. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  263. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  264. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  265. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  266. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  267. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  268. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  269. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  270. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  271. data/generated/google/apis/composer_v1/classes.rb +189 -242
  272. data/generated/google/apis/composer_v1/service.rb +79 -150
  273. data/generated/google/apis/composer_v1.rb +1 -1
  274. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  275. data/generated/google/apis/composer_v1beta1/service.rb +94 -179
  276. data/generated/google/apis/composer_v1beta1.rb +1 -1
  277. data/generated/google/apis/compute_alpha/classes.rb +1227 -186
  278. data/generated/google/apis/compute_alpha/representations.rb +235 -8
  279. data/generated/google/apis/compute_alpha/service.rb +2009 -1024
  280. data/generated/google/apis/compute_alpha.rb +1 -1
  281. data/generated/google/apis/compute_beta/classes.rb +1080 -108
  282. data/generated/google/apis/compute_beta/representations.rb +212 -2
  283. data/generated/google/apis/compute_beta/service.rb +1413 -741
  284. data/generated/google/apis/compute_beta.rb +1 -1
  285. data/generated/google/apis/compute_v1/classes.rb +1512 -106
  286. data/generated/google/apis/compute_v1/representations.rb +470 -1
  287. data/generated/google/apis/compute_v1/service.rb +1625 -285
  288. data/generated/google/apis/compute_v1.rb +1 -1
  289. data/generated/google/apis/container_v1/classes.rb +982 -965
  290. data/generated/google/apis/container_v1/representations.rb +60 -0
  291. data/generated/google/apis/container_v1/service.rb +435 -502
  292. data/generated/google/apis/container_v1.rb +1 -1
  293. data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
  294. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  295. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  296. data/generated/google/apis/container_v1beta1.rb +1 -1
  297. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  298. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  299. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  300. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  301. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  302. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  303. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  304. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  305. data/generated/google/apis/content_v2/classes.rb +515 -1219
  306. data/generated/google/apis/content_v2/service.rb +377 -650
  307. data/generated/google/apis/content_v2.rb +3 -4
  308. data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
  309. data/generated/google/apis/content_v2_1/representations.rb +288 -0
  310. data/generated/google/apis/content_v2_1/service.rb +987 -795
  311. data/generated/google/apis/content_v2_1.rb +3 -4
  312. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  313. data/generated/google/apis/customsearch_v1.rb +1 -1
  314. data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
  315. data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
  316. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  317. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  318. data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
  319. data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
  320. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  321. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  322. data/generated/google/apis/datafusion_v1/classes.rb +283 -397
  323. data/generated/google/apis/datafusion_v1/representations.rb +5 -0
  324. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  325. data/generated/google/apis/datafusion_v1.rb +5 -8
  326. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  327. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  328. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  329. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  330. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  331. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  332. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  333. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  334. data/generated/google/apis/dataproc_v1/classes.rb +97 -13
  335. data/generated/google/apis/dataproc_v1/representations.rb +34 -0
  336. data/generated/google/apis/dataproc_v1.rb +1 -1
  337. data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
  338. data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
  339. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  340. data/generated/google/apis/datastore_v1/classes.rb +334 -476
  341. data/generated/google/apis/datastore_v1/service.rb +52 -63
  342. data/generated/google/apis/datastore_v1.rb +1 -1
  343. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  344. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  345. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  346. data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
  347. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  348. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  349. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  350. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  351. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  352. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  353. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  354. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  355. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  356. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  357. data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
  358. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  359. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  360. data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
  361. data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
  362. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  363. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  364. data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
  365. data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
  366. data/generated/google/apis/dialogflow_v2.rb +1 -1
  367. data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
  368. data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
  369. data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
  370. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  371. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
  372. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
  373. data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
  374. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  375. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  376. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  377. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  378. data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
  379. data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
  380. data/generated/google/apis/displayvideo_v1/service.rb +287 -32
  381. data/generated/google/apis/displayvideo_v1.rb +1 -1
  382. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  383. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  384. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  385. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  386. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  387. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  388. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  389. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  390. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  391. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  392. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  393. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  394. data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
  395. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  396. data/generated/google/apis/dlp_v2/service.rb +962 -905
  397. data/generated/google/apis/dlp_v2.rb +1 -1
  398. data/generated/google/apis/dns_v1/classes.rb +356 -198
  399. data/generated/google/apis/dns_v1/representations.rb +83 -0
  400. data/generated/google/apis/dns_v1/service.rb +83 -98
  401. data/generated/google/apis/dns_v1.rb +2 -2
  402. data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
  403. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  404. data/generated/google/apis/dns_v1beta2/service.rb +83 -98
  405. data/generated/google/apis/dns_v1beta2.rb +2 -2
  406. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  407. data/generated/google/apis/docs_v1/service.rb +17 -22
  408. data/generated/google/apis/docs_v1.rb +1 -1
  409. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  410. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  411. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  412. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  413. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  414. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  415. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  416. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
  417. data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
  418. data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
  419. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  420. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  421. data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
  422. data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
  423. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  424. data/generated/google/apis/domains_v1beta1.rb +34 -0
  425. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  426. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  427. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  428. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
  429. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  430. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  431. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  432. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  433. data/generated/google/apis/drive_v2/classes.rb +18 -7
  434. data/generated/google/apis/drive_v2/representations.rb +1 -0
  435. data/generated/google/apis/drive_v2/service.rb +79 -15
  436. data/generated/google/apis/drive_v2.rb +1 -1
  437. data/generated/google/apis/drive_v3/classes.rb +18 -8
  438. data/generated/google/apis/drive_v3/representations.rb +1 -0
  439. data/generated/google/apis/drive_v3/service.rb +59 -11
  440. data/generated/google/apis/drive_v3.rb +1 -1
  441. data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
  442. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  443. data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
  444. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  445. data/generated/google/apis/file_v1/classes.rb +155 -174
  446. data/generated/google/apis/file_v1/service.rb +43 -52
  447. data/generated/google/apis/file_v1.rb +1 -1
  448. data/generated/google/apis/file_v1beta1/classes.rb +335 -194
  449. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  450. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  451. data/generated/google/apis/file_v1beta1.rb +1 -1
  452. data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
  453. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  454. data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
  455. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  456. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  457. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
  458. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  459. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  460. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  461. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
  462. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  464. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  465. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  466. data/generated/google/apis/firebaserules_v1.rb +1 -1
  467. data/generated/google/apis/firestore_v1/classes.rb +406 -502
  468. data/generated/google/apis/firestore_v1/service.rb +165 -201
  469. data/generated/google/apis/firestore_v1.rb +1 -1
  470. data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
  471. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  472. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  473. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  474. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  475. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  476. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  477. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  478. data/generated/google/apis/fitness_v1/service.rb +628 -0
  479. data/generated/google/apis/fitness_v1.rb +97 -0
  480. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  481. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  482. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  483. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  484. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  485. data/generated/google/apis/games_management_v1management.rb +2 -3
  486. data/generated/google/apis/games_v1/classes.rb +376 -83
  487. data/generated/google/apis/games_v1/representations.rb +118 -0
  488. data/generated/google/apis/games_v1/service.rb +118 -90
  489. data/generated/google/apis/games_v1.rb +2 -3
  490. data/generated/google/apis/gameservices_v1/classes.rb +22 -14
  491. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  492. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  493. data/generated/google/apis/gameservices_v1.rb +1 -1
  494. data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
  495. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  496. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  497. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  498. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  499. data/generated/google/apis/genomics_v1/service.rb +28 -43
  500. data/generated/google/apis/genomics_v1.rb +1 -1
  501. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  502. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  503. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  504. data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
  505. data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
  506. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  507. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  508. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  509. data/generated/google/apis/gmail_v1/service.rb +5 -4
  510. data/generated/google/apis/gmail_v1.rb +1 -1
  511. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
  512. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  513. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  514. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  515. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  516. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  517. data/generated/google/apis/healthcare_v1/classes.rb +637 -826
  518. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  519. data/generated/google/apis/healthcare_v1/service.rb +842 -855
  520. data/generated/google/apis/healthcare_v1.rb +1 -1
  521. data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
  522. data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
  523. data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
  524. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  525. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  526. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  527. data/generated/google/apis/homegraph_v1.rb +4 -1
  528. data/generated/google/apis/iam_v1/classes.rb +395 -592
  529. data/generated/google/apis/iam_v1/representations.rb +1 -0
  530. data/generated/google/apis/iam_v1/service.rb +427 -555
  531. data/generated/google/apis/iam_v1.rb +1 -1
  532. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  533. data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
  534. data/generated/google/apis/iamcredentials_v1.rb +3 -2
  535. data/generated/google/apis/iap_v1/classes.rb +253 -355
  536. data/generated/google/apis/iap_v1/representations.rb +1 -0
  537. data/generated/google/apis/iap_v1/service.rb +61 -71
  538. data/generated/google/apis/iap_v1.rb +1 -1
  539. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  540. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  541. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  542. data/generated/google/apis/iap_v1beta1.rb +1 -1
  543. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  544. data/generated/google/apis/indexing_v3.rb +1 -1
  545. data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
  546. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  547. data/generated/google/apis/jobs_v2/service.rb +85 -126
  548. data/generated/google/apis/jobs_v2.rb +1 -1
  549. data/generated/google/apis/jobs_v3/classes.rb +1559 -980
  550. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  551. data/generated/google/apis/jobs_v3/service.rb +101 -139
  552. data/generated/google/apis/jobs_v3.rb +1 -1
  553. data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
  554. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  555. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  556. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  557. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  558. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  559. data/generated/google/apis/kgsearch_v1.rb +1 -1
  560. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  561. data/generated/google/apis/licensing_v1/service.rb +56 -86
  562. data/generated/google/apis/licensing_v1.rb +4 -3
  563. data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
  564. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  565. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  566. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  567. data/generated/google/apis/localservices_v1/classes.rb +426 -0
  568. data/generated/google/apis/localservices_v1/representations.rb +174 -0
  569. data/generated/google/apis/localservices_v1/service.rb +199 -0
  570. data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
  571. data/generated/google/apis/logging_v2/classes.rb +306 -232
  572. data/generated/google/apis/logging_v2/representations.rb +79 -0
  573. data/generated/google/apis/logging_v2/service.rb +3307 -1579
  574. data/generated/google/apis/logging_v2.rb +1 -1
  575. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  576. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  577. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  578. data/generated/google/apis/managedidentities_v1.rb +1 -1
  579. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
  580. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
  581. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  582. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  583. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
  584. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
  585. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  586. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  587. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  588. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  589. data/generated/google/apis/manufacturers_v1.rb +1 -1
  590. data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
  591. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  592. data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
  593. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  594. data/generated/google/apis/ml_v1/classes.rb +1122 -1149
  595. data/generated/google/apis/ml_v1/representations.rb +82 -0
  596. data/generated/google/apis/ml_v1/service.rb +194 -253
  597. data/generated/google/apis/ml_v1.rb +1 -1
  598. data/generated/google/apis/monitoring_v1/classes.rb +107 -26
  599. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  600. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  601. data/generated/google/apis/monitoring_v1.rb +1 -1
  602. data/generated/google/apis/monitoring_v3/classes.rb +303 -345
  603. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  604. data/generated/google/apis/monitoring_v3/service.rb +176 -146
  605. data/generated/google/apis/monitoring_v3.rb +1 -1
  606. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  607. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  608. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  609. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  610. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  611. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  612. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  613. data/generated/google/apis/osconfig_v1/classes.rb +154 -902
  614. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  615. data/generated/google/apis/osconfig_v1/service.rb +26 -31
  616. data/generated/google/apis/osconfig_v1.rb +3 -3
  617. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  618. data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
  619. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  620. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  621. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  622. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  623. data/generated/google/apis/oslogin_v1.rb +1 -1
  624. data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
  625. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  626. data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
  627. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  628. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  629. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  630. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  631. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  632. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  633. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  634. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  635. data/generated/google/apis/people_v1/classes.rb +173 -63
  636. data/generated/google/apis/people_v1/representations.rb +41 -0
  637. data/generated/google/apis/people_v1/service.rb +63 -61
  638. data/generated/google/apis/people_v1.rb +1 -1
  639. data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
  640. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  641. data/generated/google/apis/playablelocations_v3.rb +1 -1
  642. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  643. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  644. data/generated/google/apis/poly_v1/classes.rb +65 -79
  645. data/generated/google/apis/poly_v1/service.rb +50 -63
  646. data/generated/google/apis/poly_v1.rb +3 -4
  647. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  648. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  649. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  650. data/generated/google/apis/privateca_v1beta1.rb +34 -0
  651. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
  652. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  653. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
  654. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  655. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  656. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  657. data/generated/google/apis/pubsub_v1/service.rb +221 -247
  658. data/generated/google/apis/pubsub_v1.rb +1 -1
  659. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  660. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  661. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  662. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  663. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  664. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  665. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  666. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  667. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  668. data/generated/google/apis/pubsublite_v1/service.rb +558 -0
  669. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  670. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  671. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  672. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  673. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  674. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
  675. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
  676. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  677. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  678. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  679. data/generated/google/apis/recommender_v1/service.rb +4 -2
  680. data/generated/google/apis/recommender_v1.rb +1 -1
  681. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  682. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  683. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  684. data/generated/google/apis/redis_v1/classes.rb +91 -513
  685. data/generated/google/apis/redis_v1/representations.rb +0 -139
  686. data/generated/google/apis/redis_v1/service.rb +92 -109
  687. data/generated/google/apis/redis_v1.rb +1 -1
  688. data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
  689. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  690. data/generated/google/apis/redis_v1beta1/service.rb +126 -109
  691. data/generated/google/apis/redis_v1beta1.rb +1 -1
  692. data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
  693. data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
  694. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  695. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  696. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
  697. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
  698. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  699. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  700. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
  701. data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
  702. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  703. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  704. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  705. data/generated/google/apis/reseller_v1/service.rb +122 -173
  706. data/generated/google/apis/reseller_v1.rb +2 -2
  707. data/generated/google/apis/run_v1/classes.rb +19 -138
  708. data/generated/google/apis/run_v1/representations.rb +1 -62
  709. data/generated/google/apis/run_v1/service.rb +0 -342
  710. data/generated/google/apis/run_v1.rb +1 -1
  711. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  712. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  713. data/generated/google/apis/run_v1alpha1.rb +1 -1
  714. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  715. data/generated/google/apis/run_v1beta1.rb +1 -1
  716. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
  717. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  718. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  719. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  720. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  721. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  722. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  723. data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
  724. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  725. data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
  726. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  727. data/generated/google/apis/script_v1/classes.rb +88 -111
  728. data/generated/google/apis/script_v1/service.rb +63 -69
  729. data/generated/google/apis/script_v1.rb +1 -1
  730. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  731. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  732. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  733. data/generated/google/apis/searchconsole_v1.rb +7 -1
  734. data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
  735. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  736. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  737. data/generated/google/apis/secretmanager_v1.rb +1 -1
  738. data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
  739. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  740. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  741. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  742. data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
  743. data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
  744. data/generated/google/apis/securitycenter_v1.rb +1 -1
  745. data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
  746. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
  747. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  748. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
  749. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
  750. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  751. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  752. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
  753. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  754. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  755. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  756. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
  757. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  758. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  759. data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
  760. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  761. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  762. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  763. data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
  764. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  765. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  766. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  767. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  768. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  769. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  770. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  771. data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
  772. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
  773. data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
  774. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  775. data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
  776. data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
  777. data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
  778. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  779. data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
  780. data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
  781. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  782. data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
  783. data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
  784. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  785. data/generated/google/apis/serviceusage_v1.rb +1 -1
  786. data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
  787. data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
  788. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  789. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  790. data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
  791. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  792. data/generated/google/apis/sheets_v4/service.rb +113 -149
  793. data/generated/google/apis/sheets_v4.rb +1 -1
  794. data/generated/google/apis/site_verification_v1.rb +1 -1
  795. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  796. data/generated/google/apis/slides_v1/service.rb +23 -30
  797. data/generated/google/apis/slides_v1.rb +1 -1
  798. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
  799. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
  800. data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
  801. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  802. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  803. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  804. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  805. data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
  806. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  807. data/generated/google/apis/spanner_v1/service.rb +443 -618
  808. data/generated/google/apis/spanner_v1.rb +1 -1
  809. data/generated/google/apis/speech_v1/classes.rb +174 -220
  810. data/generated/google/apis/speech_v1/service.rb +27 -32
  811. data/generated/google/apis/speech_v1.rb +1 -1
  812. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  813. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  814. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  815. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  816. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  817. data/generated/google/apis/speech_v2beta1.rb +1 -1
  818. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
  819. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
  820. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  821. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  822. data/generated/google/apis/storage_v1/classes.rb +10 -17
  823. data/generated/google/apis/storage_v1/representations.rb +2 -3
  824. data/generated/google/apis/storage_v1/service.rb +3 -2
  825. data/generated/google/apis/storage_v1.rb +1 -1
  826. data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
  827. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  828. data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
  829. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  830. data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
  831. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  832. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  833. data/generated/google/apis/sts_v1/classes.rb +121 -0
  834. data/generated/google/apis/sts_v1/representations.rb +59 -0
  835. data/generated/google/apis/sts_v1/service.rb +90 -0
  836. data/generated/google/apis/sts_v1.rb +32 -0
  837. data/generated/google/apis/sts_v1beta/classes.rb +191 -0
  838. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  839. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  840. data/generated/google/apis/sts_v1beta.rb +32 -0
  841. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  842. data/generated/google/apis/tagmanager_v1.rb +1 -1
  843. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  844. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  845. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  846. data/generated/google/apis/tagmanager_v2.rb +1 -1
  847. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  848. data/generated/google/apis/tasks_v1/service.rb +19 -19
  849. data/generated/google/apis/tasks_v1.rb +1 -1
  850. data/generated/google/apis/testing_v1/classes.rb +384 -390
  851. data/generated/google/apis/testing_v1/representations.rb +23 -0
  852. data/generated/google/apis/testing_v1/service.rb +22 -28
  853. data/generated/google/apis/testing_v1.rb +1 -1
  854. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  855. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  856. data/generated/google/apis/texttospeech_v1.rb +1 -1
  857. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  858. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  859. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  860. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  861. data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
  862. data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
  863. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  864. data/generated/google/apis/tpu_v1/classes.rb +57 -3
  865. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  866. data/generated/google/apis/tpu_v1/service.rb +8 -8
  867. data/generated/google/apis/tpu_v1.rb +1 -1
  868. data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
  869. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  870. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  871. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  872. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  873. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  874. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  875. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  876. data/generated/google/apis/translate_v3/classes.rb +151 -177
  877. data/generated/google/apis/translate_v3/service.rb +122 -151
  878. data/generated/google/apis/translate_v3.rb +1 -1
  879. data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
  880. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  881. data/generated/google/apis/translate_v3beta1.rb +1 -1
  882. data/generated/google/apis/vault_v1/classes.rb +413 -103
  883. data/generated/google/apis/vault_v1/representations.rb +162 -0
  884. data/generated/google/apis/vault_v1/service.rb +182 -37
  885. data/generated/google/apis/vault_v1.rb +1 -1
  886. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  887. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  888. data/generated/google/apis/vectortile_v1.rb +1 -1
  889. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  890. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  891. data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
  892. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  893. data/generated/google/apis/videointelligence_v1/service.rb +38 -77
  894. data/generated/google/apis/videointelligence_v1.rb +1 -1
  895. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
  896. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  897. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  898. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  899. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
  900. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  901. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  902. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  903. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
  904. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  905. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  906. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  907. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
  908. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  909. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  910. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  911. data/generated/google/apis/vision_v1/classes.rb +16 -16
  912. data/generated/google/apis/vision_v1.rb +1 -1
  913. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  914. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  915. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  916. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  917. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  918. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  919. data/generated/google/apis/webfonts_v1.rb +2 -3
  920. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  921. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  922. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  923. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  924. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  925. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
  926. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  927. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  928. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  929. data/generated/google/apis/workflows_v1beta/service.rb +438 -0
  930. data/generated/google/apis/workflows_v1beta.rb +35 -0
  931. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  932. data/generated/google/apis/youtube_v3/classes.rb +0 -586
  933. data/generated/google/apis/youtube_v3/representations.rb +0 -269
  934. data/generated/google/apis/youtube_v3/service.rb +3 -120
  935. data/generated/google/apis/youtube_v3.rb +1 -1
  936. data/google-api-client.gemspec +25 -24
  937. data/lib/google/apis/core/api_command.rb +1 -0
  938. data/lib/google/apis/core/http_command.rb +2 -1
  939. data/lib/google/apis/options.rb +8 -5
  940. data/lib/google/apis/version.rb +1 -1
  941. data/synth.py +40 -0
  942. metadata +134 -41
  943. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  944. data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
  945. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  946. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  947. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  948. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  949. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  950. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  951. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  952. data/generated/google/apis/dns_v2beta1.rb +0 -43
  953. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  954. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  955. data/generated/google/apis/plus_v1/representations.rb +0 -907
  956. data/generated/google/apis/plus_v1/service.rb +0 -451
  957. data/generated/google/apis/plus_v1.rb +0 -43
  958. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  959. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  960. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  961. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  962. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  963. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
  964. data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -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
 
@@ -204,13 +187,14 @@ module Google
204
187
  # ID of a sub-account of this account.
205
188
  # @param [Fixnum] account_id
206
189
  # The ID of the account.
190
+ # @param [String] view
191
+ # Controls which fields will be populated. Acceptable values are: "merchant" and
192
+ # "css". The default value is "merchant".
207
193
  # @param [String] fields
208
194
  # Selector specifying which fields to include in a partial response.
209
195
  # @param [String] quota_user
210
- # An opaque string that represents a user for quota purposes. Must not exceed 40
211
- # characters.
212
- # @param [String] user_ip
213
- # 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.
214
198
  # @param [Google::Apis::RequestOptions] options
215
199
  # Request-specific options
216
200
  #
@@ -223,15 +207,15 @@ module Google
223
207
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
224
208
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
225
209
  # @raise [Google::Apis::AuthorizationError] Authorization is required
226
- def get_account(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
227
- 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)
228
212
  command.response_representation = Google::Apis::ContentV2_1::Account::Representation
229
213
  command.response_class = Google::Apis::ContentV2_1::Account
230
214
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
231
215
  command.params['accountId'] = account_id unless account_id.nil?
216
+ command.query['view'] = view unless view.nil?
232
217
  command.query['fields'] = fields unless fields.nil?
233
218
  command.query['quotaUser'] = quota_user unless quota_user.nil?
234
- command.query['userIp'] = user_ip unless user_ip.nil?
235
219
  execute_or_queue_command(command, &block)
236
220
  end
237
221
 
@@ -242,10 +226,8 @@ module Google
242
226
  # @param [String] fields
243
227
  # Selector specifying which fields to include in a partial response.
244
228
  # @param [String] quota_user
245
- # An opaque string that represents a user for quota purposes. Must not exceed 40
246
- # characters.
247
- # @param [String] user_ip
248
- # 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.
249
231
  # @param [Google::Apis::RequestOptions] options
250
232
  # Request-specific options
251
233
  #
@@ -258,8 +240,8 @@ module Google
258
240
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
259
241
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
260
242
  # @raise [Google::Apis::AuthorizationError] Authorization is required
261
- def insert_account(merchant_id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
262
- 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)
263
245
  command.request_representation = Google::Apis::ContentV2_1::Account::Representation
264
246
  command.request_object = account_object
265
247
  command.response_representation = Google::Apis::ContentV2_1::Account::Representation
@@ -267,7 +249,6 @@ module Google
267
249
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
268
250
  command.query['fields'] = fields unless fields.nil?
269
251
  command.query['quotaUser'] = quota_user unless quota_user.nil?
270
- command.query['userIp'] = user_ip unless user_ip.nil?
271
252
  execute_or_queue_command(command, &block)
272
253
  end
273
254
 
@@ -283,10 +264,8 @@ module Google
283
264
  # @param [String] fields
284
265
  # Selector specifying which fields to include in a partial response.
285
266
  # @param [String] quota_user
286
- # An opaque string that represents a user for quota purposes. Must not exceed 40
287
- # characters.
288
- # @param [String] user_ip
289
- # 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.
290
269
  # @param [Google::Apis::RequestOptions] options
291
270
  # Request-specific options
292
271
  #
@@ -299,8 +278,8 @@ module Google
299
278
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
300
279
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
301
280
  # @raise [Google::Apis::AuthorizationError] Authorization is required
302
- def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
303
- 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)
304
283
  command.request_representation = Google::Apis::ContentV2_1::AccountsLinkRequest::Representation
305
284
  command.request_object = accounts_link_request_object
306
285
  command.response_representation = Google::Apis::ContentV2_1::AccountsLinkResponse::Representation
@@ -309,24 +288,27 @@ module Google
309
288
  command.params['accountId'] = account_id unless account_id.nil?
310
289
  command.query['fields'] = fields unless fields.nil?
311
290
  command.query['quotaUser'] = quota_user unless quota_user.nil?
312
- command.query['userIp'] = user_ip unless user_ip.nil?
313
291
  execute_or_queue_command(command, &block)
314
292
  end
315
293
 
316
294
  # Lists the sub-accounts in your Merchant Center account.
317
295
  # @param [Fixnum] merchant_id
318
296
  # The ID of the managing account. This must be a multi-client account.
297
+ # @param [Fixnum] label
298
+ # If view is set to "css", only return accounts that are assigned label with
299
+ # given ID.
319
300
  # @param [Fixnum] max_results
320
301
  # The maximum number of accounts to return in the response, used for paging.
321
302
  # @param [String] page_token
322
303
  # The token returned by the previous request.
304
+ # @param [String] view
305
+ # Controls which fields will be populated. Acceptable values are: "merchant" and
306
+ # "css". The default value is "merchant".
323
307
  # @param [String] fields
324
308
  # Selector specifying which fields to include in a partial response.
325
309
  # @param [String] quota_user
326
- # An opaque string that represents a user for quota purposes. Must not exceed 40
327
- # characters.
328
- # @param [String] user_ip
329
- # 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.
330
312
  # @param [Google::Apis::RequestOptions] options
331
313
  # Request-specific options
332
314
  #
@@ -339,16 +321,17 @@ module Google
339
321
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
340
322
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
341
323
  # @raise [Google::Apis::AuthorizationError] Authorization is required
342
- def list_accounts(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
343
- 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)
344
326
  command.response_representation = Google::Apis::ContentV2_1::AccountsListResponse::Representation
345
327
  command.response_class = Google::Apis::ContentV2_1::AccountsListResponse
346
328
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
329
+ command.query['label'] = label unless label.nil?
347
330
  command.query['maxResults'] = max_results unless max_results.nil?
348
331
  command.query['pageToken'] = page_token unless page_token.nil?
332
+ command.query['view'] = view unless view.nil?
349
333
  command.query['fields'] = fields unless fields.nil?
350
334
  command.query['quotaUser'] = quota_user unless quota_user.nil?
351
- command.query['userIp'] = user_ip unless user_ip.nil?
352
335
  execute_or_queue_command(command, &block)
353
336
  end
354
337
 
@@ -366,10 +349,8 @@ module Google
366
349
  # @param [String] fields
367
350
  # Selector specifying which fields to include in a partial response.
368
351
  # @param [String] quota_user
369
- # An opaque string that represents a user for quota purposes. Must not exceed 40
370
- # characters.
371
- # @param [String] user_ip
372
- # 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.
373
354
  # @param [Google::Apis::RequestOptions] options
374
355
  # Request-specific options
375
356
  #
@@ -382,8 +363,8 @@ module Google
382
363
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
383
364
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
384
365
  # @raise [Google::Apis::AuthorizationError] Authorization is required
385
- def listlinks_account(merchant_id, account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
386
- 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)
387
368
  command.response_representation = Google::Apis::ContentV2_1::AccountsListLinksResponse::Representation
388
369
  command.response_class = Google::Apis::ContentV2_1::AccountsListLinksResponse
389
370
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -392,7 +373,6 @@ module Google
392
373
  command.query['pageToken'] = page_token unless page_token.nil?
393
374
  command.query['fields'] = fields unless fields.nil?
394
375
  command.query['quotaUser'] = quota_user unless quota_user.nil?
395
- command.query['userIp'] = user_ip unless user_ip.nil?
396
376
  execute_or_queue_command(command, &block)
397
377
  end
398
378
 
@@ -408,10 +388,8 @@ module Google
408
388
  # @param [String] fields
409
389
  # Selector specifying which fields to include in a partial response.
410
390
  # @param [String] quota_user
411
- # An opaque string that represents a user for quota purposes. Must not exceed 40
412
- # characters.
413
- # @param [String] user_ip
414
- # 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.
415
393
  # @param [Google::Apis::RequestOptions] options
416
394
  # Request-specific options
417
395
  #
@@ -424,8 +402,8 @@ module Google
424
402
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
425
403
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
426
404
  # @raise [Google::Apis::AuthorizationError] Authorization is required
427
- def update_account(merchant_id, account_id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
428
- 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)
429
407
  command.request_representation = Google::Apis::ContentV2_1::Account::Representation
430
408
  command.request_object = account_object
431
409
  command.response_representation = Google::Apis::ContentV2_1::Account::Representation
@@ -434,7 +412,183 @@ module Google
434
412
  command.params['accountId'] = account_id unless account_id.nil?
435
413
  command.query['fields'] = fields unless fields.nil?
436
414
  command.query['quotaUser'] = quota_user unless quota_user.nil?
437
- command.query['userIp'] = user_ip unless user_ip.nil?
415
+ execute_or_queue_command(command, &block)
416
+ end
417
+
418
+ # Updates labels that are assigned to the Merchant Center account by CSS user.
419
+ # @param [Fixnum] merchant_id
420
+ # The ID of the managing account.
421
+ # @param [Fixnum] account_id
422
+ # The ID of the account whose labels are updated.
423
+ # @param [Google::Apis::ContentV2_1::AccountsUpdateLabelsRequest] accounts_update_labels_request_object
424
+ # @param [String] fields
425
+ # Selector specifying which fields to include in a partial response.
426
+ # @param [String] quota_user
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.
429
+ # @param [Google::Apis::RequestOptions] options
430
+ # Request-specific options
431
+ #
432
+ # @yield [result, err] Result & error if block supplied
433
+ # @yieldparam result [Google::Apis::ContentV2_1::AccountsUpdateLabelsResponse] parsed result object
434
+ # @yieldparam err [StandardError] error object if request failed
435
+ #
436
+ # @return [Google::Apis::ContentV2_1::AccountsUpdateLabelsResponse]
437
+ #
438
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
439
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
440
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
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)
443
+ command.request_representation = Google::Apis::ContentV2_1::AccountsUpdateLabelsRequest::Representation
444
+ command.request_object = accounts_update_labels_request_object
445
+ command.response_representation = Google::Apis::ContentV2_1::AccountsUpdateLabelsResponse::Representation
446
+ command.response_class = Google::Apis::ContentV2_1::AccountsUpdateLabelsResponse
447
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
448
+ command.params['accountId'] = account_id unless account_id.nil?
449
+ command.query['fields'] = fields unless fields.nil?
450
+ command.query['quotaUser'] = quota_user unless quota_user.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?
438
592
  execute_or_queue_command(command, &block)
439
593
  end
440
594
 
@@ -443,10 +597,8 @@ module Google
443
597
  # @param [String] fields
444
598
  # Selector specifying which fields to include in a partial response.
445
599
  # @param [String] quota_user
446
- # An opaque string that represents a user for quota purposes. Must not exceed 40
447
- # characters.
448
- # @param [String] user_ip
449
- # 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.
450
602
  # @param [Google::Apis::RequestOptions] options
451
603
  # Request-specific options
452
604
  #
@@ -459,15 +611,14 @@ module Google
459
611
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
460
612
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
461
613
  # @raise [Google::Apis::AuthorizationError] Authorization is required
462
- def custombatch_accountstatus(accountstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
463
- 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)
464
616
  command.request_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchRequest::Representation
465
617
  command.request_object = accountstatuses_custom_batch_request_object
466
618
  command.response_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponse::Representation
467
619
  command.response_class = Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponse
468
620
  command.query['fields'] = fields unless fields.nil?
469
621
  command.query['quotaUser'] = quota_user unless quota_user.nil?
470
- command.query['userIp'] = user_ip unless user_ip.nil?
471
622
  execute_or_queue_command(command, &block)
472
623
  end
473
624
 
@@ -485,10 +636,8 @@ module Google
485
636
  # @param [String] fields
486
637
  # Selector specifying which fields to include in a partial response.
487
638
  # @param [String] quota_user
488
- # An opaque string that represents a user for quota purposes. Must not exceed 40
489
- # characters.
490
- # @param [String] user_ip
491
- # 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.
492
641
  # @param [Google::Apis::RequestOptions] options
493
642
  # Request-specific options
494
643
  #
@@ -501,8 +650,8 @@ module Google
501
650
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
502
651
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
503
652
  # @raise [Google::Apis::AuthorizationError] Authorization is required
504
- def get_accountstatus(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
505
- 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)
506
655
  command.response_representation = Google::Apis::ContentV2_1::AccountStatus::Representation
507
656
  command.response_class = Google::Apis::ContentV2_1::AccountStatus
508
657
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -510,7 +659,6 @@ module Google
510
659
  command.query['destinations'] = destinations unless destinations.nil?
511
660
  command.query['fields'] = fields unless fields.nil?
512
661
  command.query['quotaUser'] = quota_user unless quota_user.nil?
513
- command.query['userIp'] = user_ip unless user_ip.nil?
514
662
  execute_or_queue_command(command, &block)
515
663
  end
516
664
 
@@ -528,10 +676,8 @@ module Google
528
676
  # @param [String] fields
529
677
  # Selector specifying which fields to include in a partial response.
530
678
  # @param [String] quota_user
531
- # An opaque string that represents a user for quota purposes. Must not exceed 40
532
- # characters.
533
- # @param [String] user_ip
534
- # 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.
535
681
  # @param [Google::Apis::RequestOptions] options
536
682
  # Request-specific options
537
683
  #
@@ -544,8 +690,8 @@ module Google
544
690
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
545
691
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
546
692
  # @raise [Google::Apis::AuthorizationError] Authorization is required
547
- def list_accountstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
548
- 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)
549
695
  command.response_representation = Google::Apis::ContentV2_1::AccountstatusesListResponse::Representation
550
696
  command.response_class = Google::Apis::ContentV2_1::AccountstatusesListResponse
551
697
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -554,7 +700,6 @@ module Google
554
700
  command.query['pageToken'] = page_token unless page_token.nil?
555
701
  command.query['fields'] = fields unless fields.nil?
556
702
  command.query['quotaUser'] = quota_user unless quota_user.nil?
557
- command.query['userIp'] = user_ip unless user_ip.nil?
558
703
  execute_or_queue_command(command, &block)
559
704
  end
560
705
 
@@ -563,10 +708,8 @@ module Google
563
708
  # @param [String] fields
564
709
  # Selector specifying which fields to include in a partial response.
565
710
  # @param [String] quota_user
566
- # An opaque string that represents a user for quota purposes. Must not exceed 40
567
- # characters.
568
- # @param [String] user_ip
569
- # 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.
570
713
  # @param [Google::Apis::RequestOptions] options
571
714
  # Request-specific options
572
715
  #
@@ -579,15 +722,14 @@ module Google
579
722
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
580
723
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
581
724
  # @raise [Google::Apis::AuthorizationError] Authorization is required
582
- def custombatch_accounttax(accounttax_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
583
- 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)
584
727
  command.request_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchRequest::Representation
585
728
  command.request_object = accounttax_custom_batch_request_object
586
729
  command.response_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchResponse::Representation
587
730
  command.response_class = Google::Apis::ContentV2_1::AccounttaxCustomBatchResponse
588
731
  command.query['fields'] = fields unless fields.nil?
589
732
  command.query['quotaUser'] = quota_user unless quota_user.nil?
590
- command.query['userIp'] = user_ip unless user_ip.nil?
591
733
  execute_or_queue_command(command, &block)
592
734
  end
593
735
 
@@ -601,10 +743,8 @@ module Google
601
743
  # @param [String] fields
602
744
  # Selector specifying which fields to include in a partial response.
603
745
  # @param [String] quota_user
604
- # An opaque string that represents a user for quota purposes. Must not exceed 40
605
- # characters.
606
- # @param [String] user_ip
607
- # 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.
608
748
  # @param [Google::Apis::RequestOptions] options
609
749
  # Request-specific options
610
750
  #
@@ -617,15 +757,14 @@ module Google
617
757
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
618
758
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
619
759
  # @raise [Google::Apis::AuthorizationError] Authorization is required
620
- def get_accounttax(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
621
- 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)
622
762
  command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation
623
763
  command.response_class = Google::Apis::ContentV2_1::AccountTax
624
764
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
625
765
  command.params['accountId'] = account_id unless account_id.nil?
626
766
  command.query['fields'] = fields unless fields.nil?
627
767
  command.query['quotaUser'] = quota_user unless quota_user.nil?
628
- command.query['userIp'] = user_ip unless user_ip.nil?
629
768
  execute_or_queue_command(command, &block)
630
769
  end
631
770
 
@@ -639,10 +778,8 @@ module Google
639
778
  # @param [String] fields
640
779
  # Selector specifying which fields to include in a partial response.
641
780
  # @param [String] quota_user
642
- # An opaque string that represents a user for quota purposes. Must not exceed 40
643
- # characters.
644
- # @param [String] user_ip
645
- # 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.
646
783
  # @param [Google::Apis::RequestOptions] options
647
784
  # Request-specific options
648
785
  #
@@ -655,8 +792,8 @@ module Google
655
792
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
656
793
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
657
794
  # @raise [Google::Apis::AuthorizationError] Authorization is required
658
- def list_accounttaxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
659
- 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)
660
797
  command.response_representation = Google::Apis::ContentV2_1::AccounttaxListResponse::Representation
661
798
  command.response_class = Google::Apis::ContentV2_1::AccounttaxListResponse
662
799
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -664,7 +801,6 @@ module Google
664
801
  command.query['pageToken'] = page_token unless page_token.nil?
665
802
  command.query['fields'] = fields unless fields.nil?
666
803
  command.query['quotaUser'] = quota_user unless quota_user.nil?
667
- command.query['userIp'] = user_ip unless user_ip.nil?
668
804
  execute_or_queue_command(command, &block)
669
805
  end
670
806
 
@@ -680,10 +816,8 @@ module Google
680
816
  # @param [String] fields
681
817
  # Selector specifying which fields to include in a partial response.
682
818
  # @param [String] quota_user
683
- # An opaque string that represents a user for quota purposes. Must not exceed 40
684
- # characters.
685
- # @param [String] user_ip
686
- # 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.
687
821
  # @param [Google::Apis::RequestOptions] options
688
822
  # Request-specific options
689
823
  #
@@ -696,8 +830,8 @@ module Google
696
830
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
697
831
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
698
832
  # @raise [Google::Apis::AuthorizationError] Authorization is required
699
- def update_accounttax(merchant_id, account_id, account_tax_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
700
- 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)
701
835
  command.request_representation = Google::Apis::ContentV2_1::AccountTax::Representation
702
836
  command.request_object = account_tax_object
703
837
  command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation
@@ -706,7 +840,117 @@ module Google
706
840
  command.params['accountId'] = account_id unless account_id.nil?
707
841
  command.query['fields'] = fields unless fields.nil?
708
842
  command.query['quotaUser'] = quota_user unless quota_user.nil?
709
- 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?
710
954
  execute_or_queue_command(command, &block)
711
955
  end
712
956
 
@@ -716,10 +960,8 @@ module Google
716
960
  # @param [String] fields
717
961
  # Selector specifying which fields to include in a partial response.
718
962
  # @param [String] quota_user
719
- # An opaque string that represents a user for quota purposes. Must not exceed 40
720
- # characters.
721
- # @param [String] user_ip
722
- # 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.
723
965
  # @param [Google::Apis::RequestOptions] options
724
966
  # Request-specific options
725
967
  #
@@ -732,15 +974,14 @@ module Google
732
974
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
733
975
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
734
976
  # @raise [Google::Apis::AuthorizationError] Authorization is required
735
- def custombatch_datafeed(datafeeds_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
736
- 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)
737
979
  command.request_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchRequest::Representation
738
980
  command.request_object = datafeeds_custom_batch_request_object
739
981
  command.response_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse::Representation
740
982
  command.response_class = Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse
741
983
  command.query['fields'] = fields unless fields.nil?
742
984
  command.query['quotaUser'] = quota_user unless quota_user.nil?
743
- command.query['userIp'] = user_ip unless user_ip.nil?
744
985
  execute_or_queue_command(command, &block)
745
986
  end
746
987
 
@@ -753,10 +994,8 @@ module Google
753
994
  # @param [String] fields
754
995
  # Selector specifying which fields to include in a partial response.
755
996
  # @param [String] quota_user
756
- # An opaque string that represents a user for quota purposes. Must not exceed 40
757
- # characters.
758
- # @param [String] user_ip
759
- # 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.
760
999
  # @param [Google::Apis::RequestOptions] options
761
1000
  # Request-specific options
762
1001
  #
@@ -769,13 +1008,12 @@ module Google
769
1008
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
770
1009
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
771
1010
  # @raise [Google::Apis::AuthorizationError] Authorization is required
772
- def delete_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
773
- 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)
774
1013
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
775
1014
  command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
776
1015
  command.query['fields'] = fields unless fields.nil?
777
1016
  command.query['quotaUser'] = quota_user unless quota_user.nil?
778
- command.query['userIp'] = user_ip unless user_ip.nil?
779
1017
  execute_or_queue_command(command, &block)
780
1018
  end
781
1019
 
@@ -788,10 +1026,8 @@ module Google
788
1026
  # @param [String] fields
789
1027
  # Selector specifying which fields to include in a partial response.
790
1028
  # @param [String] quota_user
791
- # An opaque string that represents a user for quota purposes. Must not exceed 40
792
- # characters.
793
- # @param [String] user_ip
794
- # Deprecated. Please use quotaUser instead.
1029
+ # Available to use for quota purposes for server-side applications. Can be any
1030
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
795
1031
  # @param [Google::Apis::RequestOptions] options
796
1032
  # Request-specific options
797
1033
  #
@@ -804,15 +1040,14 @@ module Google
804
1040
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
805
1041
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
806
1042
  # @raise [Google::Apis::AuthorizationError] Authorization is required
807
- def fetchnow_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
808
- command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
1043
+ def fetchnow_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
1044
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
809
1045
  command.response_representation = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse::Representation
810
1046
  command.response_class = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse
811
1047
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
812
1048
  command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
813
1049
  command.query['fields'] = fields unless fields.nil?
814
1050
  command.query['quotaUser'] = quota_user unless quota_user.nil?
815
- command.query['userIp'] = user_ip unless user_ip.nil?
816
1051
  execute_or_queue_command(command, &block)
817
1052
  end
818
1053
 
@@ -825,10 +1060,8 @@ module Google
825
1060
  # @param [String] fields
826
1061
  # Selector specifying which fields to include in a partial response.
827
1062
  # @param [String] quota_user
828
- # An opaque string that represents a user for quota purposes. Must not exceed 40
829
- # characters.
830
- # @param [String] user_ip
831
- # Deprecated. Please use quotaUser instead.
1063
+ # Available to use for quota purposes for server-side applications. Can be any
1064
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
832
1065
  # @param [Google::Apis::RequestOptions] options
833
1066
  # Request-specific options
834
1067
  #
@@ -841,15 +1074,14 @@ module Google
841
1074
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
842
1075
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
843
1076
  # @raise [Google::Apis::AuthorizationError] Authorization is required
844
- def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
845
- command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
1077
+ def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
1078
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/datafeeds/{datafeedId}', options)
846
1079
  command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
847
1080
  command.response_class = Google::Apis::ContentV2_1::Datafeed
848
1081
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
849
1082
  command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
850
1083
  command.query['fields'] = fields unless fields.nil?
851
1084
  command.query['quotaUser'] = quota_user unless quota_user.nil?
852
- command.query['userIp'] = user_ip unless user_ip.nil?
853
1085
  execute_or_queue_command(command, &block)
854
1086
  end
855
1087
 
@@ -861,10 +1093,8 @@ module Google
861
1093
  # @param [String] fields
862
1094
  # Selector specifying which fields to include in a partial response.
863
1095
  # @param [String] quota_user
864
- # An opaque string that represents a user for quota purposes. Must not exceed 40
865
- # characters.
866
- # @param [String] user_ip
867
- # Deprecated. Please use quotaUser instead.
1096
+ # Available to use for quota purposes for server-side applications. Can be any
1097
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
868
1098
  # @param [Google::Apis::RequestOptions] options
869
1099
  # Request-specific options
870
1100
  #
@@ -877,8 +1107,8 @@ module Google
877
1107
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
878
1108
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
879
1109
  # @raise [Google::Apis::AuthorizationError] Authorization is required
880
- def insert_datafeed(merchant_id, datafeed_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
881
- command = make_simple_command(:post, '{merchantId}/datafeeds', options)
1110
+ def insert_datafeed(merchant_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1111
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/datafeeds', options)
882
1112
  command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
883
1113
  command.request_object = datafeed_object
884
1114
  command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
@@ -886,7 +1116,6 @@ module Google
886
1116
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
887
1117
  command.query['fields'] = fields unless fields.nil?
888
1118
  command.query['quotaUser'] = quota_user unless quota_user.nil?
889
- command.query['userIp'] = user_ip unless user_ip.nil?
890
1119
  execute_or_queue_command(command, &block)
891
1120
  end
892
1121
 
@@ -901,10 +1130,8 @@ module Google
901
1130
  # @param [String] fields
902
1131
  # Selector specifying which fields to include in a partial response.
903
1132
  # @param [String] quota_user
904
- # An opaque string that represents a user for quota purposes. Must not exceed 40
905
- # characters.
906
- # @param [String] user_ip
907
- # Deprecated. Please use quotaUser instead.
1133
+ # Available to use for quota purposes for server-side applications. Can be any
1134
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
908
1135
  # @param [Google::Apis::RequestOptions] options
909
1136
  # Request-specific options
910
1137
  #
@@ -917,8 +1144,8 @@ module Google
917
1144
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
918
1145
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
919
1146
  # @raise [Google::Apis::AuthorizationError] Authorization is required
920
- def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
921
- command = make_simple_command(:get, '{merchantId}/datafeeds', options)
1147
+ def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1148
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/datafeeds', options)
922
1149
  command.response_representation = Google::Apis::ContentV2_1::DatafeedsListResponse::Representation
923
1150
  command.response_class = Google::Apis::ContentV2_1::DatafeedsListResponse
924
1151
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -926,7 +1153,6 @@ module Google
926
1153
  command.query['pageToken'] = page_token unless page_token.nil?
927
1154
  command.query['fields'] = fields unless fields.nil?
928
1155
  command.query['quotaUser'] = quota_user unless quota_user.nil?
929
- command.query['userIp'] = user_ip unless user_ip.nil?
930
1156
  execute_or_queue_command(command, &block)
931
1157
  end
932
1158
 
@@ -941,10 +1167,8 @@ module Google
941
1167
  # @param [String] fields
942
1168
  # Selector specifying which fields to include in a partial response.
943
1169
  # @param [String] quota_user
944
- # An opaque string that represents a user for quota purposes. Must not exceed 40
945
- # characters.
946
- # @param [String] user_ip
947
- # Deprecated. Please use quotaUser instead.
1170
+ # Available to use for quota purposes for server-side applications. Can be any
1171
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
948
1172
  # @param [Google::Apis::RequestOptions] options
949
1173
  # Request-specific options
950
1174
  #
@@ -957,8 +1181,8 @@ module Google
957
1181
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
958
1182
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
959
1183
  # @raise [Google::Apis::AuthorizationError] Authorization is required
960
- def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
961
- command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
1184
+ def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1185
+ command = make_simple_command(:put, 'content/v2.1/{merchantId}/datafeeds/{datafeedId}', options)
962
1186
  command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
963
1187
  command.request_object = datafeed_object
964
1188
  command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
@@ -967,7 +1191,6 @@ module Google
967
1191
  command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
968
1192
  command.query['fields'] = fields unless fields.nil?
969
1193
  command.query['quotaUser'] = quota_user unless quota_user.nil?
970
- command.query['userIp'] = user_ip unless user_ip.nil?
971
1194
  execute_or_queue_command(command, &block)
972
1195
  end
973
1196
 
@@ -976,10 +1199,8 @@ module Google
976
1199
  # @param [String] fields
977
1200
  # Selector specifying which fields to include in a partial response.
978
1201
  # @param [String] quota_user
979
- # An opaque string that represents a user for quota purposes. Must not exceed 40
980
- # characters.
981
- # @param [String] user_ip
982
- # Deprecated. Please use quotaUser instead.
1202
+ # Available to use for quota purposes for server-side applications. Can be any
1203
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
983
1204
  # @param [Google::Apis::RequestOptions] options
984
1205
  # Request-specific options
985
1206
  #
@@ -992,15 +1213,14 @@ module Google
992
1213
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
993
1214
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
994
1215
  # @raise [Google::Apis::AuthorizationError] Authorization is required
995
- def custombatch_datafeedstatus(datafeedstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
996
- command = make_simple_command(:post, 'datafeedstatuses/batch', options)
1216
+ def custombatch_datafeedstatus(datafeedstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1217
+ command = make_simple_command(:post, 'content/v2.1/datafeedstatuses/batch', options)
997
1218
  command.request_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchRequest::Representation
998
1219
  command.request_object = datafeedstatuses_custom_batch_request_object
999
1220
  command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse::Representation
1000
1221
  command.response_class = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse
1001
1222
  command.query['fields'] = fields unless fields.nil?
1002
1223
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1003
- command.query['userIp'] = user_ip unless user_ip.nil?
1004
1224
  execute_or_queue_command(command, &block)
1005
1225
  end
1006
1226
 
@@ -1023,10 +1243,8 @@ module Google
1023
1243
  # @param [String] fields
1024
1244
  # Selector specifying which fields to include in a partial response.
1025
1245
  # @param [String] quota_user
1026
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1027
- # characters.
1028
- # @param [String] user_ip
1029
- # Deprecated. Please use quotaUser instead.
1246
+ # Available to use for quota purposes for server-side applications. Can be any
1247
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1030
1248
  # @param [Google::Apis::RequestOptions] options
1031
1249
  # Request-specific options
1032
1250
  #
@@ -1039,8 +1257,8 @@ module Google
1039
1257
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1040
1258
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1041
1259
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1042
- def get_datafeedstatus(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1043
- command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
1260
+ def get_datafeedstatus(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, options: nil, &block)
1261
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/datafeedstatuses/{datafeedId}', options)
1044
1262
  command.response_representation = Google::Apis::ContentV2_1::DatafeedStatus::Representation
1045
1263
  command.response_class = Google::Apis::ContentV2_1::DatafeedStatus
1046
1264
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1049,7 +1267,6 @@ module Google
1049
1267
  command.query['language'] = language unless language.nil?
1050
1268
  command.query['fields'] = fields unless fields.nil?
1051
1269
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1052
- command.query['userIp'] = user_ip unless user_ip.nil?
1053
1270
  execute_or_queue_command(command, &block)
1054
1271
  end
1055
1272
 
@@ -1064,10 +1281,8 @@ module Google
1064
1281
  # @param [String] fields
1065
1282
  # Selector specifying which fields to include in a partial response.
1066
1283
  # @param [String] quota_user
1067
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1068
- # characters.
1069
- # @param [String] user_ip
1070
- # Deprecated. Please use quotaUser instead.
1284
+ # Available to use for quota purposes for server-side applications. Can be any
1285
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1071
1286
  # @param [Google::Apis::RequestOptions] options
1072
1287
  # Request-specific options
1073
1288
  #
@@ -1080,8 +1295,8 @@ module Google
1080
1295
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1081
1296
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1082
1297
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1083
- def list_datafeedstatuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1084
- command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
1298
+ def list_datafeedstatuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1299
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/datafeedstatuses', options)
1085
1300
  command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesListResponse::Representation
1086
1301
  command.response_class = Google::Apis::ContentV2_1::DatafeedstatusesListResponse
1087
1302
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1089,7 +1304,6 @@ module Google
1089
1304
  command.query['pageToken'] = page_token unless page_token.nil?
1090
1305
  command.query['fields'] = fields unless fields.nil?
1091
1306
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1092
- command.query['userIp'] = user_ip unless user_ip.nil?
1093
1307
  execute_or_queue_command(command, &block)
1094
1308
  end
1095
1309
 
@@ -1099,10 +1313,8 @@ module Google
1099
1313
  # @param [String] fields
1100
1314
  # Selector specifying which fields to include in a partial response.
1101
1315
  # @param [String] quota_user
1102
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1103
- # characters.
1104
- # @param [String] user_ip
1105
- # Deprecated. Please use quotaUser instead.
1316
+ # Available to use for quota purposes for server-side applications. Can be any
1317
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1106
1318
  # @param [Google::Apis::RequestOptions] options
1107
1319
  # Request-specific options
1108
1320
  #
@@ -1115,15 +1327,14 @@ module Google
1115
1327
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1116
1328
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1117
1329
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1118
- def custombatch_liasetting(liasettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1119
- command = make_simple_command(:post, 'liasettings/batch', options)
1330
+ def custombatch_liasetting(liasettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1331
+ command = make_simple_command(:post, 'content/v2.1/liasettings/batch', options)
1120
1332
  command.request_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchRequest::Representation
1121
1333
  command.request_object = liasettings_custom_batch_request_object
1122
1334
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse::Representation
1123
1335
  command.response_class = Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse
1124
1336
  command.query['fields'] = fields unless fields.nil?
1125
1337
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1126
- command.query['userIp'] = user_ip unless user_ip.nil?
1127
1338
  execute_or_queue_command(command, &block)
1128
1339
  end
1129
1340
 
@@ -1137,10 +1348,8 @@ module Google
1137
1348
  # @param [String] fields
1138
1349
  # Selector specifying which fields to include in a partial response.
1139
1350
  # @param [String] quota_user
1140
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1141
- # characters.
1142
- # @param [String] user_ip
1143
- # Deprecated. Please use quotaUser instead.
1351
+ # Available to use for quota purposes for server-side applications. Can be any
1352
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1144
1353
  # @param [Google::Apis::RequestOptions] options
1145
1354
  # Request-specific options
1146
1355
  #
@@ -1153,15 +1362,14 @@ module Google
1153
1362
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1154
1363
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1155
1364
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1156
- def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1157
- command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
1365
+ def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
1366
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/liasettings/{accountId}', options)
1158
1367
  command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
1159
1368
  command.response_class = Google::Apis::ContentV2_1::LiaSettings
1160
1369
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
1161
1370
  command.params['accountId'] = account_id unless account_id.nil?
1162
1371
  command.query['fields'] = fields unless fields.nil?
1163
1372
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1164
- command.query['userIp'] = user_ip unless user_ip.nil?
1165
1373
  execute_or_queue_command(command, &block)
1166
1374
  end
1167
1375
 
@@ -1176,10 +1384,8 @@ module Google
1176
1384
  # @param [String] fields
1177
1385
  # Selector specifying which fields to include in a partial response.
1178
1386
  # @param [String] quota_user
1179
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1180
- # characters.
1181
- # @param [String] user_ip
1182
- # Deprecated. Please use quotaUser instead.
1387
+ # Available to use for quota purposes for server-side applications. Can be any
1388
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1183
1389
  # @param [Google::Apis::RequestOptions] options
1184
1390
  # Request-specific options
1185
1391
  #
@@ -1192,15 +1398,14 @@ module Google
1192
1398
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1193
1399
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1194
1400
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1195
- def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1196
- command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
1401
+ def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
1402
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
1197
1403
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse::Representation
1198
1404
  command.response_class = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse
1199
1405
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
1200
1406
  command.params['accountId'] = account_id unless account_id.nil?
1201
1407
  command.query['fields'] = fields unless fields.nil?
1202
1408
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1203
- command.query['userIp'] = user_ip unless user_ip.nil?
1204
1409
  execute_or_queue_command(command, &block)
1205
1410
  end
1206
1411
 
@@ -1214,10 +1419,8 @@ module Google
1214
1419
  # @param [String] fields
1215
1420
  # Selector specifying which fields to include in a partial response.
1216
1421
  # @param [String] quota_user
1217
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1218
- # characters.
1219
- # @param [String] user_ip
1220
- # Deprecated. Please use quotaUser instead.
1422
+ # Available to use for quota purposes for server-side applications. Can be any
1423
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1221
1424
  # @param [Google::Apis::RequestOptions] options
1222
1425
  # Request-specific options
1223
1426
  #
@@ -1230,8 +1433,8 @@ module Google
1230
1433
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1231
1434
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1232
1435
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1233
- def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1234
- command = make_simple_command(:get, '{merchantId}/liasettings', options)
1436
+ def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1437
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/liasettings', options)
1235
1438
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsListResponse::Representation
1236
1439
  command.response_class = Google::Apis::ContentV2_1::LiasettingsListResponse
1237
1440
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1239,7 +1442,6 @@ module Google
1239
1442
  command.query['pageToken'] = page_token unless page_token.nil?
1240
1443
  command.query['fields'] = fields unless fields.nil?
1241
1444
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1242
- command.query['userIp'] = user_ip unless user_ip.nil?
1243
1445
  execute_or_queue_command(command, &block)
1244
1446
  end
1245
1447
 
@@ -1248,10 +1450,8 @@ module Google
1248
1450
  # @param [String] fields
1249
1451
  # Selector specifying which fields to include in a partial response.
1250
1452
  # @param [String] quota_user
1251
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1252
- # characters.
1253
- # @param [String] user_ip
1254
- # Deprecated. Please use quotaUser instead.
1453
+ # Available to use for quota purposes for server-side applications. Can be any
1454
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1255
1455
  # @param [Google::Apis::RequestOptions] options
1256
1456
  # Request-specific options
1257
1457
  #
@@ -1264,13 +1464,12 @@ module Google
1264
1464
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1265
1465
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1266
1466
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1267
- def listposdataproviders_liasetting(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1268
- command = make_simple_command(:get, 'liasettings/posdataproviders', options)
1467
+ def listposdataproviders_liasetting(fields: nil, quota_user: nil, options: nil, &block)
1468
+ command = make_simple_command(:get, 'content/v2.1/liasettings/posdataproviders', options)
1269
1469
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse::Representation
1270
1470
  command.response_class = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse
1271
1471
  command.query['fields'] = fields unless fields.nil?
1272
1472
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1273
- command.query['userIp'] = user_ip unless user_ip.nil?
1274
1473
  execute_or_queue_command(command, &block)
1275
1474
  end
1276
1475
 
@@ -1286,10 +1485,8 @@ module Google
1286
1485
  # @param [String] fields
1287
1486
  # Selector specifying which fields to include in a partial response.
1288
1487
  # @param [String] quota_user
1289
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1290
- # characters.
1291
- # @param [String] user_ip
1292
- # Deprecated. Please use quotaUser instead.
1488
+ # Available to use for quota purposes for server-side applications. Can be any
1489
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1293
1490
  # @param [Google::Apis::RequestOptions] options
1294
1491
  # Request-specific options
1295
1492
  #
@@ -1302,8 +1499,8 @@ module Google
1302
1499
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1303
1500
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1304
1501
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1305
- def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1306
- command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
1502
+ def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, options: nil, &block)
1503
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
1307
1504
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse::Representation
1308
1505
  command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse
1309
1506
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1311,7 +1508,6 @@ module Google
1311
1508
  command.query['gmbEmail'] = gmb_email unless gmb_email.nil?
1312
1509
  command.query['fields'] = fields unless fields.nil?
1313
1510
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1314
- command.query['userIp'] = user_ip unless user_ip.nil?
1315
1511
  execute_or_queue_command(command, &block)
1316
1512
  end
1317
1513
 
@@ -1328,10 +1524,8 @@ module Google
1328
1524
  # @param [String] fields
1329
1525
  # Selector specifying which fields to include in a partial response.
1330
1526
  # @param [String] quota_user
1331
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1332
- # characters.
1333
- # @param [String] user_ip
1334
- # Deprecated. Please use quotaUser instead.
1527
+ # Available to use for quota purposes for server-side applications. Can be any
1528
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1335
1529
  # @param [Google::Apis::RequestOptions] options
1336
1530
  # Request-specific options
1337
1531
  #
@@ -1344,8 +1538,8 @@ module Google
1344
1538
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1345
1539
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1346
1540
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1347
- def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1348
- command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
1541
+ def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, options: nil, &block)
1542
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
1349
1543
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse::Representation
1350
1544
  command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse
1351
1545
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1353,7 +1547,6 @@ module Google
1353
1547
  command.params['country'] = country unless country.nil?
1354
1548
  command.query['fields'] = fields unless fields.nil?
1355
1549
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1356
- command.query['userIp'] = user_ip unless user_ip.nil?
1357
1550
  execute_or_queue_command(command, &block)
1358
1551
  end
1359
1552
 
@@ -1365,21 +1558,19 @@ module Google
1365
1558
  # @param [Fixnum] account_id
1366
1559
  # The ID of the account that manages the order. This cannot be a multi-client
1367
1560
  # account.
1368
- # @param [String] contact_email
1369
- # The email of the inventory verification contact.
1370
- # @param [String] contact_name
1371
- # The name of the inventory verification contact.
1372
1561
  # @param [String] country
1373
1562
  # The country for which inventory verification is requested.
1374
1563
  # @param [String] language
1375
1564
  # The language for which inventory verification is requested.
1565
+ # @param [String] contact_name
1566
+ # The name of the inventory verification contact.
1567
+ # @param [String] contact_email
1568
+ # The email of the inventory verification contact.
1376
1569
  # @param [String] fields
1377
1570
  # Selector specifying which fields to include in a partial response.
1378
1571
  # @param [String] quota_user
1379
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1380
- # characters.
1381
- # @param [String] user_ip
1382
- # Deprecated. Please use quotaUser instead.
1572
+ # Available to use for quota purposes for server-side applications. Can be any
1573
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1383
1574
  # @param [Google::Apis::RequestOptions] options
1384
1575
  # Request-specific options
1385
1576
  #
@@ -1392,8 +1583,8 @@ module Google
1392
1583
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1393
1584
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1394
1585
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1395
- def setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email, contact_name, country, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1396
- command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
1586
+ def setinventoryverificationcontact_liasetting(merchant_id, account_id, country, language, contact_name, contact_email, fields: nil, quota_user: nil, options: nil, &block)
1587
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
1397
1588
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse::Representation
1398
1589
  command.response_class = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse
1399
1590
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1404,7 +1595,6 @@ module Google
1404
1595
  command.query['language'] = language unless language.nil?
1405
1596
  command.query['fields'] = fields unless fields.nil?
1406
1597
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1407
- command.query['userIp'] = user_ip unless user_ip.nil?
1408
1598
  execute_or_queue_command(command, &block)
1409
1599
  end
1410
1600
 
@@ -1425,10 +1615,8 @@ module Google
1425
1615
  # @param [String] fields
1426
1616
  # Selector specifying which fields to include in a partial response.
1427
1617
  # @param [String] quota_user
1428
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1429
- # characters.
1430
- # @param [String] user_ip
1431
- # Deprecated. Please use quotaUser instead.
1618
+ # Available to use for quota purposes for server-side applications. Can be any
1619
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1432
1620
  # @param [Google::Apis::RequestOptions] options
1433
1621
  # Request-specific options
1434
1622
  #
@@ -1441,8 +1629,8 @@ module Google
1441
1629
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1442
1630
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1443
1631
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1444
- 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)
1445
- command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
1632
+ 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)
1633
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/liasettings/{accountId}/setposdataprovider', options)
1446
1634
  command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse::Representation
1447
1635
  command.response_class = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse
1448
1636
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1452,7 +1640,6 @@ module Google
1452
1640
  command.query['posExternalAccountId'] = pos_external_account_id unless pos_external_account_id.nil?
1453
1641
  command.query['fields'] = fields unless fields.nil?
1454
1642
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1455
- command.query['userIp'] = user_ip unless user_ip.nil?
1456
1643
  execute_or_queue_command(command, &block)
1457
1644
  end
1458
1645
 
@@ -1468,10 +1655,8 @@ module Google
1468
1655
  # @param [String] fields
1469
1656
  # Selector specifying which fields to include in a partial response.
1470
1657
  # @param [String] quota_user
1471
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1472
- # characters.
1473
- # @param [String] user_ip
1474
- # Deprecated. Please use quotaUser instead.
1658
+ # Available to use for quota purposes for server-side applications. Can be any
1659
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1475
1660
  # @param [Google::Apis::RequestOptions] options
1476
1661
  # Request-specific options
1477
1662
  #
@@ -1484,8 +1669,8 @@ module Google
1484
1669
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1485
1670
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1486
1671
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1487
- def update_liasetting(merchant_id, account_id, lia_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1488
- command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
1672
+ def update_liasetting(merchant_id, account_id, lia_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1673
+ command = make_simple_command(:put, 'content/v2.1/{merchantId}/liasettings/{accountId}', options)
1489
1674
  command.request_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
1490
1675
  command.request_object = lia_settings_object
1491
1676
  command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
@@ -1494,7 +1679,6 @@ module Google
1494
1679
  command.params['accountId'] = account_id unless account_id.nil?
1495
1680
  command.query['fields'] = fields unless fields.nil?
1496
1681
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1497
- command.query['userIp'] = user_ip unless user_ip.nil?
1498
1682
  execute_or_queue_command(command, &block)
1499
1683
  end
1500
1684
 
@@ -1503,10 +1687,8 @@ module Google
1503
1687
  # @param [String] fields
1504
1688
  # Selector specifying which fields to include in a partial response.
1505
1689
  # @param [String] quota_user
1506
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1507
- # characters.
1508
- # @param [String] user_ip
1509
- # Deprecated. Please use quotaUser instead.
1690
+ # Available to use for quota purposes for server-side applications. Can be any
1691
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1510
1692
  # @param [Google::Apis::RequestOptions] options
1511
1693
  # Request-specific options
1512
1694
  #
@@ -1519,19 +1701,18 @@ module Google
1519
1701
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1520
1702
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1521
1703
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1522
- def custombatch_localinventory(localinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1523
- command = make_simple_command(:post, 'localinventory/batch', options)
1704
+ def custombatch_localinventory(localinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1705
+ command = make_simple_command(:post, 'content/v2.1/localinventory/batch', options)
1524
1706
  command.request_representation = Google::Apis::ContentV2_1::LocalinventoryCustomBatchRequest::Representation
1525
1707
  command.request_object = localinventory_custom_batch_request_object
1526
1708
  command.response_representation = Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponse::Representation
1527
1709
  command.response_class = Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponse
1528
1710
  command.query['fields'] = fields unless fields.nil?
1529
1711
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1530
- command.query['userIp'] = user_ip unless user_ip.nil?
1531
1712
  execute_or_queue_command(command, &block)
1532
1713
  end
1533
1714
 
1534
- # Update the local inventory of a product in your Merchant Center account.
1715
+ # Updates the local inventory of a product in your Merchant Center account.
1535
1716
  # @param [Fixnum] merchant_id
1536
1717
  # The ID of the account that contains the product. This account cannot be a
1537
1718
  # multi-client account.
@@ -1541,10 +1722,8 @@ module Google
1541
1722
  # @param [String] fields
1542
1723
  # Selector specifying which fields to include in a partial response.
1543
1724
  # @param [String] quota_user
1544
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1545
- # characters.
1546
- # @param [String] user_ip
1547
- # Deprecated. Please use quotaUser instead.
1725
+ # Available to use for quota purposes for server-side applications. Can be any
1726
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1548
1727
  # @param [Google::Apis::RequestOptions] options
1549
1728
  # Request-specific options
1550
1729
  #
@@ -1557,8 +1736,8 @@ module Google
1557
1736
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1558
1737
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1559
1738
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1560
- def insert_localinventory(merchant_id, product_id, local_inventory_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1561
- command = make_simple_command(:post, '{merchantId}/products/{productId}/localinventory', options)
1739
+ def insert_localinventory(merchant_id, product_id, local_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1740
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/products/{productId}/localinventory', options)
1562
1741
  command.request_representation = Google::Apis::ContentV2_1::LocalInventory::Representation
1563
1742
  command.request_object = local_inventory_object
1564
1743
  command.response_representation = Google::Apis::ContentV2_1::LocalInventory::Representation
@@ -1567,7 +1746,6 @@ module Google
1567
1746
  command.params['productId'] = product_id unless product_id.nil?
1568
1747
  command.query['fields'] = fields unless fields.nil?
1569
1748
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1570
- command.query['userIp'] = user_ip unless user_ip.nil?
1571
1749
  execute_or_queue_command(command, &block)
1572
1750
  end
1573
1751
 
@@ -1582,10 +1760,8 @@ module Google
1582
1760
  # @param [String] fields
1583
1761
  # Selector specifying which fields to include in a partial response.
1584
1762
  # @param [String] quota_user
1585
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1586
- # characters.
1587
- # @param [String] user_ip
1588
- # Deprecated. Please use quotaUser instead.
1763
+ # Available to use for quota purposes for server-side applications. Can be any
1764
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1589
1765
  # @param [Google::Apis::RequestOptions] options
1590
1766
  # Request-specific options
1591
1767
  #
@@ -1598,8 +1774,8 @@ module Google
1598
1774
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1599
1775
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1600
1776
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1601
- 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)
1602
- command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
1777
+ def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1778
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
1603
1779
  command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceRequest::Representation
1604
1780
  command.request_object = orderinvoices_create_charge_invoice_request_object
1605
1781
  command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceResponse::Representation
@@ -1608,7 +1784,6 @@ module Google
1608
1784
  command.params['orderId'] = order_id unless order_id.nil?
1609
1785
  command.query['fields'] = fields unless fields.nil?
1610
1786
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1611
- command.query['userIp'] = user_ip unless user_ip.nil?
1612
1787
  execute_or_queue_command(command, &block)
1613
1788
  end
1614
1789
 
@@ -1625,10 +1800,8 @@ module Google
1625
1800
  # @param [String] fields
1626
1801
  # Selector specifying which fields to include in a partial response.
1627
1802
  # @param [String] quota_user
1628
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1629
- # characters.
1630
- # @param [String] user_ip
1631
- # Deprecated. Please use quotaUser instead.
1803
+ # Available to use for quota purposes for server-side applications. Can be any
1804
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1632
1805
  # @param [Google::Apis::RequestOptions] options
1633
1806
  # Request-specific options
1634
1807
  #
@@ -1641,8 +1814,8 @@ module Google
1641
1814
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1642
1815
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1643
1816
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1644
- 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)
1645
- command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
1817
+ def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1818
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
1646
1819
  command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceRequest::Representation
1647
1820
  command.request_object = orderinvoices_create_refund_invoice_request_object
1648
1821
  command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceResponse::Representation
@@ -1651,7 +1824,6 @@ module Google
1651
1824
  command.params['orderId'] = order_id unless order_id.nil?
1652
1825
  command.query['fields'] = fields unless fields.nil?
1653
1826
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1654
- command.query['userIp'] = user_ip unless user_ip.nil?
1655
1827
  execute_or_queue_command(command, &block)
1656
1828
  end
1657
1829
 
@@ -1659,11 +1831,11 @@ module Google
1659
1831
  # @param [Fixnum] merchant_id
1660
1832
  # The ID of the account that manages the order. This cannot be a multi-client
1661
1833
  # account.
1662
- # @param [String] disbursement_start_date
1663
- # The first date which disbursements occurred. In ISO 8601 format.
1664
1834
  # @param [String] disbursement_end_date
1665
1835
  # The last date which disbursements occurred. In ISO 8601 format. Default:
1666
1836
  # current date.
1837
+ # @param [String] disbursement_start_date
1838
+ # The first date which disbursements occurred. In ISO 8601 format.
1667
1839
  # @param [Fixnum] max_results
1668
1840
  # The maximum number of disbursements to return in the response, used for paging.
1669
1841
  # @param [String] page_token
@@ -1671,10 +1843,8 @@ module Google
1671
1843
  # @param [String] fields
1672
1844
  # Selector specifying which fields to include in a partial response.
1673
1845
  # @param [String] quota_user
1674
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1675
- # characters.
1676
- # @param [String] user_ip
1677
- # Deprecated. Please use quotaUser instead.
1846
+ # Available to use for quota purposes for server-side applications. Can be any
1847
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1678
1848
  # @param [Google::Apis::RequestOptions] options
1679
1849
  # Request-specific options
1680
1850
  #
@@ -1687,8 +1857,8 @@ module Google
1687
1857
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1688
1858
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1689
1859
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1690
- 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)
1691
- command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
1860
+ 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)
1861
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/orderreports/disbursements', options)
1692
1862
  command.response_representation = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse::Representation
1693
1863
  command.response_class = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse
1694
1864
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1698,7 +1868,6 @@ module Google
1698
1868
  command.query['pageToken'] = page_token unless page_token.nil?
1699
1869
  command.query['fields'] = fields unless fields.nil?
1700
1870
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1701
- command.query['userIp'] = user_ip unless user_ip.nil?
1702
1871
  execute_or_queue_command(command, &block)
1703
1872
  end
1704
1873
 
@@ -1709,8 +1878,6 @@ module Google
1709
1878
  # account.
1710
1879
  # @param [String] disbursement_id
1711
1880
  # The Google-provided ID of the disbursement (found in Wallet).
1712
- # @param [String] transaction_start_date
1713
- # The first date in which transaction occurred. In ISO 8601 format.
1714
1881
  # @param [Fixnum] max_results
1715
1882
  # The maximum number of disbursements to return in the response, used for paging.
1716
1883
  # @param [String] page_token
@@ -1718,13 +1885,13 @@ module Google
1718
1885
  # @param [String] transaction_end_date
1719
1886
  # The last date in which transaction occurred. In ISO 8601 format. Default:
1720
1887
  # current date.
1888
+ # @param [String] transaction_start_date
1889
+ # The first date in which transaction occurred. In ISO 8601 format.
1721
1890
  # @param [String] fields
1722
1891
  # Selector specifying which fields to include in a partial response.
1723
1892
  # @param [String] quota_user
1724
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1725
- # characters.
1726
- # @param [String] user_ip
1727
- # Deprecated. Please use quotaUser instead.
1893
+ # Available to use for quota purposes for server-side applications. Can be any
1894
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1728
1895
  # @param [Google::Apis::RequestOptions] options
1729
1896
  # Request-specific options
1730
1897
  #
@@ -1737,8 +1904,8 @@ module Google
1737
1904
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1738
1905
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1739
1906
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1740
- 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)
1741
- command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
1907
+ 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)
1908
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
1742
1909
  command.response_representation = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse::Representation
1743
1910
  command.response_class = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse
1744
1911
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1749,7 +1916,6 @@ module Google
1749
1916
  command.query['transactionStartDate'] = transaction_start_date unless transaction_start_date.nil?
1750
1917
  command.query['fields'] = fields unless fields.nil?
1751
1918
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1752
- command.query['userIp'] = user_ip unless user_ip.nil?
1753
1919
  execute_or_queue_command(command, &block)
1754
1920
  end
1755
1921
 
@@ -1763,10 +1929,8 @@ module Google
1763
1929
  # @param [String] fields
1764
1930
  # Selector specifying which fields to include in a partial response.
1765
1931
  # @param [String] quota_user
1766
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1767
- # characters.
1768
- # @param [String] user_ip
1769
- # Deprecated. Please use quotaUser instead.
1932
+ # Available to use for quota purposes for server-side applications. Can be any
1933
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1770
1934
  # @param [Google::Apis::RequestOptions] options
1771
1935
  # Request-specific options
1772
1936
  #
@@ -1779,8 +1943,8 @@ module Google
1779
1943
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1780
1944
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1781
1945
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1782
- def acknowledge_orderreturn(merchant_id, return_id, orderreturns_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1783
- command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/acknowledge', options)
1946
+ def acknowledge_orderreturn(merchant_id, return_id, orderreturns_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1947
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderreturns/{returnId}/acknowledge', options)
1784
1948
  command.request_representation = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeRequest::Representation
1785
1949
  command.request_object = orderreturns_acknowledge_request_object
1786
1950
  command.response_representation = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeResponse::Representation
@@ -1789,7 +1953,40 @@ module Google
1789
1953
  command.params['returnId'] = return_id unless return_id.nil?
1790
1954
  command.query['fields'] = fields unless fields.nil?
1791
1955
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1792
- command.query['userIp'] = user_ip unless user_ip.nil?
1956
+ execute_or_queue_command(command, &block)
1957
+ end
1958
+
1959
+ # Create return in your Merchant Center account.
1960
+ # @param [Fixnum] merchant_id
1961
+ # The ID of the account that manages the order. This cannot be a multi-client
1962
+ # account.
1963
+ # @param [Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnRequest] orderreturns_create_order_return_request_object
1964
+ # @param [String] fields
1965
+ # Selector specifying which fields to include in a partial response.
1966
+ # @param [String] quota_user
1967
+ # Available to use for quota purposes for server-side applications. Can be any
1968
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1969
+ # @param [Google::Apis::RequestOptions] options
1970
+ # Request-specific options
1971
+ #
1972
+ # @yield [result, err] Result & error if block supplied
1973
+ # @yieldparam result [Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse] parsed result object
1974
+ # @yieldparam err [StandardError] error object if request failed
1975
+ #
1976
+ # @return [Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse]
1977
+ #
1978
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1979
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1980
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1981
+ def createorderreturn_orderreturn(merchant_id, orderreturns_create_order_return_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1982
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderreturns/createOrderReturn', options)
1983
+ command.request_representation = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnRequest::Representation
1984
+ command.request_object = orderreturns_create_order_return_request_object
1985
+ command.response_representation = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse::Representation
1986
+ command.response_class = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse
1987
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
1988
+ command.query['fields'] = fields unless fields.nil?
1989
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1793
1990
  execute_or_queue_command(command, &block)
1794
1991
  end
1795
1992
 
@@ -1802,10 +1999,8 @@ module Google
1802
1999
  # @param [String] fields
1803
2000
  # Selector specifying which fields to include in a partial response.
1804
2001
  # @param [String] quota_user
1805
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1806
- # characters.
1807
- # @param [String] user_ip
1808
- # Deprecated. Please use quotaUser instead.
2002
+ # Available to use for quota purposes for server-side applications. Can be any
2003
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1809
2004
  # @param [Google::Apis::RequestOptions] options
1810
2005
  # Request-specific options
1811
2006
  #
@@ -1818,15 +2013,14 @@ module Google
1818
2013
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1819
2014
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1820
2015
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1821
- def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1822
- command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
2016
+ def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, options: nil, &block)
2017
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/orderreturns/{returnId}', options)
1823
2018
  command.response_representation = Google::Apis::ContentV2_1::MerchantOrderReturn::Representation
1824
2019
  command.response_class = Google::Apis::ContentV2_1::MerchantOrderReturn
1825
2020
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
1826
2021
  command.params['returnId'] = return_id unless return_id.nil?
1827
2022
  command.query['fields'] = fields unless fields.nil?
1828
2023
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1829
- command.query['userIp'] = user_ip unless user_ip.nil?
1830
2024
  execute_or_queue_command(command, &block)
1831
2025
  end
1832
2026
 
@@ -1838,9 +2032,9 @@ module Google
1838
2032
  # Obtains order returns that match the acknowledgement status. When set to true,
1839
2033
  # obtains order returns that have been acknowledged. When false, obtains order
1840
2034
  # returns that have not been acknowledged. When not provided, obtains order
1841
- # returns regardless of their acknowledgement status.
1842
- # We recommend using this filter set to `false`, in conjunction with the `
1843
- # acknowledge` call, such that only un-acknowledged order returns are returned.
2035
+ # returns regardless of their acknowledgement status. We recommend using this
2036
+ # filter set to `false`, in conjunction with the `acknowledge` call, such that
2037
+ # only un-acknowledged order returns are returned.
1844
2038
  # @param [String] created_end_date
1845
2039
  # Obtains order returns created before this date (inclusively), in ISO 8601
1846
2040
  # format.
@@ -1850,10 +2044,10 @@ module Google
1850
2044
  # @param [Array<String>, String] google_order_ids
1851
2045
  # Obtains order returns with the specified order ids. If this parameter is
1852
2046
  # provided, createdStartDate, createdEndDate, shipmentType, shipmentStatus,
1853
- # shipmentState and acknowledged parameters must be not set.
1854
- # Note: if googleOrderId and shipmentTrackingNumber parameters are provided, the
1855
- # obtained results will include all order returns that either match the
1856
- # specified order id or the specified tracking number.
2047
+ # shipmentState and acknowledged parameters must be not set. Note: if
2048
+ # googleOrderId and shipmentTrackingNumber parameters are provided, the obtained
2049
+ # results will include all order returns that either match the specified order
2050
+ # id or the specified tracking number.
1857
2051
  # @param [Fixnum] max_results
1858
2052
  # The maximum number of order returns to return in the response, used for paging.
1859
2053
  # The default value is 25 returns per page, and the maximum allowed value is
@@ -1873,10 +2067,10 @@ module Google
1873
2067
  # @param [Array<String>, String] shipment_tracking_numbers
1874
2068
  # Obtains order returns with the specified tracking numbers. If this parameter
1875
2069
  # is provided, createdStartDate, createdEndDate, shipmentType, shipmentStatus,
1876
- # shipmentState and acknowledged parameters must be not set.
1877
- # Note: if googleOrderId and shipmentTrackingNumber parameters are provided, the
1878
- # obtained results will include all order returns that either match the
1879
- # specified order id or the specified tracking number.
2070
+ # shipmentState and acknowledged parameters must be not set. Note: if
2071
+ # googleOrderId and shipmentTrackingNumber parameters are provided, the obtained
2072
+ # results will include all order returns that either match the specified order
2073
+ # id or the specified tracking number.
1880
2074
  # @param [Array<String>, String] shipment_types
1881
2075
  # Obtains order returns that match any shipment type provided in this parameter.
1882
2076
  # When this parameter is not provided, order returns are obtained regardless of
@@ -1884,10 +2078,8 @@ module Google
1884
2078
  # @param [String] fields
1885
2079
  # Selector specifying which fields to include in a partial response.
1886
2080
  # @param [String] quota_user
1887
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1888
- # characters.
1889
- # @param [String] user_ip
1890
- # Deprecated. Please use quotaUser instead.
2081
+ # Available to use for quota purposes for server-side applications. Can be any
2082
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1891
2083
  # @param [Google::Apis::RequestOptions] options
1892
2084
  # Request-specific options
1893
2085
  #
@@ -1900,8 +2092,8 @@ module Google
1900
2092
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1901
2093
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1902
2094
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1903
- 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)
1904
- command = make_simple_command(:get, '{merchantId}/orderreturns', options)
2095
+ 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)
2096
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/orderreturns', options)
1905
2097
  command.response_representation = Google::Apis::ContentV2_1::OrderreturnsListResponse::Representation
1906
2098
  command.response_class = Google::Apis::ContentV2_1::OrderreturnsListResponse
1907
2099
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1918,7 +2110,6 @@ module Google
1918
2110
  command.query['shipmentTypes'] = shipment_types unless shipment_types.nil?
1919
2111
  command.query['fields'] = fields unless fields.nil?
1920
2112
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1921
- command.query['userIp'] = user_ip unless user_ip.nil?
1922
2113
  execute_or_queue_command(command, &block)
1923
2114
  end
1924
2115
 
@@ -1932,10 +2123,8 @@ module Google
1932
2123
  # @param [String] fields
1933
2124
  # Selector specifying which fields to include in a partial response.
1934
2125
  # @param [String] quota_user
1935
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1936
- # characters.
1937
- # @param [String] user_ip
1938
- # Deprecated. Please use quotaUser instead.
2126
+ # Available to use for quota purposes for server-side applications. Can be any
2127
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1939
2128
  # @param [Google::Apis::RequestOptions] options
1940
2129
  # Request-specific options
1941
2130
  #
@@ -1948,8 +2137,8 @@ module Google
1948
2137
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1949
2138
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1950
2139
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1951
- def process_orderreturn(merchant_id, return_id, orderreturns_process_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1952
- command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/process', options)
2140
+ def process_orderreturn(merchant_id, return_id, orderreturns_process_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2141
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orderreturns/{returnId}/process', options)
1953
2142
  command.request_representation = Google::Apis::ContentV2_1::OrderreturnsProcessRequest::Representation
1954
2143
  command.request_object = orderreturns_process_request_object
1955
2144
  command.response_representation = Google::Apis::ContentV2_1::OrderreturnsProcessResponse::Representation
@@ -1958,7 +2147,6 @@ module Google
1958
2147
  command.params['returnId'] = return_id unless return_id.nil?
1959
2148
  command.query['fields'] = fields unless fields.nil?
1960
2149
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1961
- command.query['userIp'] = user_ip unless user_ip.nil?
1962
2150
  execute_or_queue_command(command, &block)
1963
2151
  end
1964
2152
 
@@ -1972,10 +2160,8 @@ module Google
1972
2160
  # @param [String] fields
1973
2161
  # Selector specifying which fields to include in a partial response.
1974
2162
  # @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.
2163
+ # Available to use for quota purposes for server-side applications. Can be any
2164
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1979
2165
  # @param [Google::Apis::RequestOptions] options
1980
2166
  # Request-specific options
1981
2167
  #
@@ -1988,8 +2174,8 @@ module Google
1988
2174
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1989
2175
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1990
2176
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1991
- def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1992
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
2177
+ def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2178
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/acknowledge', options)
1993
2179
  command.request_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeRequest::Representation
1994
2180
  command.request_object = orders_acknowledge_request_object
1995
2181
  command.response_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeResponse::Representation
@@ -1998,7 +2184,6 @@ module Google
1998
2184
  command.params['orderId'] = order_id unless order_id.nil?
1999
2185
  command.query['fields'] = fields unless fields.nil?
2000
2186
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2001
- command.query['userIp'] = user_ip unless user_ip.nil?
2002
2187
  execute_or_queue_command(command, &block)
2003
2188
  end
2004
2189
 
@@ -2012,10 +2197,8 @@ module Google
2012
2197
  # @param [String] fields
2013
2198
  # Selector specifying which fields to include in a partial response.
2014
2199
  # @param [String] quota_user
2015
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2016
- # characters.
2017
- # @param [String] user_ip
2018
- # Deprecated. Please use quotaUser instead.
2200
+ # Available to use for quota purposes for server-side applications. Can be any
2201
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2019
2202
  # @param [Google::Apis::RequestOptions] options
2020
2203
  # Request-specific options
2021
2204
  #
@@ -2028,15 +2211,14 @@ module Google
2028
2211
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2029
2212
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2030
2213
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2031
- def advancetestorder_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2032
- command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
2214
+ def advancetestorder_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
2215
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/testorders/{orderId}/advance', options)
2033
2216
  command.response_representation = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse::Representation
2034
2217
  command.response_class = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse
2035
2218
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2036
2219
  command.params['orderId'] = order_id unless order_id.nil?
2037
2220
  command.query['fields'] = fields unless fields.nil?
2038
2221
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2039
- command.query['userIp'] = user_ip unless user_ip.nil?
2040
2222
  execute_or_queue_command(command, &block)
2041
2223
  end
2042
2224
 
@@ -2050,10 +2232,8 @@ module Google
2050
2232
  # @param [String] fields
2051
2233
  # Selector specifying which fields to include in a partial response.
2052
2234
  # @param [String] quota_user
2053
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2054
- # characters.
2055
- # @param [String] user_ip
2056
- # Deprecated. Please use quotaUser instead.
2235
+ # Available to use for quota purposes for server-side applications. Can be any
2236
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2057
2237
  # @param [Google::Apis::RequestOptions] options
2058
2238
  # Request-specific options
2059
2239
  #
@@ -2066,8 +2246,8 @@ module Google
2066
2246
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2067
2247
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2068
2248
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2069
- def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2070
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
2249
+ def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2250
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/cancel', options)
2071
2251
  command.request_representation = Google::Apis::ContentV2_1::OrdersCancelRequest::Representation
2072
2252
  command.request_object = orders_cancel_request_object
2073
2253
  command.response_representation = Google::Apis::ContentV2_1::OrdersCancelResponse::Representation
@@ -2076,7 +2256,6 @@ module Google
2076
2256
  command.params['orderId'] = order_id unless order_id.nil?
2077
2257
  command.query['fields'] = fields unless fields.nil?
2078
2258
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2079
- command.query['userIp'] = user_ip unless user_ip.nil?
2080
2259
  execute_or_queue_command(command, &block)
2081
2260
  end
2082
2261
 
@@ -2090,10 +2269,8 @@ module Google
2090
2269
  # @param [String] fields
2091
2270
  # Selector specifying which fields to include in a partial response.
2092
2271
  # @param [String] quota_user
2093
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2094
- # characters.
2095
- # @param [String] user_ip
2096
- # Deprecated. Please use quotaUser instead.
2272
+ # Available to use for quota purposes for server-side applications. Can be any
2273
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2097
2274
  # @param [Google::Apis::RequestOptions] options
2098
2275
  # Request-specific options
2099
2276
  #
@@ -2106,8 +2283,8 @@ module Google
2106
2283
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2107
2284
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2108
2285
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2109
- 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)
2110
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
2286
+ def cancellineitem_order(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2287
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/cancelLineItem', options)
2111
2288
  command.request_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemRequest::Representation
2112
2289
  command.request_object = orders_cancel_line_item_request_object
2113
2290
  command.response_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemResponse::Representation
@@ -2116,7 +2293,6 @@ module Google
2116
2293
  command.params['orderId'] = order_id unless order_id.nil?
2117
2294
  command.query['fields'] = fields unless fields.nil?
2118
2295
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2119
- command.query['userIp'] = user_ip unless user_ip.nil?
2120
2296
  execute_or_queue_command(command, &block)
2121
2297
  end
2122
2298
 
@@ -2130,10 +2306,8 @@ module Google
2130
2306
  # @param [String] fields
2131
2307
  # Selector specifying which fields to include in a partial response.
2132
2308
  # @param [String] quota_user
2133
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2134
- # characters.
2135
- # @param [String] user_ip
2136
- # Deprecated. Please use quotaUser instead.
2309
+ # Available to use for quota purposes for server-side applications. Can be any
2310
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2137
2311
  # @param [Google::Apis::RequestOptions] options
2138
2312
  # Request-specific options
2139
2313
  #
@@ -2146,8 +2320,8 @@ module Google
2146
2320
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2147
2321
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2148
2322
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2149
- 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)
2150
- command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
2323
+ def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2324
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/testorders/{orderId}/cancelByCustomer', options)
2151
2325
  command.request_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerRequest::Representation
2152
2326
  command.request_object = orders_cancel_test_order_by_customer_request_object
2153
2327
  command.response_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerResponse::Representation
@@ -2156,7 +2330,6 @@ module Google
2156
2330
  command.params['orderId'] = order_id unless order_id.nil?
2157
2331
  command.query['fields'] = fields unless fields.nil?
2158
2332
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2159
- command.query['userIp'] = user_ip unless user_ip.nil?
2160
2333
  execute_or_queue_command(command, &block)
2161
2334
  end
2162
2335
 
@@ -2168,10 +2341,8 @@ module Google
2168
2341
  # @param [String] fields
2169
2342
  # Selector specifying which fields to include in a partial response.
2170
2343
  # @param [String] quota_user
2171
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2172
- # characters.
2173
- # @param [String] user_ip
2174
- # Deprecated. Please use quotaUser instead.
2344
+ # Available to use for quota purposes for server-side applications. Can be any
2345
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2175
2346
  # @param [Google::Apis::RequestOptions] options
2176
2347
  # Request-specific options
2177
2348
  #
@@ -2184,8 +2355,8 @@ module Google
2184
2355
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2185
2356
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2186
2357
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2187
- def createtestorder_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2188
- command = make_simple_command(:post, '{merchantId}/testorders', options)
2358
+ def createtestorder_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2359
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/testorders', options)
2189
2360
  command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderRequest::Representation
2190
2361
  command.request_object = orders_create_test_order_request_object
2191
2362
  command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderResponse::Representation
@@ -2193,7 +2364,6 @@ module Google
2193
2364
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2194
2365
  command.query['fields'] = fields unless fields.nil?
2195
2366
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2196
- command.query['userIp'] = user_ip unless user_ip.nil?
2197
2367
  execute_or_queue_command(command, &block)
2198
2368
  end
2199
2369
 
@@ -2207,10 +2377,8 @@ module Google
2207
2377
  # @param [String] fields
2208
2378
  # Selector specifying which fields to include in a partial response.
2209
2379
  # @param [String] quota_user
2210
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2211
- # characters.
2212
- # @param [String] user_ip
2213
- # Deprecated. Please use quotaUser instead.
2380
+ # Available to use for quota purposes for server-side applications. Can be any
2381
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2214
2382
  # @param [Google::Apis::RequestOptions] options
2215
2383
  # Request-specific options
2216
2384
  #
@@ -2223,8 +2391,8 @@ module Google
2223
2391
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2224
2392
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2225
2393
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2226
- 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)
2227
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
2394
+ def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2395
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/testreturn', options)
2228
2396
  command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnRequest::Representation
2229
2397
  command.request_object = orders_create_test_return_request_object
2230
2398
  command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnResponse::Representation
@@ -2233,7 +2401,6 @@ module Google
2233
2401
  command.params['orderId'] = order_id unless order_id.nil?
2234
2402
  command.query['fields'] = fields unless fields.nil?
2235
2403
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2236
- command.query['userIp'] = user_ip unless user_ip.nil?
2237
2404
  execute_or_queue_command(command, &block)
2238
2405
  end
2239
2406
 
@@ -2246,10 +2413,8 @@ module Google
2246
2413
  # @param [String] fields
2247
2414
  # Selector specifying which fields to include in a partial response.
2248
2415
  # @param [String] quota_user
2249
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2250
- # characters.
2251
- # @param [String] user_ip
2252
- # Deprecated. Please use quotaUser instead.
2416
+ # Available to use for quota purposes for server-side applications. Can be any
2417
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2253
2418
  # @param [Google::Apis::RequestOptions] options
2254
2419
  # Request-specific options
2255
2420
  #
@@ -2262,15 +2427,14 @@ module Google
2262
2427
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2263
2428
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2264
2429
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2265
- def get_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2266
- command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
2430
+ def get_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
2431
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/orders/{orderId}', options)
2267
2432
  command.response_representation = Google::Apis::ContentV2_1::Order::Representation
2268
2433
  command.response_class = Google::Apis::ContentV2_1::Order
2269
2434
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2270
2435
  command.params['orderId'] = order_id unless order_id.nil?
2271
2436
  command.query['fields'] = fields unless fields.nil?
2272
2437
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2273
- command.query['userIp'] = user_ip unless user_ip.nil?
2274
2438
  execute_or_queue_command(command, &block)
2275
2439
  end
2276
2440
 
@@ -2283,10 +2447,8 @@ module Google
2283
2447
  # @param [String] fields
2284
2448
  # Selector specifying which fields to include in a partial response.
2285
2449
  # @param [String] quota_user
2286
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2287
- # characters.
2288
- # @param [String] user_ip
2289
- # Deprecated. Please use quotaUser instead.
2450
+ # Available to use for quota purposes for server-side applications. Can be any
2451
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2290
2452
  # @param [Google::Apis::RequestOptions] options
2291
2453
  # Request-specific options
2292
2454
  #
@@ -2299,15 +2461,14 @@ module Google
2299
2461
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2300
2462
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2301
2463
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2302
- def getbymerchantorderid_order(merchant_id, merchant_order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2303
- command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
2464
+ def getbymerchantorderid_order(merchant_id, merchant_order_id, fields: nil, quota_user: nil, options: nil, &block)
2465
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
2304
2466
  command.response_representation = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse::Representation
2305
2467
  command.response_class = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse
2306
2468
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2307
2469
  command.params['merchantOrderId'] = merchant_order_id unless merchant_order_id.nil?
2308
2470
  command.query['fields'] = fields unless fields.nil?
2309
2471
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2310
- command.query['userIp'] = user_ip unless user_ip.nil?
2311
2472
  execute_or_queue_command(command, &block)
2312
2473
  end
2313
2474
 
@@ -2323,10 +2484,8 @@ module Google
2323
2484
  # @param [String] fields
2324
2485
  # Selector specifying which fields to include in a partial response.
2325
2486
  # @param [String] quota_user
2326
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2327
- # characters.
2328
- # @param [String] user_ip
2329
- # Deprecated. Please use quotaUser instead.
2487
+ # Available to use for quota purposes for server-side applications. Can be any
2488
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2330
2489
  # @param [Google::Apis::RequestOptions] options
2331
2490
  # Request-specific options
2332
2491
  #
@@ -2339,8 +2498,8 @@ module Google
2339
2498
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2340
2499
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2341
2500
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2342
- def gettestordertemplate_order(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2343
- command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
2501
+ def gettestordertemplate_order(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, options: nil, &block)
2502
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/testordertemplates/{templateName}', options)
2344
2503
  command.response_representation = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse::Representation
2345
2504
  command.response_class = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse
2346
2505
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2348,19 +2507,17 @@ module Google
2348
2507
  command.query['country'] = country unless country.nil?
2349
2508
  command.query['fields'] = fields unless fields.nil?
2350
2509
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2351
- command.query['userIp'] = user_ip unless user_ip.nil?
2352
2510
  execute_or_queue_command(command, &block)
2353
2511
  end
2354
2512
 
2355
2513
  # Deprecated. Notifies that item return and refund was handled directly by
2356
2514
  # merchant outside of Google payments processing (e.g. cash refund done in store)
2357
- # .
2358
- # Note: We recommend calling the returnrefundlineitem method to refund in-store
2359
- # returns. We will issue the refund directly to the customer. This helps to
2360
- # prevent possible differences arising between merchant and Google transaction
2361
- # records. We also recommend having the point of sale system communicate with
2362
- # Google to ensure that customers do not receive a double refund by first
2363
- # refunding via Google then via an in-store return.
2515
+ # . Note: We recommend calling the returnrefundlineitem method to refund in-
2516
+ # store returns. We will issue the refund directly to the customer. This helps
2517
+ # to prevent possible differences arising between merchant and Google
2518
+ # transaction records. We also recommend having the point of sale system
2519
+ # communicate with Google to ensure that customers do not receive a double
2520
+ # refund by first refunding via Google then via an in-store return.
2364
2521
  # @param [Fixnum] merchant_id
2365
2522
  # The ID of the account that manages the order. This cannot be a multi-client
2366
2523
  # account.
@@ -2370,10 +2527,8 @@ module Google
2370
2527
  # @param [String] fields
2371
2528
  # Selector specifying which fields to include in a partial response.
2372
2529
  # @param [String] quota_user
2373
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2374
- # characters.
2375
- # @param [String] user_ip
2376
- # Deprecated. Please use quotaUser instead.
2530
+ # Available to use for quota purposes for server-side applications. Can be any
2531
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2377
2532
  # @param [Google::Apis::RequestOptions] options
2378
2533
  # Request-specific options
2379
2534
  #
@@ -2386,8 +2541,8 @@ module Google
2386
2541
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2387
2542
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2388
2543
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2389
- 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)
2390
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
2544
+ def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2545
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
2391
2546
  command.request_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemRequest::Representation
2392
2547
  command.request_object = orders_in_store_refund_line_item_request_object
2393
2548
  command.response_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemResponse::Representation
@@ -2396,7 +2551,6 @@ module Google
2396
2551
  command.params['orderId'] = order_id unless order_id.nil?
2397
2552
  command.query['fields'] = fields unless fields.nil?
2398
2553
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2399
- command.query['userIp'] = user_ip unless user_ip.nil?
2400
2554
  execute_or_queue_command(command, &block)
2401
2555
  end
2402
2556
 
@@ -2407,18 +2561,16 @@ module Google
2407
2561
  # @param [Boolean] acknowledged
2408
2562
  # Obtains orders that match the acknowledgement status. When set to true,
2409
2563
  # obtains orders that have been acknowledged. When false, obtains orders that
2410
- # have not been acknowledged.
2411
- # We recommend using this filter set to `false`, in conjunction with the `
2412
- # acknowledge` call, such that only un-acknowledged orders are returned.
2564
+ # have not been acknowledged. We recommend using this filter set to `false`, in
2565
+ # conjunction with the `acknowledge` call, such that only un-acknowledged orders
2566
+ # are returned.
2413
2567
  # @param [Fixnum] max_results
2414
2568
  # The maximum number of orders to return in the response, used for paging. The
2415
2569
  # default value is 25 orders per page, and the maximum allowed value is 250
2416
2570
  # orders per page.
2417
2571
  # @param [String] order_by
2418
- # Order results by placement date in descending or ascending order.
2419
- # Acceptable values are:
2420
- # - placedDateAsc
2421
- # - placedDateDesc
2572
+ # Order results by placement date in descending or ascending order. Acceptable
2573
+ # values are: - placedDateAsc - placedDateDesc
2422
2574
  # @param [String] page_token
2423
2575
  # The token returned by the previous request.
2424
2576
  # @param [String] placed_date_end
@@ -2433,10 +2585,8 @@ module Google
2433
2585
  # @param [String] fields
2434
2586
  # Selector specifying which fields to include in a partial response.
2435
2587
  # @param [String] quota_user
2436
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2437
- # characters.
2438
- # @param [String] user_ip
2439
- # Deprecated. Please use quotaUser instead.
2588
+ # Available to use for quota purposes for server-side applications. Can be any
2589
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2440
2590
  # @param [Google::Apis::RequestOptions] options
2441
2591
  # Request-specific options
2442
2592
  #
@@ -2449,8 +2599,8 @@ module Google
2449
2599
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2450
2600
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2451
2601
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2452
- 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)
2453
- command = make_simple_command(:get, '{merchantId}/orders', options)
2602
+ 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)
2603
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/orders', options)
2454
2604
  command.response_representation = Google::Apis::ContentV2_1::OrdersListResponse::Representation
2455
2605
  command.response_class = Google::Apis::ContentV2_1::OrdersListResponse
2456
2606
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2463,7 +2613,6 @@ module Google
2463
2613
  command.query['statuses'] = statuses unless statuses.nil?
2464
2614
  command.query['fields'] = fields unless fields.nil?
2465
2615
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2466
- command.query['userIp'] = user_ip unless user_ip.nil?
2467
2616
  execute_or_queue_command(command, &block)
2468
2617
  end
2469
2618
 
@@ -2477,10 +2626,8 @@ module Google
2477
2626
  # @param [String] fields
2478
2627
  # Selector specifying which fields to include in a partial response.
2479
2628
  # @param [String] quota_user
2480
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2481
- # characters.
2482
- # @param [String] user_ip
2483
- # Deprecated. Please use quotaUser instead.
2629
+ # Available to use for quota purposes for server-side applications. Can be any
2630
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2484
2631
  # @param [Google::Apis::RequestOptions] options
2485
2632
  # Request-specific options
2486
2633
  #
@@ -2493,8 +2640,8 @@ module Google
2493
2640
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2494
2641
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2495
2642
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2496
- def refunditem_order(merchant_id, order_id, orders_refund_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2497
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refunditem', options)
2643
+ def refunditem_order(merchant_id, order_id, orders_refund_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2644
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/refunditem', options)
2498
2645
  command.request_representation = Google::Apis::ContentV2_1::OrdersRefundItemRequest::Representation
2499
2646
  command.request_object = orders_refund_item_request_object
2500
2647
  command.response_representation = Google::Apis::ContentV2_1::OrdersRefundItemResponse::Representation
@@ -2503,7 +2650,6 @@ module Google
2503
2650
  command.params['orderId'] = order_id unless order_id.nil?
2504
2651
  command.query['fields'] = fields unless fields.nil?
2505
2652
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2506
- command.query['userIp'] = user_ip unless user_ip.nil?
2507
2653
  execute_or_queue_command(command, &block)
2508
2654
  end
2509
2655
 
@@ -2517,10 +2663,8 @@ module Google
2517
2663
  # @param [String] fields
2518
2664
  # Selector specifying which fields to include in a partial response.
2519
2665
  # @param [String] quota_user
2520
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2521
- # characters.
2522
- # @param [String] user_ip
2523
- # Deprecated. Please use quotaUser instead.
2666
+ # Available to use for quota purposes for server-side applications. Can be any
2667
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2524
2668
  # @param [Google::Apis::RequestOptions] options
2525
2669
  # Request-specific options
2526
2670
  #
@@ -2533,8 +2677,8 @@ module Google
2533
2677
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2534
2678
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2535
2679
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2536
- def refundorder_order(merchant_id, order_id, orders_refund_order_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2537
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refundorder', options)
2680
+ def refundorder_order(merchant_id, order_id, orders_refund_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2681
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/refundorder', options)
2538
2682
  command.request_representation = Google::Apis::ContentV2_1::OrdersRefundOrderRequest::Representation
2539
2683
  command.request_object = orders_refund_order_request_object
2540
2684
  command.response_representation = Google::Apis::ContentV2_1::OrdersRefundOrderResponse::Representation
@@ -2543,7 +2687,6 @@ module Google
2543
2687
  command.params['orderId'] = order_id unless order_id.nil?
2544
2688
  command.query['fields'] = fields unless fields.nil?
2545
2689
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2546
- command.query['userIp'] = user_ip unless user_ip.nil?
2547
2690
  execute_or_queue_command(command, &block)
2548
2691
  end
2549
2692
 
@@ -2557,10 +2700,8 @@ module Google
2557
2700
  # @param [String] fields
2558
2701
  # Selector specifying which fields to include in a partial response.
2559
2702
  # @param [String] quota_user
2560
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2561
- # characters.
2562
- # @param [String] user_ip
2563
- # Deprecated. Please use quotaUser instead.
2703
+ # Available to use for quota purposes for server-side applications. Can be any
2704
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2564
2705
  # @param [Google::Apis::RequestOptions] options
2565
2706
  # Request-specific options
2566
2707
  #
@@ -2573,8 +2714,8 @@ module Google
2573
2714
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2574
2715
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2575
2716
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2576
- 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)
2577
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
2717
+ def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2718
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
2578
2719
  command.request_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemRequest::Representation
2579
2720
  command.request_object = orders_reject_return_line_item_request_object
2580
2721
  command.response_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemResponse::Representation
@@ -2583,7 +2724,6 @@ module Google
2583
2724
  command.params['orderId'] = order_id unless order_id.nil?
2584
2725
  command.query['fields'] = fields unless fields.nil?
2585
2726
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2586
- command.query['userIp'] = user_ip unless user_ip.nil?
2587
2727
  execute_or_queue_command(command, &block)
2588
2728
  end
2589
2729
 
@@ -2602,10 +2742,8 @@ module Google
2602
2742
  # @param [String] fields
2603
2743
  # Selector specifying which fields to include in a partial response.
2604
2744
  # @param [String] quota_user
2605
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2606
- # characters.
2607
- # @param [String] user_ip
2608
- # Deprecated. Please use quotaUser instead.
2745
+ # Available to use for quota purposes for server-side applications. Can be any
2746
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2609
2747
  # @param [Google::Apis::RequestOptions] options
2610
2748
  # Request-specific options
2611
2749
  #
@@ -2618,8 +2756,8 @@ module Google
2618
2756
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2619
2757
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2620
2758
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2621
- 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)
2622
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
2759
+ def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2760
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/returnRefundLineItem', options)
2623
2761
  command.request_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemRequest::Representation
2624
2762
  command.request_object = orders_return_refund_line_item_request_object
2625
2763
  command.response_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemResponse::Representation
@@ -2628,7 +2766,6 @@ module Google
2628
2766
  command.params['orderId'] = order_id unless order_id.nil?
2629
2767
  command.query['fields'] = fields unless fields.nil?
2630
2768
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2631
- command.query['userIp'] = user_ip unless user_ip.nil?
2632
2769
  execute_or_queue_command(command, &block)
2633
2770
  end
2634
2771
 
@@ -2646,10 +2783,8 @@ module Google
2646
2783
  # @param [String] fields
2647
2784
  # Selector specifying which fields to include in a partial response.
2648
2785
  # @param [String] quota_user
2649
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2650
- # characters.
2651
- # @param [String] user_ip
2652
- # Deprecated. Please use quotaUser instead.
2786
+ # Available to use for quota purposes for server-side applications. Can be any
2787
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2653
2788
  # @param [Google::Apis::RequestOptions] options
2654
2789
  # Request-specific options
2655
2790
  #
@@ -2662,8 +2797,8 @@ module Google
2662
2797
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2663
2798
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2664
2799
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2665
- 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)
2666
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
2800
+ def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2801
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/setLineItemMetadata', options)
2667
2802
  command.request_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataRequest::Representation
2668
2803
  command.request_object = orders_set_line_item_metadata_request_object
2669
2804
  command.response_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataResponse::Representation
@@ -2672,7 +2807,6 @@ module Google
2672
2807
  command.params['orderId'] = order_id unless order_id.nil?
2673
2808
  command.query['fields'] = fields unless fields.nil?
2674
2809
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2675
- command.query['userIp'] = user_ip unless user_ip.nil?
2676
2810
  execute_or_queue_command(command, &block)
2677
2811
  end
2678
2812
 
@@ -2686,10 +2820,8 @@ module Google
2686
2820
  # @param [String] fields
2687
2821
  # Selector specifying which fields to include in a partial response.
2688
2822
  # @param [String] quota_user
2689
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2690
- # characters.
2691
- # @param [String] user_ip
2692
- # Deprecated. Please use quotaUser instead.
2823
+ # Available to use for quota purposes for server-side applications. Can be any
2824
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2693
2825
  # @param [Google::Apis::RequestOptions] options
2694
2826
  # Request-specific options
2695
2827
  #
@@ -2702,8 +2834,8 @@ module Google
2702
2834
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2703
2835
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2704
2836
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2705
- 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)
2706
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
2837
+ def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2838
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/shipLineItems', options)
2707
2839
  command.request_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsRequest::Representation
2708
2840
  command.request_object = orders_ship_line_items_request_object
2709
2841
  command.response_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsResponse::Representation
@@ -2712,7 +2844,6 @@ module Google
2712
2844
  command.params['orderId'] = order_id unless order_id.nil?
2713
2845
  command.query['fields'] = fields unless fields.nil?
2714
2846
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2715
- command.query['userIp'] = user_ip unless user_ip.nil?
2716
2847
  execute_or_queue_command(command, &block)
2717
2848
  end
2718
2849
 
@@ -2726,10 +2857,8 @@ module Google
2726
2857
  # @param [String] fields
2727
2858
  # Selector specifying which fields to include in a partial response.
2728
2859
  # @param [String] quota_user
2729
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2730
- # characters.
2731
- # @param [String] user_ip
2732
- # Deprecated. Please use quotaUser instead.
2860
+ # Available to use for quota purposes for server-side applications. Can be any
2861
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2733
2862
  # @param [Google::Apis::RequestOptions] options
2734
2863
  # Request-specific options
2735
2864
  #
@@ -2742,8 +2871,8 @@ module Google
2742
2871
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2743
2872
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2744
2873
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2745
- 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)
2746
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
2874
+ def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2875
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
2747
2876
  command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsRequest::Representation
2748
2877
  command.request_object = orders_update_line_item_shipping_details_request_object
2749
2878
  command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsResponse::Representation
@@ -2752,7 +2881,6 @@ module Google
2752
2881
  command.params['orderId'] = order_id unless order_id.nil?
2753
2882
  command.query['fields'] = fields unless fields.nil?
2754
2883
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2755
- command.query['userIp'] = user_ip unless user_ip.nil?
2756
2884
  execute_or_queue_command(command, &block)
2757
2885
  end
2758
2886
 
@@ -2766,10 +2894,8 @@ module Google
2766
2894
  # @param [String] fields
2767
2895
  # Selector specifying which fields to include in a partial response.
2768
2896
  # @param [String] quota_user
2769
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2770
- # characters.
2771
- # @param [String] user_ip
2772
- # Deprecated. Please use quotaUser instead.
2897
+ # Available to use for quota purposes for server-side applications. Can be any
2898
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2773
2899
  # @param [Google::Apis::RequestOptions] options
2774
2900
  # Request-specific options
2775
2901
  #
@@ -2782,8 +2908,8 @@ module Google
2782
2908
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2783
2909
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2784
2910
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2785
- 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)
2786
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
2911
+ def updatemerchantorderid_order(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2912
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
2787
2913
  command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdRequest::Representation
2788
2914
  command.request_object = orders_update_merchant_order_id_request_object
2789
2915
  command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdResponse::Representation
@@ -2792,7 +2918,6 @@ module Google
2792
2918
  command.params['orderId'] = order_id unless order_id.nil?
2793
2919
  command.query['fields'] = fields unless fields.nil?
2794
2920
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2795
- command.query['userIp'] = user_ip unless user_ip.nil?
2796
2921
  execute_or_queue_command(command, &block)
2797
2922
  end
2798
2923
 
@@ -2806,10 +2931,8 @@ module Google
2806
2931
  # @param [String] fields
2807
2932
  # Selector specifying which fields to include in a partial response.
2808
2933
  # @param [String] quota_user
2809
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2810
- # characters.
2811
- # @param [String] user_ip
2812
- # Deprecated. Please use quotaUser instead.
2934
+ # Available to use for quota purposes for server-side applications. Can be any
2935
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2813
2936
  # @param [Google::Apis::RequestOptions] options
2814
2937
  # Request-specific options
2815
2938
  #
@@ -2822,8 +2945,8 @@ module Google
2822
2945
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2823
2946
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2824
2947
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2825
- def updateshipment_order(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2826
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
2948
+ def updateshipment_order(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2949
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/orders/{orderId}/updateShipment', options)
2827
2950
  command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentRequest::Representation
2828
2951
  command.request_object = orders_update_shipment_request_object
2829
2952
  command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentResponse::Representation
@@ -2832,7 +2955,6 @@ module Google
2832
2955
  command.params['orderId'] = order_id unless order_id.nil?
2833
2956
  command.query['fields'] = fields unless fields.nil?
2834
2957
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2835
- command.query['userIp'] = user_ip unless user_ip.nil?
2836
2958
  execute_or_queue_command(command, &block)
2837
2959
  end
2838
2960
 
@@ -2841,10 +2963,8 @@ module Google
2841
2963
  # @param [String] fields
2842
2964
  # Selector specifying which fields to include in a partial response.
2843
2965
  # @param [String] quota_user
2844
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2845
- # characters.
2846
- # @param [String] user_ip
2847
- # Deprecated. Please use quotaUser instead.
2966
+ # Available to use for quota purposes for server-side applications. Can be any
2967
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2848
2968
  # @param [Google::Apis::RequestOptions] options
2849
2969
  # Request-specific options
2850
2970
  #
@@ -2857,15 +2977,14 @@ module Google
2857
2977
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2858
2978
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2859
2979
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2860
- def custombatch_po(pos_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2861
- command = make_simple_command(:post, 'pos/batch', options)
2980
+ def custombatch_po(pos_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2981
+ command = make_simple_command(:post, 'content/v2.1/pos/batch', options)
2862
2982
  command.request_representation = Google::Apis::ContentV2_1::PosCustomBatchRequest::Representation
2863
2983
  command.request_object = pos_custom_batch_request_object
2864
2984
  command.response_representation = Google::Apis::ContentV2_1::PosCustomBatchResponse::Representation
2865
2985
  command.response_class = Google::Apis::ContentV2_1::PosCustomBatchResponse
2866
2986
  command.query['fields'] = fields unless fields.nil?
2867
2987
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2868
- command.query['userIp'] = user_ip unless user_ip.nil?
2869
2988
  execute_or_queue_command(command, &block)
2870
2989
  end
2871
2990
 
@@ -2879,10 +2998,8 @@ module Google
2879
2998
  # @param [String] fields
2880
2999
  # Selector specifying which fields to include in a partial response.
2881
3000
  # @param [String] quota_user
2882
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2883
- # characters.
2884
- # @param [String] user_ip
2885
- # 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.
2886
3003
  # @param [Google::Apis::RequestOptions] options
2887
3004
  # Request-specific options
2888
3005
  #
@@ -2895,14 +3012,13 @@ module Google
2895
3012
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2896
3013
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2897
3014
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2898
- def delete_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2899
- command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
3015
+ def delete_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block)
3016
+ command = make_simple_command(:delete, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
2900
3017
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2901
3018
  command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
2902
3019
  command.params['storeCode'] = store_code unless store_code.nil?
2903
3020
  command.query['fields'] = fields unless fields.nil?
2904
3021
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2905
- command.query['userIp'] = user_ip unless user_ip.nil?
2906
3022
  execute_or_queue_command(command, &block)
2907
3023
  end
2908
3024
 
@@ -2916,10 +3032,8 @@ module Google
2916
3032
  # @param [String] fields
2917
3033
  # Selector specifying which fields to include in a partial response.
2918
3034
  # @param [String] quota_user
2919
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2920
- # characters.
2921
- # @param [String] user_ip
2922
- # Deprecated. Please use quotaUser instead.
3035
+ # Available to use for quota purposes for server-side applications. Can be any
3036
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2923
3037
  # @param [Google::Apis::RequestOptions] options
2924
3038
  # Request-specific options
2925
3039
  #
@@ -2932,8 +3046,8 @@ module Google
2932
3046
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2933
3047
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2934
3048
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2935
- def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2936
- command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
3049
+ def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block)
3050
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
2937
3051
  command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
2938
3052
  command.response_class = Google::Apis::ContentV2_1::PosStore
2939
3053
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2941,7 +3055,6 @@ module Google
2941
3055
  command.params['storeCode'] = store_code unless store_code.nil?
2942
3056
  command.query['fields'] = fields unless fields.nil?
2943
3057
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2944
- command.query['userIp'] = user_ip unless user_ip.nil?
2945
3058
  execute_or_queue_command(command, &block)
2946
3059
  end
2947
3060
 
@@ -2954,10 +3067,8 @@ module Google
2954
3067
  # @param [String] fields
2955
3068
  # Selector specifying which fields to include in a partial response.
2956
3069
  # @param [String] quota_user
2957
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2958
- # characters.
2959
- # @param [String] user_ip
2960
- # 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.
2961
3072
  # @param [Google::Apis::RequestOptions] options
2962
3073
  # Request-specific options
2963
3074
  #
@@ -2970,8 +3081,8 @@ module Google
2970
3081
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2971
3082
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2972
3083
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2973
- def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2974
- command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
3084
+ def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3085
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/store', options)
2975
3086
  command.request_representation = Google::Apis::ContentV2_1::PosStore::Representation
2976
3087
  command.request_object = pos_store_object
2977
3088
  command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
@@ -2980,7 +3091,6 @@ module Google
2980
3091
  command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
2981
3092
  command.query['fields'] = fields unless fields.nil?
2982
3093
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2983
- command.query['userIp'] = user_ip unless user_ip.nil?
2984
3094
  execute_or_queue_command(command, &block)
2985
3095
  end
2986
3096
 
@@ -2993,10 +3103,8 @@ module Google
2993
3103
  # @param [String] fields
2994
3104
  # Selector specifying which fields to include in a partial response.
2995
3105
  # @param [String] quota_user
2996
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2997
- # characters.
2998
- # @param [String] user_ip
2999
- # Deprecated. Please use quotaUser instead.
3106
+ # Available to use for quota purposes for server-side applications. Can be any
3107
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3000
3108
  # @param [Google::Apis::RequestOptions] options
3001
3109
  # Request-specific options
3002
3110
  #
@@ -3009,8 +3117,8 @@ module Google
3009
3117
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3010
3118
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3011
3119
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3012
- def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3013
- command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
3120
+ def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3121
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/inventory', options)
3014
3122
  command.request_representation = Google::Apis::ContentV2_1::PosInventoryRequest::Representation
3015
3123
  command.request_object = pos_inventory_request_object
3016
3124
  command.response_representation = Google::Apis::ContentV2_1::PosInventoryResponse::Representation
@@ -3019,7 +3127,6 @@ module Google
3019
3127
  command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
3020
3128
  command.query['fields'] = fields unless fields.nil?
3021
3129
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3022
- command.query['userIp'] = user_ip unless user_ip.nil?
3023
3130
  execute_or_queue_command(command, &block)
3024
3131
  end
3025
3132
 
@@ -3031,10 +3138,8 @@ module Google
3031
3138
  # @param [String] fields
3032
3139
  # Selector specifying which fields to include in a partial response.
3033
3140
  # @param [String] quota_user
3034
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3035
- # characters.
3036
- # @param [String] user_ip
3037
- # 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.
3038
3143
  # @param [Google::Apis::RequestOptions] options
3039
3144
  # Request-specific options
3040
3145
  #
@@ -3047,15 +3152,14 @@ module Google
3047
3152
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3048
3153
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3049
3154
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3050
- def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3051
- command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
3155
+ def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, options: nil, &block)
3156
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/store', options)
3052
3157
  command.response_representation = Google::Apis::ContentV2_1::PosListResponse::Representation
3053
3158
  command.response_class = Google::Apis::ContentV2_1::PosListResponse
3054
3159
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3055
3160
  command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
3056
3161
  command.query['fields'] = fields unless fields.nil?
3057
3162
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3058
- command.query['userIp'] = user_ip unless user_ip.nil?
3059
3163
  execute_or_queue_command(command, &block)
3060
3164
  end
3061
3165
 
@@ -3068,10 +3172,8 @@ module Google
3068
3172
  # @param [String] fields
3069
3173
  # Selector specifying which fields to include in a partial response.
3070
3174
  # @param [String] quota_user
3071
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3072
- # characters.
3073
- # @param [String] user_ip
3074
- # Deprecated. Please use quotaUser instead.
3175
+ # Available to use for quota purposes for server-side applications. Can be any
3176
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3075
3177
  # @param [Google::Apis::RequestOptions] options
3076
3178
  # Request-specific options
3077
3179
  #
@@ -3084,8 +3186,8 @@ module Google
3084
3186
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3085
3187
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3086
3188
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3087
- def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3088
- command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
3189
+ def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3190
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/pos/{targetMerchantId}/sale', options)
3089
3191
  command.request_representation = Google::Apis::ContentV2_1::PosSaleRequest::Representation
3090
3192
  command.request_object = pos_sale_request_object
3091
3193
  command.response_representation = Google::Apis::ContentV2_1::PosSaleResponse::Representation
@@ -3094,7 +3196,6 @@ module Google
3094
3196
  command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
3095
3197
  command.query['fields'] = fields unless fields.nil?
3096
3198
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3097
- command.query['userIp'] = user_ip unless user_ip.nil?
3098
3199
  execute_or_queue_command(command, &block)
3099
3200
  end
3100
3201
 
@@ -3103,10 +3204,8 @@ module Google
3103
3204
  # @param [String] fields
3104
3205
  # Selector specifying which fields to include in a partial response.
3105
3206
  # @param [String] quota_user
3106
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3107
- # characters.
3108
- # @param [String] user_ip
3109
- # Deprecated. Please use quotaUser instead.
3207
+ # Available to use for quota purposes for server-side applications. Can be any
3208
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3110
3209
  # @param [Google::Apis::RequestOptions] options
3111
3210
  # Request-specific options
3112
3211
  #
@@ -3119,15 +3218,14 @@ module Google
3119
3218
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3120
3219
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3121
3220
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3122
- def custombatch_product(products_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3123
- command = make_simple_command(:post, 'products/batch', options)
3221
+ def custombatch_product(products_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3222
+ command = make_simple_command(:post, 'content/v2.1/products/batch', options)
3124
3223
  command.request_representation = Google::Apis::ContentV2_1::ProductsCustomBatchRequest::Representation
3125
3224
  command.request_object = products_custom_batch_request_object
3126
3225
  command.response_representation = Google::Apis::ContentV2_1::ProductsCustomBatchResponse::Representation
3127
3226
  command.response_class = Google::Apis::ContentV2_1::ProductsCustomBatchResponse
3128
3227
  command.query['fields'] = fields unless fields.nil?
3129
3228
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3130
- command.query['userIp'] = user_ip unless user_ip.nil?
3131
3229
  execute_or_queue_command(command, &block)
3132
3230
  end
3133
3231
 
@@ -3142,10 +3240,8 @@ module Google
3142
3240
  # @param [String] fields
3143
3241
  # Selector specifying which fields to include in a partial response.
3144
3242
  # @param [String] quota_user
3145
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3146
- # characters.
3147
- # @param [String] user_ip
3148
- # Deprecated. Please use quotaUser instead.
3243
+ # Available to use for quota purposes for server-side applications. Can be any
3244
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3149
3245
  # @param [Google::Apis::RequestOptions] options
3150
3246
  # Request-specific options
3151
3247
  #
@@ -3158,14 +3254,13 @@ module Google
3158
3254
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3159
3255
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3160
3256
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3161
- def delete_product(merchant_id, product_id, feed_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3162
- command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
3257
+ def delete_product(merchant_id, product_id, feed_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3258
+ command = make_simple_command(:delete, 'content/v2.1/{merchantId}/products/{productId}', options)
3163
3259
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3164
3260
  command.params['productId'] = product_id unless product_id.nil?
3165
3261
  command.query['feedId'] = feed_id unless feed_id.nil?
3166
3262
  command.query['fields'] = fields unless fields.nil?
3167
3263
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3168
- command.query['userIp'] = user_ip unless user_ip.nil?
3169
3264
  execute_or_queue_command(command, &block)
3170
3265
  end
3171
3266
 
@@ -3178,10 +3273,8 @@ module Google
3178
3273
  # @param [String] fields
3179
3274
  # Selector specifying which fields to include in a partial response.
3180
3275
  # @param [String] quota_user
3181
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3182
- # characters.
3183
- # @param [String] user_ip
3184
- # Deprecated. Please use quotaUser instead.
3276
+ # Available to use for quota purposes for server-side applications. Can be any
3277
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3185
3278
  # @param [Google::Apis::RequestOptions] options
3186
3279
  # Request-specific options
3187
3280
  #
@@ -3194,15 +3287,14 @@ module Google
3194
3287
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3195
3288
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3196
3289
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3197
- def get_product(merchant_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3198
- command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
3290
+ def get_product(merchant_id, product_id, fields: nil, quota_user: nil, options: nil, &block)
3291
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/products/{productId}', options)
3199
3292
  command.response_representation = Google::Apis::ContentV2_1::Product::Representation
3200
3293
  command.response_class = Google::Apis::ContentV2_1::Product
3201
3294
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3202
3295
  command.params['productId'] = product_id unless product_id.nil?
3203
3296
  command.query['fields'] = fields unless fields.nil?
3204
3297
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3205
- command.query['userIp'] = user_ip unless user_ip.nil?
3206
3298
  execute_or_queue_command(command, &block)
3207
3299
  end
3208
3300
 
@@ -3218,10 +3310,8 @@ module Google
3218
3310
  # @param [String] fields
3219
3311
  # Selector specifying which fields to include in a partial response.
3220
3312
  # @param [String] quota_user
3221
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3222
- # characters.
3223
- # @param [String] user_ip
3224
- # Deprecated. Please use quotaUser instead.
3313
+ # Available to use for quota purposes for server-side applications. Can be any
3314
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3225
3315
  # @param [Google::Apis::RequestOptions] options
3226
3316
  # Request-specific options
3227
3317
  #
@@ -3234,8 +3324,8 @@ module Google
3234
3324
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3235
3325
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3236
3326
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3237
- def insert_product(merchant_id, product_object = nil, feed_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3238
- command = make_simple_command(:post, '{merchantId}/products', options)
3327
+ def insert_product(merchant_id, product_object = nil, feed_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3328
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/products', options)
3239
3329
  command.request_representation = Google::Apis::ContentV2_1::Product::Representation
3240
3330
  command.request_object = product_object
3241
3331
  command.response_representation = Google::Apis::ContentV2_1::Product::Representation
@@ -3244,7 +3334,6 @@ module Google
3244
3334
  command.query['feedId'] = feed_id unless feed_id.nil?
3245
3335
  command.query['fields'] = fields unless fields.nil?
3246
3336
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3247
- command.query['userIp'] = user_ip unless user_ip.nil?
3248
3337
  execute_or_queue_command(command, &block)
3249
3338
  end
3250
3339
 
@@ -3261,10 +3350,8 @@ module Google
3261
3350
  # @param [String] fields
3262
3351
  # Selector specifying which fields to include in a partial response.
3263
3352
  # @param [String] quota_user
3264
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3265
- # characters.
3266
- # @param [String] user_ip
3267
- # Deprecated. Please use quotaUser instead.
3353
+ # Available to use for quota purposes for server-side applications. Can be any
3354
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3268
3355
  # @param [Google::Apis::RequestOptions] options
3269
3356
  # Request-specific options
3270
3357
  #
@@ -3277,8 +3364,8 @@ module Google
3277
3364
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3278
3365
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3279
3366
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3280
- def list_products(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3281
- command = make_simple_command(:get, '{merchantId}/products', options)
3367
+ def list_products(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3368
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/products', options)
3282
3369
  command.response_representation = Google::Apis::ContentV2_1::ProductsListResponse::Representation
3283
3370
  command.response_class = Google::Apis::ContentV2_1::ProductsListResponse
3284
3371
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3286,7 +3373,6 @@ module Google
3286
3373
  command.query['pageToken'] = page_token unless page_token.nil?
3287
3374
  command.query['fields'] = fields unless fields.nil?
3288
3375
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3289
- command.query['userIp'] = user_ip unless user_ip.nil?
3290
3376
  execute_or_queue_command(command, &block)
3291
3377
  end
3292
3378
 
@@ -3295,10 +3381,8 @@ module Google
3295
3381
  # @param [String] fields
3296
3382
  # Selector specifying which fields to include in a partial response.
3297
3383
  # @param [String] quota_user
3298
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3299
- # characters.
3300
- # @param [String] user_ip
3301
- # Deprecated. Please use quotaUser instead.
3384
+ # Available to use for quota purposes for server-side applications. Can be any
3385
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3302
3386
  # @param [Google::Apis::RequestOptions] options
3303
3387
  # Request-specific options
3304
3388
  #
@@ -3311,15 +3395,14 @@ module Google
3311
3395
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3312
3396
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3313
3397
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3314
- def custombatch_productstatus(productstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3315
- command = make_simple_command(:post, 'productstatuses/batch', options)
3398
+ def custombatch_productstatus(productstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3399
+ command = make_simple_command(:post, 'content/v2.1/productstatuses/batch', options)
3316
3400
  command.request_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchRequest::Representation
3317
3401
  command.request_object = productstatuses_custom_batch_request_object
3318
3402
  command.response_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse::Representation
3319
3403
  command.response_class = Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse
3320
3404
  command.query['fields'] = fields unless fields.nil?
3321
3405
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3322
- command.query['userIp'] = user_ip unless user_ip.nil?
3323
3406
  execute_or_queue_command(command, &block)
3324
3407
  end
3325
3408
 
@@ -3335,10 +3418,8 @@ module Google
3335
3418
  # @param [String] fields
3336
3419
  # Selector specifying which fields to include in a partial response.
3337
3420
  # @param [String] quota_user
3338
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3339
- # characters.
3340
- # @param [String] user_ip
3341
- # Deprecated. Please use quotaUser instead.
3421
+ # Available to use for quota purposes for server-side applications. Can be any
3422
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3342
3423
  # @param [Google::Apis::RequestOptions] options
3343
3424
  # Request-specific options
3344
3425
  #
@@ -3351,8 +3432,8 @@ module Google
3351
3432
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3352
3433
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3353
3434
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3354
- def get_productstatus(merchant_id, product_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3355
- command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
3435
+ def get_productstatus(merchant_id, product_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block)
3436
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/productstatuses/{productId}', options)
3356
3437
  command.response_representation = Google::Apis::ContentV2_1::ProductStatus::Representation
3357
3438
  command.response_class = Google::Apis::ContentV2_1::ProductStatus
3358
3439
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3360,7 +3441,6 @@ module Google
3360
3441
  command.query['destinations'] = destinations unless destinations.nil?
3361
3442
  command.query['fields'] = fields unless fields.nil?
3362
3443
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3363
- command.query['userIp'] = user_ip unless user_ip.nil?
3364
3444
  execute_or_queue_command(command, &block)
3365
3445
  end
3366
3446
 
@@ -3379,10 +3459,8 @@ module Google
3379
3459
  # @param [String] fields
3380
3460
  # Selector specifying which fields to include in a partial response.
3381
3461
  # @param [String] quota_user
3382
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3383
- # characters.
3384
- # @param [String] user_ip
3385
- # Deprecated. Please use quotaUser instead.
3462
+ # Available to use for quota purposes for server-side applications. Can be any
3463
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3386
3464
  # @param [Google::Apis::RequestOptions] options
3387
3465
  # Request-specific options
3388
3466
  #
@@ -3395,8 +3473,8 @@ module Google
3395
3473
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3396
3474
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3397
3475
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3398
- def list_productstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3399
- command = make_simple_command(:get, '{merchantId}/productstatuses', options)
3476
+ def list_productstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3477
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/productstatuses', options)
3400
3478
  command.response_representation = Google::Apis::ContentV2_1::ProductstatusesListResponse::Representation
3401
3479
  command.response_class = Google::Apis::ContentV2_1::ProductstatusesListResponse
3402
3480
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3405,7 +3483,6 @@ module Google
3405
3483
  command.query['pageToken'] = page_token unless page_token.nil?
3406
3484
  command.query['fields'] = fields unless fields.nil?
3407
3485
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3408
- command.query['userIp'] = user_ip unless user_ip.nil?
3409
3486
  execute_or_queue_command(command, &block)
3410
3487
  end
3411
3488
 
@@ -3415,10 +3492,8 @@ module Google
3415
3492
  # @param [String] fields
3416
3493
  # Selector specifying which fields to include in a partial response.
3417
3494
  # @param [String] quota_user
3418
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3419
- # characters.
3420
- # @param [String] user_ip
3421
- # Deprecated. Please use quotaUser instead.
3495
+ # Available to use for quota purposes for server-side applications. Can be any
3496
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3422
3497
  # @param [Google::Apis::RequestOptions] options
3423
3498
  # Request-specific options
3424
3499
  #
@@ -3431,14 +3506,13 @@ module Google
3431
3506
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3432
3507
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3433
3508
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3434
- def get_pubsubnotificationsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3435
- command = make_simple_command(:get, '{merchantId}/pubsubnotificationsettings', options)
3509
+ def get_pubsubnotificationsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
3510
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/pubsubnotificationsettings', options)
3436
3511
  command.response_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
3437
3512
  command.response_class = Google::Apis::ContentV2_1::PubsubNotificationSettings
3438
3513
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3439
3514
  command.query['fields'] = fields unless fields.nil?
3440
3515
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3441
- command.query['userIp'] = user_ip unless user_ip.nil?
3442
3516
  execute_or_queue_command(command, &block)
3443
3517
  end
3444
3518
 
@@ -3450,10 +3524,8 @@ module Google
3450
3524
  # @param [String] fields
3451
3525
  # Selector specifying which fields to include in a partial response.
3452
3526
  # @param [String] quota_user
3453
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3454
- # characters.
3455
- # @param [String] user_ip
3456
- # Deprecated. Please use quotaUser instead.
3527
+ # Available to use for quota purposes for server-side applications. Can be any
3528
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3457
3529
  # @param [Google::Apis::RequestOptions] options
3458
3530
  # Request-specific options
3459
3531
  #
@@ -3466,8 +3538,8 @@ module Google
3466
3538
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3467
3539
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3468
3540
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3469
- def update_pubsubnotificationsetting(merchant_id, pubsub_notification_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3470
- command = make_simple_command(:put, '{merchantId}/pubsubnotificationsettings', options)
3541
+ def update_pubsubnotificationsetting(merchant_id, pubsub_notification_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3542
+ command = make_simple_command(:put, 'content/v2.1/{merchantId}/pubsubnotificationsettings', options)
3471
3543
  command.request_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
3472
3544
  command.request_object = pubsub_notification_settings_object
3473
3545
  command.response_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
@@ -3475,7 +3547,6 @@ module Google
3475
3547
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3476
3548
  command.query['fields'] = fields unless fields.nil?
3477
3549
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3478
- command.query['userIp'] = user_ip unless user_ip.nil?
3479
3550
  execute_or_queue_command(command, &block)
3480
3551
  end
3481
3552
 
@@ -3485,10 +3556,8 @@ module Google
3485
3556
  # @param [String] fields
3486
3557
  # Selector specifying which fields to include in a partial response.
3487
3558
  # @param [String] quota_user
3488
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3489
- # characters.
3490
- # @param [String] user_ip
3491
- # Deprecated. Please use quotaUser instead.
3559
+ # Available to use for quota purposes for server-side applications. Can be any
3560
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3492
3561
  # @param [Google::Apis::RequestOptions] options
3493
3562
  # Request-specific options
3494
3563
  #
@@ -3501,15 +3570,14 @@ module Google
3501
3570
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3502
3571
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3503
3572
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3504
- def custombatch_regionalinventory(regionalinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3505
- command = make_simple_command(:post, 'regionalinventory/batch', options)
3573
+ def custombatch_regionalinventory(regionalinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3574
+ command = make_simple_command(:post, 'content/v2.1/regionalinventory/batch', options)
3506
3575
  command.request_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchRequest::Representation
3507
3576
  command.request_object = regionalinventory_custom_batch_request_object
3508
3577
  command.response_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse::Representation
3509
3578
  command.response_class = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse
3510
3579
  command.query['fields'] = fields unless fields.nil?
3511
3580
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3512
- command.query['userIp'] = user_ip unless user_ip.nil?
3513
3581
  execute_or_queue_command(command, &block)
3514
3582
  end
3515
3583
 
@@ -3525,10 +3593,8 @@ module Google
3525
3593
  # @param [String] fields
3526
3594
  # Selector specifying which fields to include in a partial response.
3527
3595
  # @param [String] quota_user
3528
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3529
- # characters.
3530
- # @param [String] user_ip
3531
- # Deprecated. Please use quotaUser instead.
3596
+ # Available to use for quota purposes for server-side applications. Can be any
3597
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3532
3598
  # @param [Google::Apis::RequestOptions] options
3533
3599
  # Request-specific options
3534
3600
  #
@@ -3541,8 +3607,8 @@ module Google
3541
3607
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3542
3608
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3543
3609
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3544
- def insert_regionalinventory(merchant_id, product_id, regional_inventory_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3545
- command = make_simple_command(:post, '{merchantId}/products/{productId}/regionalinventory', options)
3610
+ def insert_regionalinventory(merchant_id, product_id, regional_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3611
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/products/{productId}/regionalinventory', options)
3546
3612
  command.request_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
3547
3613
  command.request_object = regional_inventory_object
3548
3614
  command.response_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
@@ -3551,7 +3617,194 @@ module Google
3551
3617
  command.params['productId'] = product_id unless product_id.nil?
3552
3618
  command.query['fields'] = fields unless fields.nil?
3553
3619
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3554
- command.query['userIp'] = user_ip unless user_ip.nil?
3620
+ execute_or_queue_command(command, &block)
3621
+ end
3622
+
3623
+ # Creates a repricing rule for your Merchant Center account.
3624
+ # @param [Fixnum] merchant_id
3625
+ # Required. The id of the merchant who owns the repricing rule.
3626
+ # @param [Google::Apis::ContentV2_1::RepricingRule] repricing_rule_object
3627
+ # @param [String] rule_id
3628
+ # Required. The id of the rule to create.
3629
+ # @param [String] fields
3630
+ # Selector specifying which fields to include in a partial response.
3631
+ # @param [String] quota_user
3632
+ # Available to use for quota purposes for server-side applications. Can be any
3633
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3634
+ # @param [Google::Apis::RequestOptions] options
3635
+ # Request-specific options
3636
+ #
3637
+ # @yield [result, err] Result & error if block supplied
3638
+ # @yieldparam result [Google::Apis::ContentV2_1::RepricingRule] parsed result object
3639
+ # @yieldparam err [StandardError] error object if request failed
3640
+ #
3641
+ # @return [Google::Apis::ContentV2_1::RepricingRule]
3642
+ #
3643
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3644
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3645
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3646
+ def create_repricingrule(merchant_id, repricing_rule_object = nil, rule_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3647
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/repricingrules', options)
3648
+ command.request_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
3649
+ command.request_object = repricing_rule_object
3650
+ command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
3651
+ command.response_class = Google::Apis::ContentV2_1::RepricingRule
3652
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
3653
+ command.query['ruleId'] = rule_id unless rule_id.nil?
3654
+ command.query['fields'] = fields unless fields.nil?
3655
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3656
+ execute_or_queue_command(command, &block)
3657
+ end
3658
+
3659
+ # Deletes a repricing rule in your Merchant Center account.
3660
+ # @param [Fixnum] merchant_id
3661
+ # Required. The id of the merchant who owns the repricing rule.
3662
+ # @param [String] rule_id
3663
+ # Required. The id of the rule to Delete.
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 [NilClass] No result returned for this method
3674
+ # @yieldparam err [StandardError] error object if request failed
3675
+ #
3676
+ # @return [void]
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 delete_repricingrule(merchant_id, rule_id, fields: nil, quota_user: nil, options: nil, &block)
3682
+ command = make_simple_command(:delete, 'content/v2.1/{merchantId}/repricingrules/{ruleId}', options)
3683
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
3684
+ command.params['ruleId'] = rule_id unless rule_id.nil?
3685
+ command.query['fields'] = fields unless fields.nil?
3686
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3687
+ execute_or_queue_command(command, &block)
3688
+ end
3689
+
3690
+ # Retrieves a repricing rule from your Merchant Center account.
3691
+ # @param [Fixnum] merchant_id
3692
+ # Required. The id of the merchant who owns the repricing rule.
3693
+ # @param [String] rule_id
3694
+ # Required. The id of the rule to retrieve.
3695
+ # @param [String] fields
3696
+ # Selector specifying which fields to include in a partial response.
3697
+ # @param [String] quota_user
3698
+ # Available to use for quota purposes for server-side applications. Can be any
3699
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3700
+ # @param [Google::Apis::RequestOptions] options
3701
+ # Request-specific options
3702
+ #
3703
+ # @yield [result, err] Result & error if block supplied
3704
+ # @yieldparam result [Google::Apis::ContentV2_1::RepricingRule] parsed result object
3705
+ # @yieldparam err [StandardError] error object if request failed
3706
+ #
3707
+ # @return [Google::Apis::ContentV2_1::RepricingRule]
3708
+ #
3709
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3710
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3711
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3712
+ def get_repricingrule(merchant_id, rule_id, fields: nil, quota_user: nil, options: nil, &block)
3713
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/repricingrules/{ruleId}', options)
3714
+ command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
3715
+ command.response_class = Google::Apis::ContentV2_1::RepricingRule
3716
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
3717
+ command.params['ruleId'] = rule_id unless rule_id.nil?
3718
+ command.query['fields'] = fields unless fields.nil?
3719
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3720
+ execute_or_queue_command(command, &block)
3721
+ end
3722
+
3723
+ # Lists the repricing rules in your Merchant Center account.
3724
+ # @param [Fixnum] merchant_id
3725
+ # Required. The id of the merchant who owns the repricing rule.
3726
+ # @param [String] country_code
3727
+ # CLDR country code (e.g. "US"), used as a filter on repricing rules.
3728
+ # @param [String] language_code
3729
+ # The two-letter ISO 639-1 language code associated with the repricing rule,
3730
+ # used as a filter.
3731
+ # @param [Fixnum] page_size
3732
+ # The maximum number of repricing rules to return. The service may return fewer
3733
+ # than this value. If unspecified, at most 50 rules will be returned. The
3734
+ # maximum value is 1000; values above 1000 will be coerced to 1000.
3735
+ # @param [String] page_token
3736
+ # A page token, received from a previous `ListRepricingRules` call. Provide this
3737
+ # to retrieve the subsequent page. When paginating, all other parameters
3738
+ # provided to `ListRepricingRules` must match the call that provided the page
3739
+ # token.
3740
+ # @param [String] fields
3741
+ # Selector specifying which fields to include in a partial response.
3742
+ # @param [String] quota_user
3743
+ # Available to use for quota purposes for server-side applications. Can be any
3744
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3745
+ # @param [Google::Apis::RequestOptions] options
3746
+ # Request-specific options
3747
+ #
3748
+ # @yield [result, err] Result & error if block supplied
3749
+ # @yieldparam result [Google::Apis::ContentV2_1::ListRepricingRulesResponse] parsed result object
3750
+ # @yieldparam err [StandardError] error object if request failed
3751
+ #
3752
+ # @return [Google::Apis::ContentV2_1::ListRepricingRulesResponse]
3753
+ #
3754
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3755
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3756
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3757
+ 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)
3758
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/repricingrules', options)
3759
+ command.response_representation = Google::Apis::ContentV2_1::ListRepricingRulesResponse::Representation
3760
+ command.response_class = Google::Apis::ContentV2_1::ListRepricingRulesResponse
3761
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
3762
+ command.query['countryCode'] = country_code unless country_code.nil?
3763
+ command.query['languageCode'] = language_code unless language_code.nil?
3764
+ command.query['pageSize'] = page_size unless page_size.nil?
3765
+ command.query['pageToken'] = page_token unless page_token.nil?
3766
+ command.query['fields'] = fields unless fields.nil?
3767
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3768
+ execute_or_queue_command(command, &block)
3769
+ end
3770
+
3771
+ # Updates a repricing rule in your Merchant Center account. All mutable fields
3772
+ # will be overwritten in each update request. In each update, you must provide
3773
+ # all required mutable fields, or an error will be thrown. If you do not provide
3774
+ # an optional field in the update request, if that field currently exists, it
3775
+ # will be deleted from the rule.
3776
+ # @param [Fixnum] merchant_id
3777
+ # Required. The id of the merchant who owns the repricing rule.
3778
+ # @param [String] rule_id
3779
+ # Required. The id of the rule to update.
3780
+ # @param [Google::Apis::ContentV2_1::RepricingRule] repricing_rule_object
3781
+ # @param [String] fields
3782
+ # Selector specifying which fields to include in a partial response.
3783
+ # @param [String] quota_user
3784
+ # Available to use for quota purposes for server-side applications. Can be any
3785
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3786
+ # @param [Google::Apis::RequestOptions] options
3787
+ # Request-specific options
3788
+ #
3789
+ # @yield [result, err] Result & error if block supplied
3790
+ # @yieldparam result [Google::Apis::ContentV2_1::RepricingRule] parsed result object
3791
+ # @yieldparam err [StandardError] error object if request failed
3792
+ #
3793
+ # @return [Google::Apis::ContentV2_1::RepricingRule]
3794
+ #
3795
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3796
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3797
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3798
+ def patch_repricingrule(merchant_id, rule_id, repricing_rule_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3799
+ command = make_simple_command(:patch, 'content/v2.1/{merchantId}/repricingrules/{ruleId}', options)
3800
+ command.request_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
3801
+ command.request_object = repricing_rule_object
3802
+ command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
3803
+ command.response_class = Google::Apis::ContentV2_1::RepricingRule
3804
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
3805
+ command.params['ruleId'] = rule_id unless rule_id.nil?
3806
+ command.query['fields'] = fields unless fields.nil?
3807
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3555
3808
  execute_or_queue_command(command, &block)
3556
3809
  end
3557
3810
 
@@ -3560,10 +3813,8 @@ module Google
3560
3813
  # @param [String] fields
3561
3814
  # Selector specifying which fields to include in a partial response.
3562
3815
  # @param [String] quota_user
3563
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3564
- # characters.
3565
- # @param [String] user_ip
3566
- # Deprecated. Please use quotaUser instead.
3816
+ # Available to use for quota purposes for server-side applications. Can be any
3817
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3567
3818
  # @param [Google::Apis::RequestOptions] options
3568
3819
  # Request-specific options
3569
3820
  #
@@ -3576,15 +3827,14 @@ module Google
3576
3827
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3577
3828
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3578
3829
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3579
- def custombatch_returnaddress(returnaddress_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3580
- command = make_simple_command(:post, 'returnaddress/batch', options)
3830
+ def custombatch_returnaddress(returnaddress_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3831
+ command = make_simple_command(:post, 'content/v2.1/returnaddress/batch', options)
3581
3832
  command.request_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequest::Representation
3582
3833
  command.request_object = returnaddress_custom_batch_request_object
3583
3834
  command.response_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse::Representation
3584
3835
  command.response_class = Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse
3585
3836
  command.query['fields'] = fields unless fields.nil?
3586
3837
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3587
- command.query['userIp'] = user_ip unless user_ip.nil?
3588
3838
  execute_or_queue_command(command, &block)
3589
3839
  end
3590
3840
 
@@ -3596,10 +3846,8 @@ module Google
3596
3846
  # @param [String] fields
3597
3847
  # Selector specifying which fields to include in a partial response.
3598
3848
  # @param [String] quota_user
3599
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3600
- # characters.
3601
- # @param [String] user_ip
3602
- # Deprecated. Please use quotaUser instead.
3849
+ # Available to use for quota purposes for server-side applications. Can be any
3850
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3603
3851
  # @param [Google::Apis::RequestOptions] options
3604
3852
  # Request-specific options
3605
3853
  #
@@ -3612,13 +3860,12 @@ module Google
3612
3860
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3613
3861
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3614
3862
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3615
- def delete_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3616
- command = make_simple_command(:delete, '{merchantId}/returnaddress/{returnAddressId}', options)
3863
+ def delete_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil, &block)
3864
+ command = make_simple_command(:delete, 'content/v2.1/{merchantId}/returnaddress/{returnAddressId}', options)
3617
3865
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3618
3866
  command.params['returnAddressId'] = return_address_id unless return_address_id.nil?
3619
3867
  command.query['fields'] = fields unless fields.nil?
3620
3868
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3621
- command.query['userIp'] = user_ip unless user_ip.nil?
3622
3869
  execute_or_queue_command(command, &block)
3623
3870
  end
3624
3871
 
@@ -3630,10 +3877,8 @@ module Google
3630
3877
  # @param [String] fields
3631
3878
  # Selector specifying which fields to include in a partial response.
3632
3879
  # @param [String] quota_user
3633
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3634
- # characters.
3635
- # @param [String] user_ip
3636
- # Deprecated. Please use quotaUser instead.
3880
+ # Available to use for quota purposes for server-side applications. Can be any
3881
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3637
3882
  # @param [Google::Apis::RequestOptions] options
3638
3883
  # Request-specific options
3639
3884
  #
@@ -3646,15 +3891,14 @@ module Google
3646
3891
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3647
3892
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3648
3893
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3649
- def get_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3650
- command = make_simple_command(:get, '{merchantId}/returnaddress/{returnAddressId}', options)
3894
+ def get_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil, &block)
3895
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/returnaddress/{returnAddressId}', options)
3651
3896
  command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
3652
3897
  command.response_class = Google::Apis::ContentV2_1::ReturnAddress
3653
3898
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3654
3899
  command.params['returnAddressId'] = return_address_id unless return_address_id.nil?
3655
3900
  command.query['fields'] = fields unless fields.nil?
3656
3901
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3657
- command.query['userIp'] = user_ip unless user_ip.nil?
3658
3902
  execute_or_queue_command(command, &block)
3659
3903
  end
3660
3904
 
@@ -3665,10 +3909,8 @@ module Google
3665
3909
  # @param [String] fields
3666
3910
  # Selector specifying which fields to include in a partial response.
3667
3911
  # @param [String] quota_user
3668
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3669
- # characters.
3670
- # @param [String] user_ip
3671
- # Deprecated. Please use quotaUser instead.
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.
3672
3914
  # @param [Google::Apis::RequestOptions] options
3673
3915
  # Request-specific options
3674
3916
  #
@@ -3681,8 +3923,8 @@ module Google
3681
3923
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3682
3924
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3683
3925
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3684
- def insert_returnaddress(merchant_id, return_address_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3685
- command = make_simple_command(:post, '{merchantId}/returnaddress', options)
3926
+ def insert_returnaddress(merchant_id, return_address_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3927
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/returnaddress', options)
3686
3928
  command.request_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
3687
3929
  command.request_object = return_address_object
3688
3930
  command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
@@ -3690,7 +3932,6 @@ module Google
3690
3932
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3691
3933
  command.query['fields'] = fields unless fields.nil?
3692
3934
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3693
- command.query['userIp'] = user_ip unless user_ip.nil?
3694
3935
  execute_or_queue_command(command, &block)
3695
3936
  end
3696
3937
 
@@ -3707,10 +3948,8 @@ module Google
3707
3948
  # @param [String] fields
3708
3949
  # Selector specifying which fields to include in a partial response.
3709
3950
  # @param [String] quota_user
3710
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3711
- # characters.
3712
- # @param [String] user_ip
3713
- # Deprecated. Please use quotaUser instead.
3951
+ # Available to use for quota purposes for server-side applications. Can be any
3952
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3714
3953
  # @param [Google::Apis::RequestOptions] options
3715
3954
  # Request-specific options
3716
3955
  #
@@ -3723,8 +3962,8 @@ module Google
3723
3962
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3724
3963
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3725
3964
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3726
- def list_returnaddresses(merchant_id, country: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3727
- command = make_simple_command(:get, '{merchantId}/returnaddress', options)
3965
+ def list_returnaddresses(merchant_id, country: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3966
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/returnaddress', options)
3728
3967
  command.response_representation = Google::Apis::ContentV2_1::ReturnaddressListResponse::Representation
3729
3968
  command.response_class = Google::Apis::ContentV2_1::ReturnaddressListResponse
3730
3969
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3733,7 +3972,6 @@ module Google
3733
3972
  command.query['pageToken'] = page_token unless page_token.nil?
3734
3973
  command.query['fields'] = fields unless fields.nil?
3735
3974
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3736
- command.query['userIp'] = user_ip unless user_ip.nil?
3737
3975
  execute_or_queue_command(command, &block)
3738
3976
  end
3739
3977
 
@@ -3742,10 +3980,8 @@ module Google
3742
3980
  # @param [String] fields
3743
3981
  # Selector specifying which fields to include in a partial response.
3744
3982
  # @param [String] quota_user
3745
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3746
- # characters.
3747
- # @param [String] user_ip
3748
- # Deprecated. Please use quotaUser instead.
3983
+ # Available to use for quota purposes for server-side applications. Can be any
3984
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3749
3985
  # @param [Google::Apis::RequestOptions] options
3750
3986
  # Request-specific options
3751
3987
  #
@@ -3758,15 +3994,14 @@ module Google
3758
3994
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3759
3995
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3760
3996
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3761
- def custombatch_returnpolicy(returnpolicy_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3762
- command = make_simple_command(:post, 'returnpolicy/batch', options)
3997
+ def custombatch_returnpolicy(returnpolicy_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3998
+ command = make_simple_command(:post, 'content/v2.1/returnpolicy/batch', options)
3763
3999
  command.request_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequest::Representation
3764
4000
  command.request_object = returnpolicy_custom_batch_request_object
3765
4001
  command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse::Representation
3766
4002
  command.response_class = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse
3767
4003
  command.query['fields'] = fields unless fields.nil?
3768
4004
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3769
- command.query['userIp'] = user_ip unless user_ip.nil?
3770
4005
  execute_or_queue_command(command, &block)
3771
4006
  end
3772
4007
 
@@ -3778,10 +4013,8 @@ module Google
3778
4013
  # @param [String] fields
3779
4014
  # Selector specifying which fields to include in a partial response.
3780
4015
  # @param [String] quota_user
3781
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3782
- # characters.
3783
- # @param [String] user_ip
3784
- # Deprecated. Please use quotaUser instead.
4016
+ # Available to use for quota purposes for server-side applications. Can be any
4017
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3785
4018
  # @param [Google::Apis::RequestOptions] options
3786
4019
  # Request-specific options
3787
4020
  #
@@ -3794,13 +4027,12 @@ module Google
3794
4027
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3795
4028
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3796
4029
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3797
- def delete_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3798
- command = make_simple_command(:delete, '{merchantId}/returnpolicy/{returnPolicyId}', options)
4030
+ def delete_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
4031
+ command = make_simple_command(:delete, 'content/v2.1/{merchantId}/returnpolicy/{returnPolicyId}', options)
3799
4032
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3800
4033
  command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil?
3801
4034
  command.query['fields'] = fields unless fields.nil?
3802
4035
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3803
- command.query['userIp'] = user_ip unless user_ip.nil?
3804
4036
  execute_or_queue_command(command, &block)
3805
4037
  end
3806
4038
 
@@ -3812,10 +4044,8 @@ module Google
3812
4044
  # @param [String] fields
3813
4045
  # Selector specifying which fields to include in a partial response.
3814
4046
  # @param [String] quota_user
3815
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3816
- # characters.
3817
- # @param [String] user_ip
3818
- # Deprecated. Please use quotaUser instead.
4047
+ # Available to use for quota purposes for server-side applications. Can be any
4048
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3819
4049
  # @param [Google::Apis::RequestOptions] options
3820
4050
  # Request-specific options
3821
4051
  #
@@ -3828,15 +4058,14 @@ module Google
3828
4058
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3829
4059
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3830
4060
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3831
- def get_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3832
- command = make_simple_command(:get, '{merchantId}/returnpolicy/{returnPolicyId}', options)
4061
+ def get_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
4062
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/returnpolicy/{returnPolicyId}', options)
3833
4063
  command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
3834
4064
  command.response_class = Google::Apis::ContentV2_1::ReturnPolicy
3835
4065
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3836
4066
  command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil?
3837
4067
  command.query['fields'] = fields unless fields.nil?
3838
4068
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3839
- command.query['userIp'] = user_ip unless user_ip.nil?
3840
4069
  execute_or_queue_command(command, &block)
3841
4070
  end
3842
4071
 
@@ -3847,10 +4076,8 @@ module Google
3847
4076
  # @param [String] fields
3848
4077
  # Selector specifying which fields to include in a partial response.
3849
4078
  # @param [String] quota_user
3850
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3851
- # characters.
3852
- # @param [String] user_ip
3853
- # Deprecated. Please use quotaUser instead.
4079
+ # Available to use for quota purposes for server-side applications. Can be any
4080
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3854
4081
  # @param [Google::Apis::RequestOptions] options
3855
4082
  # Request-specific options
3856
4083
  #
@@ -3863,8 +4090,8 @@ module Google
3863
4090
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3864
4091
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3865
4092
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3866
- def insert_returnpolicy(merchant_id, return_policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3867
- command = make_simple_command(:post, '{merchantId}/returnpolicy', options)
4093
+ def insert_returnpolicy(merchant_id, return_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4094
+ command = make_simple_command(:post, 'content/v2.1/{merchantId}/returnpolicy', options)
3868
4095
  command.request_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
3869
4096
  command.request_object = return_policy_object
3870
4097
  command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
@@ -3872,7 +4099,6 @@ module Google
3872
4099
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3873
4100
  command.query['fields'] = fields unless fields.nil?
3874
4101
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3875
- command.query['userIp'] = user_ip unless user_ip.nil?
3876
4102
  execute_or_queue_command(command, &block)
3877
4103
  end
3878
4104
 
@@ -3882,10 +4108,8 @@ module Google
3882
4108
  # @param [String] fields
3883
4109
  # Selector specifying which fields to include in a partial response.
3884
4110
  # @param [String] quota_user
3885
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3886
- # characters.
3887
- # @param [String] user_ip
3888
- # Deprecated. Please use quotaUser instead.
4111
+ # Available to use for quota purposes for server-side applications. Can be any
4112
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3889
4113
  # @param [Google::Apis::RequestOptions] options
3890
4114
  # Request-specific options
3891
4115
  #
@@ -3898,14 +4122,13 @@ module Google
3898
4122
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3899
4123
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3900
4124
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3901
- def list_returnpolicies(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3902
- command = make_simple_command(:get, '{merchantId}/returnpolicy', options)
4125
+ def list_returnpolicies(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
4126
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/returnpolicy', options)
3903
4127
  command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyListResponse::Representation
3904
4128
  command.response_class = Google::Apis::ContentV2_1::ReturnpolicyListResponse
3905
4129
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3906
4130
  command.query['fields'] = fields unless fields.nil?
3907
4131
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3908
- command.query['userIp'] = user_ip unless user_ip.nil?
3909
4132
  execute_or_queue_command(command, &block)
3910
4133
  end
3911
4134
 
@@ -3917,10 +4140,8 @@ module Google
3917
4140
  # @param [String] fields
3918
4141
  # Selector specifying which fields to include in a partial response.
3919
4142
  # @param [String] quota_user
3920
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3921
- # characters.
3922
- # @param [String] user_ip
3923
- # Deprecated. Please use quotaUser instead.
4143
+ # Available to use for quota purposes for server-side applications. Can be any
4144
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3924
4145
  # @param [Google::Apis::RequestOptions] options
3925
4146
  # Request-specific options
3926
4147
  #
@@ -3933,15 +4154,14 @@ module Google
3933
4154
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3934
4155
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3935
4156
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3936
- def get_settlementreport(merchant_id, settlement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3937
- command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}', options)
4157
+ def get_settlementreport(merchant_id, settlement_id, fields: nil, quota_user: nil, options: nil, &block)
4158
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/settlementreports/{settlementId}', options)
3938
4159
  command.response_representation = Google::Apis::ContentV2_1::SettlementReport::Representation
3939
4160
  command.response_class = Google::Apis::ContentV2_1::SettlementReport
3940
4161
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3941
4162
  command.params['settlementId'] = settlement_id unless settlement_id.nil?
3942
4163
  command.query['fields'] = fields unless fields.nil?
3943
4164
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3944
- command.query['userIp'] = user_ip unless user_ip.nil?
3945
4165
  execute_or_queue_command(command, &block)
3946
4166
  end
3947
4167
 
@@ -3963,10 +4183,8 @@ module Google
3963
4183
  # @param [String] fields
3964
4184
  # Selector specifying which fields to include in a partial response.
3965
4185
  # @param [String] quota_user
3966
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3967
- # characters.
3968
- # @param [String] user_ip
3969
- # Deprecated. Please use quotaUser instead.
4186
+ # Available to use for quota purposes for server-side applications. Can be any
4187
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3970
4188
  # @param [Google::Apis::RequestOptions] options
3971
4189
  # Request-specific options
3972
4190
  #
@@ -3979,8 +4197,8 @@ module Google
3979
4197
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3980
4198
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3981
4199
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3982
- 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)
3983
- command = make_simple_command(:get, '{merchantId}/settlementreports', options)
4200
+ 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)
4201
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/settlementreports', options)
3984
4202
  command.response_representation = Google::Apis::ContentV2_1::SettlementreportsListResponse::Representation
3985
4203
  command.response_class = Google::Apis::ContentV2_1::SettlementreportsListResponse
3986
4204
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3990,7 +4208,6 @@ module Google
3990
4208
  command.query['transferStartDate'] = transfer_start_date unless transfer_start_date.nil?
3991
4209
  command.query['fields'] = fields unless fields.nil?
3992
4210
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3993
- command.query['userIp'] = user_ip unless user_ip.nil?
3994
4211
  execute_or_queue_command(command, &block)
3995
4212
  end
3996
4213
 
@@ -4011,10 +4228,8 @@ module Google
4011
4228
  # @param [String] fields
4012
4229
  # Selector specifying which fields to include in a partial response.
4013
4230
  # @param [String] quota_user
4014
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4015
- # characters.
4016
- # @param [String] user_ip
4017
- # Deprecated. Please use quotaUser instead.
4231
+ # Available to use for quota purposes for server-side applications. Can be any
4232
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4018
4233
  # @param [Google::Apis::RequestOptions] options
4019
4234
  # Request-specific options
4020
4235
  #
@@ -4027,8 +4242,8 @@ module Google
4027
4242
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4028
4243
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4029
4244
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4030
- 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)
4031
- command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}/transactions', options)
4245
+ def list_settlementtransactions(merchant_id, settlement_id, max_results: nil, page_token: nil, transaction_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
4246
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/settlementreports/{settlementId}/transactions', options)
4032
4247
  command.response_representation = Google::Apis::ContentV2_1::SettlementtransactionsListResponse::Representation
4033
4248
  command.response_class = Google::Apis::ContentV2_1::SettlementtransactionsListResponse
4034
4249
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -4038,7 +4253,6 @@ module Google
4038
4253
  command.query['transactionIds'] = transaction_ids unless transaction_ids.nil?
4039
4254
  command.query['fields'] = fields unless fields.nil?
4040
4255
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4041
- command.query['userIp'] = user_ip unless user_ip.nil?
4042
4256
  execute_or_queue_command(command, &block)
4043
4257
  end
4044
4258
 
@@ -4048,10 +4262,8 @@ module Google
4048
4262
  # @param [String] fields
4049
4263
  # Selector specifying which fields to include in a partial response.
4050
4264
  # @param [String] quota_user
4051
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4052
- # characters.
4053
- # @param [String] user_ip
4054
- # Deprecated. Please use quotaUser instead.
4265
+ # Available to use for quota purposes for server-side applications. Can be any
4266
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4055
4267
  # @param [Google::Apis::RequestOptions] options
4056
4268
  # Request-specific options
4057
4269
  #
@@ -4064,15 +4276,14 @@ module Google
4064
4276
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4065
4277
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4066
4278
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4067
- def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4068
- command = make_simple_command(:post, 'shippingsettings/batch', options)
4279
+ def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4280
+ command = make_simple_command(:post, 'content/v2.1/shippingsettings/batch', options)
4069
4281
  command.request_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequest::Representation
4070
4282
  command.request_object = shippingsettings_custom_batch_request_object
4071
4283
  command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse::Representation
4072
4284
  command.response_class = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse
4073
4285
  command.query['fields'] = fields unless fields.nil?
4074
4286
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4075
- command.query['userIp'] = user_ip unless user_ip.nil?
4076
4287
  execute_or_queue_command(command, &block)
4077
4288
  end
4078
4289
 
@@ -4086,10 +4297,8 @@ module Google
4086
4297
  # @param [String] fields
4087
4298
  # Selector specifying which fields to include in a partial response.
4088
4299
  # @param [String] quota_user
4089
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4090
- # characters.
4091
- # @param [String] user_ip
4092
- # Deprecated. Please use quotaUser instead.
4300
+ # Available to use for quota purposes for server-side applications. Can be any
4301
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4093
4302
  # @param [Google::Apis::RequestOptions] options
4094
4303
  # Request-specific options
4095
4304
  #
@@ -4102,15 +4311,14 @@ module Google
4102
4311
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4103
4312
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4104
4313
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4105
- def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4106
- command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
4314
+ def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
4315
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/shippingsettings/{accountId}', options)
4107
4316
  command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
4108
4317
  command.response_class = Google::Apis::ContentV2_1::ShippingSettings
4109
4318
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
4110
4319
  command.params['accountId'] = account_id unless account_id.nil?
4111
4320
  command.query['fields'] = fields unless fields.nil?
4112
4321
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4113
- command.query['userIp'] = user_ip unless user_ip.nil?
4114
4322
  execute_or_queue_command(command, &block)
4115
4323
  end
4116
4324
 
@@ -4120,10 +4328,8 @@ module Google
4120
4328
  # @param [String] fields
4121
4329
  # Selector specifying which fields to include in a partial response.
4122
4330
  # @param [String] quota_user
4123
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4124
- # characters.
4125
- # @param [String] user_ip
4126
- # Deprecated. Please use quotaUser instead.
4331
+ # Available to use for quota purposes for server-side applications. Can be any
4332
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4127
4333
  # @param [Google::Apis::RequestOptions] options
4128
4334
  # Request-specific options
4129
4335
  #
@@ -4136,14 +4342,13 @@ module Google
4136
4342
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4137
4343
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4138
4344
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4139
- def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4140
- command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
4345
+ def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
4346
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/supportedCarriers', options)
4141
4347
  command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse::Representation
4142
4348
  command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse
4143
4349
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
4144
4350
  command.query['fields'] = fields unless fields.nil?
4145
4351
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4146
- command.query['userIp'] = user_ip unless user_ip.nil?
4147
4352
  execute_or_queue_command(command, &block)
4148
4353
  end
4149
4354
 
@@ -4153,10 +4358,8 @@ module Google
4153
4358
  # @param [String] fields
4154
4359
  # Selector specifying which fields to include in a partial response.
4155
4360
  # @param [String] quota_user
4156
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4157
- # characters.
4158
- # @param [String] user_ip
4159
- # Deprecated. Please use quotaUser instead.
4361
+ # Available to use for quota purposes for server-side applications. Can be any
4362
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4160
4363
  # @param [Google::Apis::RequestOptions] options
4161
4364
  # Request-specific options
4162
4365
  #
@@ -4169,14 +4372,13 @@ module Google
4169
4372
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4170
4373
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4171
4374
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4172
- def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4173
- command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
4375
+ def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
4376
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/supportedHolidays', options)
4174
4377
  command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse::Representation
4175
4378
  command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse
4176
4379
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
4177
4380
  command.query['fields'] = fields unless fields.nil?
4178
4381
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4179
- command.query['userIp'] = user_ip unless user_ip.nil?
4180
4382
  execute_or_queue_command(command, &block)
4181
4383
  end
4182
4384
 
@@ -4186,10 +4388,8 @@ module Google
4186
4388
  # @param [String] fields
4187
4389
  # Selector specifying which fields to include in a partial response.
4188
4390
  # @param [String] quota_user
4189
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4190
- # characters.
4191
- # @param [String] user_ip
4192
- # Deprecated. Please use quotaUser instead.
4391
+ # Available to use for quota purposes for server-side applications. Can be any
4392
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4193
4393
  # @param [Google::Apis::RequestOptions] options
4194
4394
  # Request-specific options
4195
4395
  #
@@ -4202,14 +4402,13 @@ module Google
4202
4402
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4203
4403
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4204
4404
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4205
- def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4206
- command = make_simple_command(:get, '{merchantId}/supportedPickupServices', options)
4405
+ def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
4406
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/supportedPickupServices', options)
4207
4407
  command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse::Representation
4208
4408
  command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse
4209
4409
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
4210
4410
  command.query['fields'] = fields unless fields.nil?
4211
4411
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4212
- command.query['userIp'] = user_ip unless user_ip.nil?
4213
4412
  execute_or_queue_command(command, &block)
4214
4413
  end
4215
4414
 
@@ -4225,10 +4424,8 @@ module Google
4225
4424
  # @param [String] fields
4226
4425
  # Selector specifying which fields to include in a partial response.
4227
4426
  # @param [String] quota_user
4228
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4229
- # characters.
4230
- # @param [String] user_ip
4231
- # Deprecated. Please use quotaUser instead.
4427
+ # Available to use for quota purposes for server-side applications. Can be any
4428
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4232
4429
  # @param [Google::Apis::RequestOptions] options
4233
4430
  # Request-specific options
4234
4431
  #
@@ -4241,8 +4438,8 @@ module Google
4241
4438
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4242
4439
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4243
4440
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4244
- def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4245
- command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
4441
+ def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4442
+ command = make_simple_command(:get, 'content/v2.1/{merchantId}/shippingsettings', options)
4246
4443
  command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsListResponse::Representation
4247
4444
  command.response_class = Google::Apis::ContentV2_1::ShippingsettingsListResponse
4248
4445
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -4250,7 +4447,6 @@ module Google
4250
4447
  command.query['pageToken'] = page_token unless page_token.nil?
4251
4448
  command.query['fields'] = fields unless fields.nil?
4252
4449
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4253
- command.query['userIp'] = user_ip unless user_ip.nil?
4254
4450
  execute_or_queue_command(command, &block)
4255
4451
  end
4256
4452
 
@@ -4266,10 +4462,8 @@ module Google
4266
4462
  # @param [String] fields
4267
4463
  # Selector specifying which fields to include in a partial response.
4268
4464
  # @param [String] quota_user
4269
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4270
- # characters.
4271
- # @param [String] user_ip
4272
- # Deprecated. Please use quotaUser instead.
4465
+ # Available to use for quota purposes for server-side applications. Can be any
4466
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4273
4467
  # @param [Google::Apis::RequestOptions] options
4274
4468
  # Request-specific options
4275
4469
  #
@@ -4282,8 +4476,8 @@ module Google
4282
4476
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4283
4477
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4284
4478
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4285
- def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4286
- command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
4479
+ def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4480
+ command = make_simple_command(:put, 'content/v2.1/{merchantId}/shippingsettings/{accountId}', options)
4287
4481
  command.request_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
4288
4482
  command.request_object = shipping_settings_object
4289
4483
  command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
@@ -4292,7 +4486,6 @@ module Google
4292
4486
  command.params['accountId'] = account_id unless account_id.nil?
4293
4487
  command.query['fields'] = fields unless fields.nil?
4294
4488
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4295
- command.query['userIp'] = user_ip unless user_ip.nil?
4296
4489
  execute_or_queue_command(command, &block)
4297
4490
  end
4298
4491
 
@@ -4301,7 +4494,6 @@ module Google
4301
4494
  def apply_command_defaults(command)
4302
4495
  command.query['key'] = key unless key.nil?
4303
4496
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4304
- command.query['userIp'] = user_ip unless user_ip.nil?
4305
4497
  end
4306
4498
  end
4307
4499
  end