google-api-client 0.46.2 → 0.51.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 (556) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +79 -0
  3. data/.kokoro/trampoline.sh +0 -0
  4. data/CHANGELOG.md +736 -192
  5. data/Gemfile +1 -0
  6. data/Rakefile +31 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
  9. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  10. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
  14. data/generated/google/apis/admob_v1.rb +4 -1
  15. data/generated/google/apis/admob_v1/service.rb +4 -0
  16. data/generated/google/apis/admob_v1beta.rb +38 -0
  17. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  18. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  19. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  20. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  21. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +13 -12
  22. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +28 -12
  23. data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
  24. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +263 -69
  25. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -14
  26. data/generated/google/apis/analyticsdata_v1alpha/service.rb +44 -33
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  30. data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
  31. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  32. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -30
  33. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  34. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
  36. data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
  37. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  38. data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
  39. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
  40. data/generated/google/apis/apigee_v1.rb +1 -1
  41. data/generated/google/apis/apigee_v1/classes.rb +378 -138
  42. data/generated/google/apis/apigee_v1/representations.rb +109 -18
  43. data/generated/google/apis/apigee_v1/service.rb +674 -56
  44. data/generated/google/apis/appengine_v1beta.rb +1 -1
  45. data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
  46. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  47. data/generated/google/apis/area120tables_v1alpha1.rb +49 -0
  48. data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
  49. data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
  50. data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
  51. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  52. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -7
  53. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
  54. data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
  55. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
  56. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
  57. data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
  58. data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
  59. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +69 -137
  60. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +29 -87
  61. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
  62. data/generated/google/apis/bigquery_v2.rb +1 -1
  63. data/generated/google/apis/bigquery_v2/classes.rb +78 -0
  64. data/generated/google/apis/bigquery_v2/representations.rb +34 -0
  65. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  66. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  67. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  68. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  69. data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
  70. data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
  71. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  72. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
  73. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  74. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  75. data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -9
  76. data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
  77. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  78. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +4 -10
  79. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
  80. data/generated/google/apis/books_v1.rb +1 -1
  81. data/generated/google/apis/books_v1/service.rb +52 -52
  82. data/generated/google/apis/calendar_v3.rb +1 -1
  83. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  84. data/generated/google/apis/chat_v1.rb +1 -1
  85. data/generated/google/apis/chat_v1/classes.rb +7 -0
  86. data/generated/google/apis/chat_v1/representations.rb +1 -0
  87. data/generated/google/apis/chat_v1/service.rb +176 -0
  88. data/generated/google/apis/cloudasset_v1.rb +1 -1
  89. data/generated/google/apis/cloudasset_v1/classes.rb +1125 -0
  90. data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
  91. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  92. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  93. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  95. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  96. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  97. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  98. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1/classes.rb +3 -2
  100. data/generated/google/apis/cloudbuild_v1/service.rb +11 -3
  101. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  102. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  103. data/generated/google/apis/cloudidentity_v1/service.rb +15 -7
  104. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  105. data/generated/google/apis/cloudidentity_v1beta1/service.rb +37 -21
  106. data/generated/google/apis/cloudiot_v1.rb +1 -1
  107. data/generated/google/apis/cloudiot_v1/classes.rb +0 -7
  108. data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
  109. data/generated/google/apis/cloudkms_v1.rb +1 -1
  110. data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
  111. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
  113. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
  114. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
  116. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
  117. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
  119. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
  120. data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
  121. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
  123. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
  124. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
  125. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  126. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
  127. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2/classes.rb +0 -7
  129. data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
  130. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  131. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -7
  132. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
  133. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  134. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  135. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -7
  136. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
  137. data/generated/google/apis/composer_v1.rb +1 -1
  138. data/generated/google/apis/composer_v1/classes.rb +123 -0
  139. data/generated/google/apis/composer_v1/representations.rb +49 -0
  140. data/generated/google/apis/composer_v1/service.rb +19 -15
  141. data/generated/google/apis/composer_v1beta1.rb +1 -1
  142. data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
  143. data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
  144. data/generated/google/apis/composer_v1beta1/service.rb +39 -1
  145. data/generated/google/apis/compute_v1.rb +1 -1
  146. data/generated/google/apis/compute_v1/classes.rb +289 -31
  147. data/generated/google/apis/compute_v1/representations.rb +44 -0
  148. data/generated/google/apis/compute_v1/service.rb +695 -545
  149. data/generated/google/apis/container_v1beta1.rb +1 -1
  150. data/generated/google/apis/container_v1beta1/classes.rb +29 -0
  151. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  152. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  153. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -7
  154. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
  155. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  156. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -8
  157. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
  158. data/generated/google/apis/content_v2.rb +3 -4
  159. data/generated/google/apis/content_v2/classes.rb +514 -1222
  160. data/generated/google/apis/content_v2/service.rb +380 -651
  161. data/generated/google/apis/content_v2_1.rb +3 -4
  162. data/generated/google/apis/content_v2_1/classes.rb +1522 -1062
  163. data/generated/google/apis/content_v2_1/representations.rb +420 -0
  164. data/generated/google/apis/content_v2_1/service.rb +1127 -809
  165. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  166. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -17
  167. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -1
  168. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  169. data/generated/google/apis/dataflow_v1b3/classes.rb +29 -1
  170. data/generated/google/apis/dataflow_v1b3/representations.rb +5 -0
  171. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  172. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  173. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  174. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  175. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  176. data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
  177. data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
  178. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  179. data/generated/google/apis/dataproc_v1.rb +1 -1
  180. data/generated/google/apis/dataproc_v1/classes.rb +95 -12
  181. data/generated/google/apis/dataproc_v1/representations.rb +23 -1
  182. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  183. data/generated/google/apis/dataproc_v1beta2/classes.rb +63 -12
  184. data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -1
  185. data/generated/google/apis/datastore_v1.rb +1 -1
  186. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  187. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  188. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  189. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  190. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  191. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  192. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  193. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  194. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  195. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  196. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  197. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  198. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  199. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  200. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  201. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  202. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  203. data/generated/google/apis/dialogflow_v2.rb +1 -1
  204. data/generated/google/apis/dialogflow_v2/classes.rb +19 -387
  205. data/generated/google/apis/dialogflow_v2/representations.rb +1 -212
  206. data/generated/google/apis/dialogflow_v2/service.rb +12 -4
  207. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  208. data/generated/google/apis/dialogflow_v2beta1/classes.rb +17 -390
  209. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -212
  210. data/generated/google/apis/dialogflow_v2beta1/service.rb +510 -40
  211. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  212. data/generated/google/apis/dialogflow_v3beta1/classes.rb +76 -387
  213. data/generated/google/apis/dialogflow_v3beta1/representations.rb +20 -212
  214. data/generated/google/apis/dialogflow_v3beta1/service.rb +11 -3
  215. data/generated/google/apis/displayvideo_v1.rb +1 -1
  216. data/generated/google/apis/displayvideo_v1/classes.rb +306 -34
  217. data/generated/google/apis/displayvideo_v1/representations.rb +122 -0
  218. data/generated/google/apis/displayvideo_v1/service.rb +342 -38
  219. data/generated/google/apis/dlp_v2.rb +1 -1
  220. data/generated/google/apis/dlp_v2/classes.rb +35 -29
  221. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  222. data/generated/google/apis/dns_v1.rb +2 -2
  223. data/generated/google/apis/dns_v1/classes.rb +6 -0
  224. data/generated/google/apis/dns_v1/representations.rb +1 -0
  225. data/generated/google/apis/dns_v1/service.rb +1 -1
  226. data/generated/google/apis/dns_v1beta2.rb +2 -2
  227. data/generated/google/apis/dns_v1beta2/classes.rb +20 -1
  228. data/generated/google/apis/dns_v1beta2/representations.rb +13 -0
  229. data/generated/google/apis/dns_v1beta2/service.rb +177 -1
  230. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  231. data/generated/google/apis/domains_v1beta1.rb +1 -1
  232. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  233. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
  234. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  235. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
  236. data/generated/google/apis/drive_v2.rb +1 -1
  237. data/generated/google/apis/drive_v2/classes.rb +24 -21
  238. data/generated/google/apis/drive_v2/service.rb +26 -58
  239. data/generated/google/apis/drive_v3.rb +1 -1
  240. data/generated/google/apis/drive_v3/classes.rb +12 -8
  241. data/generated/google/apis/drive_v3/service.rb +14 -30
  242. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  243. data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
  244. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  245. data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
  246. data/generated/google/apis/file_v1.rb +1 -1
  247. data/generated/google/apis/file_v1/classes.rb +505 -4
  248. data/generated/google/apis/file_v1/representations.rb +203 -0
  249. data/generated/google/apis/file_v1/service.rb +229 -1
  250. data/generated/google/apis/file_v1beta1.rb +1 -1
  251. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  252. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  253. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  254. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  255. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  256. data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
  257. data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
  258. data/generated/google/apis/{displayvideo_v1dev → firebasedatabase_v1beta}/representations.rb +26 -16
  259. data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
  260. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  261. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  262. data/generated/google/apis/firestore_v1.rb +1 -1
  263. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  264. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  265. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  266. data/generated/google/apis/games_v1.rb +1 -1
  267. data/generated/google/apis/games_v1/classes.rb +353 -0
  268. data/generated/google/apis/games_v1/representations.rb +145 -0
  269. data/generated/google/apis/games_v1/service.rb +67 -0
  270. data/generated/google/apis/gameservices_v1.rb +1 -1
  271. data/generated/google/apis/gameservices_v1/classes.rb +1 -2
  272. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  273. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  274. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  275. data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
  276. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  277. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  278. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
  279. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
  280. data/generated/google/apis/healthcare_v1.rb +1 -1
  281. data/generated/google/apis/healthcare_v1/classes.rb +24 -17
  282. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  283. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  284. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  285. data/generated/google/apis/healthcare_v1beta1/classes.rb +361 -57
  286. data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
  287. data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
  288. data/generated/google/apis/iam_v1.rb +2 -5
  289. data/generated/google/apis/iam_v1/classes.rb +109 -11
  290. data/generated/google/apis/iam_v1/representations.rb +33 -1
  291. data/generated/google/apis/iam_v1/service.rb +63 -4
  292. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  293. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  294. data/generated/google/apis/iap_v1.rb +1 -1
  295. data/generated/google/apis/iap_v1/classes.rb +1 -13
  296. data/generated/google/apis/iap_v1/representations.rb +0 -1
  297. data/generated/google/apis/iap_v1beta1.rb +1 -1
  298. data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
  299. data/generated/google/apis/jobs_v3.rb +1 -1
  300. data/generated/google/apis/jobs_v3/classes.rb +9 -807
  301. data/generated/google/apis/jobs_v3/representations.rb +0 -272
  302. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  303. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
  304. data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
  305. data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
  306. data/generated/google/apis/jobs_v4/classes.rb +2699 -0
  307. data/generated/google/apis/jobs_v4/representations.rb +934 -0
  308. data/generated/google/apis/jobs_v4/service.rb +903 -0
  309. data/generated/google/apis/licensing_v1.rb +1 -1
  310. data/generated/google/apis/licensing_v1/classes.rb +26 -8
  311. data/generated/google/apis/licensing_v1/representations.rb +12 -0
  312. data/generated/google/apis/licensing_v1/service.rb +34 -31
  313. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  314. data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
  315. data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
  316. data/generated/google/apis/localservices_v1.rb +1 -1
  317. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  318. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  319. data/generated/google/apis/logging_v2.rb +1 -1
  320. data/generated/google/apis/logging_v2/classes.rb +191 -14
  321. data/generated/google/apis/logging_v2/representations.rb +77 -0
  322. data/generated/google/apis/logging_v2/service.rb +446 -25
  323. data/generated/google/apis/managedidentities_v1.rb +1 -1
  324. data/generated/google/apis/managedidentities_v1/classes.rb +361 -16
  325. data/generated/google/apis/managedidentities_v1/representations.rb +149 -1
  326. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  327. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +363 -17
  328. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -1
  329. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  330. data/generated/google/apis/managedidentities_v1beta1/classes.rb +349 -12
  331. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -1
  332. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  333. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  334. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  335. data/generated/google/apis/ml_v1.rb +1 -1
  336. data/generated/google/apis/ml_v1/classes.rb +272 -84
  337. data/generated/google/apis/ml_v1/representations.rb +43 -1
  338. data/generated/google/apis/ml_v1/service.rb +35 -0
  339. data/generated/google/apis/monitoring_v3.rb +1 -1
  340. data/generated/google/apis/monitoring_v3/classes.rb +16 -9
  341. data/generated/google/apis/monitoring_v3/service.rb +55 -5
  342. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  343. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  344. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  345. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  346. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  347. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  348. data/generated/google/apis/notebooks_v1.rb +34 -0
  349. data/generated/google/apis/notebooks_v1/classes.rb +1455 -0
  350. data/generated/google/apis/notebooks_v1/representations.rb +580 -0
  351. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  352. data/generated/google/apis/osconfig_v1.rb +1 -1
  353. data/generated/google/apis/osconfig_v1/classes.rb +419 -0
  354. data/generated/google/apis/osconfig_v1/representations.rb +168 -0
  355. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  356. data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
  357. data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
  358. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  359. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
  360. data/generated/google/apis/people_v1.rb +1 -1
  361. data/generated/google/apis/people_v1/classes.rb +10 -6
  362. data/generated/google/apis/people_v1/service.rb +21 -18
  363. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  364. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  365. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  366. data/generated/google/apis/privateca_v1beta1.rb +36 -0
  367. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  368. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  369. data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
  370. data/generated/google/apis/pubsub_v1.rb +1 -1
  371. data/generated/google/apis/pubsub_v1/classes.rb +0 -7
  372. data/generated/google/apis/pubsub_v1/representations.rb +0 -1
  373. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  374. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  375. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -7
  376. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
  377. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  378. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  379. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  380. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  381. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  382. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  383. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  384. data/generated/google/apis/recommender_v1.rb +1 -1
  385. data/generated/google/apis/recommender_v1/classes.rb +3 -3
  386. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  387. data/generated/google/apis/recommender_v1beta1/classes.rb +3 -3
  388. data/generated/google/apis/redis_v1.rb +1 -1
  389. data/generated/google/apis/redis_v1/classes.rb +86 -0
  390. data/generated/google/apis/redis_v1/representations.rb +34 -0
  391. data/generated/google/apis/redis_v1/service.rb +34 -0
  392. data/generated/google/apis/redis_v1beta1.rb +1 -1
  393. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  394. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  395. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  396. data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
  397. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
  398. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  399. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
  400. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
  401. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  402. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
  403. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
  404. data/generated/google/apis/reseller_v1.rb +4 -4
  405. data/generated/google/apis/reseller_v1/service.rb +5 -5
  406. data/generated/google/apis/run_v1.rb +1 -1
  407. data/generated/google/apis/run_v1/classes.rb +2 -1
  408. data/generated/google/apis/run_v1alpha1.rb +1 -1
  409. data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
  410. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  411. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
  412. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  413. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  414. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  415. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  416. data/generated/google/apis/secretmanager_v1.rb +1 -1
  417. data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
  418. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  419. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  420. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
  421. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  422. data/generated/google/apis/securitycenter_v1.rb +1 -1
  423. data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
  424. data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
  425. data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
  426. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  427. data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
  428. data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
  429. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  430. data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
  431. data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
  432. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  433. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
  434. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  435. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  436. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
  437. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  438. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  439. data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
  440. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  441. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  442. data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
  443. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  444. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  445. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -13
  446. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
  447. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  448. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
  449. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
  450. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  451. data/generated/google/apis/servicenetworking_v1/classes.rb +156 -64
  452. data/generated/google/apis/servicenetworking_v1/representations.rb +62 -15
  453. data/generated/google/apis/servicenetworking_v1/service.rb +80 -0
  454. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  455. data/generated/google/apis/servicenetworking_v1beta/classes.rb +69 -64
  456. data/generated/google/apis/servicenetworking_v1beta/representations.rb +29 -15
  457. data/generated/google/apis/serviceusage_v1.rb +1 -1
  458. data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
  459. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  460. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  461. data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
  462. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  463. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  464. data/generated/google/apis/sheets_v4.rb +1 -1
  465. data/generated/google/apis/sheets_v4/classes.rb +332 -7
  466. data/generated/google/apis/sheets_v4/representations.rb +102 -0
  467. data/generated/google/apis/slides_v1.rb +1 -1
  468. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  469. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
  470. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
  471. data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
  472. data/generated/google/apis/spanner_v1.rb +1 -1
  473. data/generated/google/apis/spanner_v1/classes.rb +10 -8
  474. data/generated/google/apis/spanner_v1/representations.rb +1 -1
  475. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  476. data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
  477. data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
  478. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  479. data/generated/google/apis/sqladmin_v1beta4/classes.rb +118 -11
  480. data/generated/google/apis/sqladmin_v1beta4/representations.rb +37 -0
  481. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  482. data/generated/google/apis/storage_v1.rb +1 -1
  483. data/generated/google/apis/storage_v1/classes.rb +7 -0
  484. data/generated/google/apis/storage_v1/representations.rb +1 -0
  485. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  486. data/generated/google/apis/storagetransfer_v1/classes.rb +72 -50
  487. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  488. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  489. data/generated/google/apis/tagmanager_v2.rb +1 -1
  490. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  491. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  492. data/generated/google/apis/testing_v1.rb +1 -1
  493. data/generated/google/apis/testing_v1/classes.rb +45 -33
  494. data/generated/google/apis/testing_v1/representations.rb +1 -0
  495. data/generated/google/apis/testing_v1/service.rb +4 -4
  496. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  497. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  498. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  499. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  500. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  501. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  502. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  503. data/generated/google/apis/translate_v3.rb +1 -1
  504. data/generated/google/apis/translate_v3/classes.rb +2 -1
  505. data/generated/google/apis/translate_v3beta1.rb +1 -1
  506. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  507. data/generated/google/apis/vault_v1.rb +1 -1
  508. data/generated/google/apis/vault_v1/classes.rb +76 -0
  509. data/generated/google/apis/vault_v1/representations.rb +45 -0
  510. data/generated/google/apis/vectortile_v1.rb +1 -1
  511. data/generated/google/apis/vectortile_v1/classes.rb +59 -4
  512. data/generated/google/apis/vectortile_v1/representations.rb +19 -0
  513. data/generated/google/apis/videointelligence_v1.rb +1 -1
  514. data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
  515. data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
  516. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  517. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  518. data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
  519. data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
  520. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  521. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
  522. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
  523. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  524. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
  525. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
  526. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  527. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
  528. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
  529. data/generated/google/apis/vision_v1.rb +1 -1
  530. data/generated/google/apis/vision_v1/classes.rb +16 -16
  531. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  532. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  533. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  534. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  535. data/generated/google/apis/youtube_v3.rb +1 -1
  536. data/generated/google/apis/youtube_v3/classes.rb +2 -2
  537. data/generated/google/apis/youtube_v3/service.rb +6 -6
  538. data/google-api-client.gemspec +25 -25
  539. data/lib/google/apis/core/http_command.rb +2 -1
  540. data/lib/google/apis/options.rb +8 -5
  541. data/lib/google/apis/version.rb +1 -1
  542. metadata +53 -24
  543. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  544. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  545. data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
  546. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  547. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  548. data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
  549. data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
  550. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  551. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  552. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  553. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
  554. data/generated/google/apis/jobs_v2/classes.rb +0 -4012
  555. data/generated/google/apis/jobs_v2/representations.rb +0 -1396
  556. data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -22,8 +22,7 @@ module Google
22
22
  module ContentV2
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'
@@ -31,7 +30,7 @@ module Google
31
30
  # Content = Google::Apis::ContentV2 # 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/')
52
- @batch_path = 'batch/content/v2'
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 get_account_authinfo(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
76
- command = make_simple_command(:get, 'accounts/authinfo', options)
68
+ def get_account_authinfo(fields: nil, quota_user: nil, options: nil, &block)
69
+ command = make_simple_command(:get, 'content/v2/accounts/authinfo', options)
77
70
  command.response_representation = Google::Apis::ContentV2::AccountsAuthInfoResponse::Representation
78
71
  command.response_class = Google::Apis::ContentV2::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/{merchantId}/accounts/{accountId}/claimwebsite', options)
117
107
  command.response_representation = Google::Apis::ContentV2::AccountsClaimWebsiteResponse::Representation
118
108
  command.response_class = Google::Apis::ContentV2::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
 
@@ -134,10 +123,8 @@ module Google
134
123
  # @param [String] fields
135
124
  # Selector specifying which fields to include in a partial response.
136
125
  # @param [String] quota_user
137
- # An opaque string that represents a user for quota purposes. Must not exceed 40
138
- # characters.
139
- # @param [String] user_ip
140
- # Deprecated. Please use quotaUser instead.
126
+ # Available to use for quota purposes for server-side applications. Can be any
127
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
141
128
  # @param [Google::Apis::RequestOptions] options
142
129
  # Request-specific options
143
130
  #
@@ -150,8 +137,8 @@ module Google
150
137
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
151
138
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
152
139
  # @raise [Google::Apis::AuthorizationError] Authorization is required
153
- def batch_account(batch_accounts_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
154
- command = make_simple_command(:post, 'accounts/batch', options)
140
+ def batch_account(batch_accounts_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
141
+ command = make_simple_command(:post, 'content/v2/accounts/batch', options)
155
142
  command.request_representation = Google::Apis::ContentV2::BatchAccountsRequest::Representation
156
143
  command.request_object = batch_accounts_request_object
157
144
  command.response_representation = Google::Apis::ContentV2::BatchAccountsResponse::Representation
@@ -159,7 +146,6 @@ module Google
159
146
  command.query['dryRun'] = dry_run unless dry_run.nil?
160
147
  command.query['fields'] = fields unless fields.nil?
161
148
  command.query['quotaUser'] = quota_user unless quota_user.nil?
162
- command.query['userIp'] = user_ip unless user_ip.nil?
163
149
  execute_or_queue_command(command, &block)
164
150
  end
165
151
 
@@ -177,10 +163,8 @@ module Google
177
163
  # @param [String] fields
178
164
  # Selector specifying which fields to include in a partial response.
179
165
  # @param [String] quota_user
180
- # An opaque string that represents a user for quota purposes. Must not exceed 40
181
- # characters.
182
- # @param [String] user_ip
183
- # Deprecated. Please use quotaUser instead.
166
+ # Available to use for quota purposes for server-side applications. Can be any
167
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
184
168
  # @param [Google::Apis::RequestOptions] options
185
169
  # Request-specific options
186
170
  #
@@ -193,15 +177,14 @@ module Google
193
177
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
194
178
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
195
179
  # @raise [Google::Apis::AuthorizationError] Authorization is required
196
- def delete_account(merchant_id, account_id, dry_run: nil, force: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
197
- command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options)
180
+ def delete_account(merchant_id, account_id, dry_run: nil, force: nil, fields: nil, quota_user: nil, options: nil, &block)
181
+ command = make_simple_command(:delete, 'content/v2/{merchantId}/accounts/{accountId}', options)
198
182
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
199
183
  command.params['accountId'] = account_id unless account_id.nil?
200
184
  command.query['dryRun'] = dry_run unless dry_run.nil?
201
185
  command.query['force'] = force unless force.nil?
202
186
  command.query['fields'] = fields unless fields.nil?
203
187
  command.query['quotaUser'] = quota_user unless quota_user.nil?
204
- command.query['userIp'] = user_ip unless user_ip.nil?
205
188
  execute_or_queue_command(command, &block)
206
189
  end
207
190
 
@@ -215,10 +198,8 @@ module Google
215
198
  # @param [String] fields
216
199
  # Selector specifying which fields to include in a partial response.
217
200
  # @param [String] quota_user
218
- # An opaque string that represents a user for quota purposes. Must not exceed 40
219
- # characters.
220
- # @param [String] user_ip
221
- # Deprecated. Please use quotaUser instead.
201
+ # Available to use for quota purposes for server-side applications. Can be any
202
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
222
203
  # @param [Google::Apis::RequestOptions] options
223
204
  # Request-specific options
224
205
  #
@@ -231,15 +212,14 @@ module Google
231
212
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
232
213
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
233
214
  # @raise [Google::Apis::AuthorizationError] Authorization is required
234
- def get_account(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
235
- command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options)
215
+ def get_account(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
216
+ command = make_simple_command(:get, 'content/v2/{merchantId}/accounts/{accountId}', options)
236
217
  command.response_representation = Google::Apis::ContentV2::Account::Representation
237
218
  command.response_class = Google::Apis::ContentV2::Account
238
219
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
239
220
  command.params['accountId'] = account_id unless account_id.nil?
240
221
  command.query['fields'] = fields unless fields.nil?
241
222
  command.query['quotaUser'] = quota_user unless quota_user.nil?
242
- command.query['userIp'] = user_ip unless user_ip.nil?
243
223
  execute_or_queue_command(command, &block)
244
224
  end
245
225
 
@@ -253,10 +233,8 @@ module Google
253
233
  # @param [String] fields
254
234
  # Selector specifying which fields to include in a partial response.
255
235
  # @param [String] quota_user
256
- # An opaque string that represents a user for quota purposes. Must not exceed 40
257
- # characters.
258
- # @param [String] user_ip
259
- # Deprecated. Please use quotaUser instead.
236
+ # Available to use for quota purposes for server-side applications. Can be any
237
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
260
238
  # @param [Google::Apis::RequestOptions] options
261
239
  # Request-specific options
262
240
  #
@@ -269,8 +247,8 @@ module Google
269
247
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
270
248
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
271
249
  # @raise [Google::Apis::AuthorizationError] Authorization is required
272
- def insert_account(merchant_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
273
- command = make_simple_command(:post, '{merchantId}/accounts', options)
250
+ def insert_account(merchant_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
251
+ command = make_simple_command(:post, 'content/v2/{merchantId}/accounts', options)
274
252
  command.request_representation = Google::Apis::ContentV2::Account::Representation
275
253
  command.request_object = account_object
276
254
  command.response_representation = Google::Apis::ContentV2::Account::Representation
@@ -279,7 +257,6 @@ module Google
279
257
  command.query['dryRun'] = dry_run unless dry_run.nil?
280
258
  command.query['fields'] = fields unless fields.nil?
281
259
  command.query['quotaUser'] = quota_user unless quota_user.nil?
282
- command.query['userIp'] = user_ip unless user_ip.nil?
283
260
  execute_or_queue_command(command, &block)
284
261
  end
285
262
 
@@ -295,10 +272,8 @@ module Google
295
272
  # @param [String] fields
296
273
  # Selector specifying which fields to include in a partial response.
297
274
  # @param [String] quota_user
298
- # An opaque string that represents a user for quota purposes. Must not exceed 40
299
- # characters.
300
- # @param [String] user_ip
301
- # Deprecated. Please use quotaUser instead.
275
+ # Available to use for quota purposes for server-side applications. Can be any
276
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
302
277
  # @param [Google::Apis::RequestOptions] options
303
278
  # Request-specific options
304
279
  #
@@ -311,8 +286,8 @@ module Google
311
286
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
312
287
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
313
288
  # @raise [Google::Apis::AuthorizationError] Authorization is required
314
- def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
315
- command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
289
+ def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
290
+ command = make_simple_command(:post, 'content/v2/{merchantId}/accounts/{accountId}/link', options)
316
291
  command.request_representation = Google::Apis::ContentV2::AccountsLinkRequest::Representation
317
292
  command.request_object = accounts_link_request_object
318
293
  command.response_representation = Google::Apis::ContentV2::AccountsLinkResponse::Representation
@@ -321,7 +296,6 @@ module Google
321
296
  command.params['accountId'] = account_id unless account_id.nil?
322
297
  command.query['fields'] = fields unless fields.nil?
323
298
  command.query['quotaUser'] = quota_user unless quota_user.nil?
324
- command.query['userIp'] = user_ip unless user_ip.nil?
325
299
  execute_or_queue_command(command, &block)
326
300
  end
327
301
 
@@ -335,10 +309,8 @@ module Google
335
309
  # @param [String] fields
336
310
  # Selector specifying which fields to include in a partial response.
337
311
  # @param [String] quota_user
338
- # An opaque string that represents a user for quota purposes. Must not exceed 40
339
- # characters.
340
- # @param [String] user_ip
341
- # Deprecated. Please use quotaUser instead.
312
+ # Available to use for quota purposes for server-side applications. Can be any
313
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
342
314
  # @param [Google::Apis::RequestOptions] options
343
315
  # Request-specific options
344
316
  #
@@ -351,8 +323,8 @@ module Google
351
323
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
352
324
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
353
325
  # @raise [Google::Apis::AuthorizationError] Authorization is required
354
- def list_accounts(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
355
- command = make_simple_command(:get, '{merchantId}/accounts', options)
326
+ def list_accounts(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
327
+ command = make_simple_command(:get, 'content/v2/{merchantId}/accounts', options)
356
328
  command.response_representation = Google::Apis::ContentV2::ListAccountsResponse::Representation
357
329
  command.response_class = Google::Apis::ContentV2::ListAccountsResponse
358
330
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -360,7 +332,6 @@ module Google
360
332
  command.query['pageToken'] = page_token unless page_token.nil?
361
333
  command.query['fields'] = fields unless fields.nil?
362
334
  command.query['quotaUser'] = quota_user unless quota_user.nil?
363
- command.query['userIp'] = user_ip unless user_ip.nil?
364
335
  execute_or_queue_command(command, &block)
365
336
  end
366
337
 
@@ -379,10 +350,8 @@ module Google
379
350
  # @param [String] fields
380
351
  # Selector specifying which fields to include in a partial response.
381
352
  # @param [String] quota_user
382
- # An opaque string that represents a user for quota purposes. Must not exceed 40
383
- # characters.
384
- # @param [String] user_ip
385
- # Deprecated. Please use quotaUser instead.
353
+ # Available to use for quota purposes for server-side applications. Can be any
354
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
386
355
  # @param [Google::Apis::RequestOptions] options
387
356
  # Request-specific options
388
357
  #
@@ -395,8 +364,8 @@ module Google
395
364
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
396
365
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
397
366
  # @raise [Google::Apis::AuthorizationError] Authorization is required
398
- def update_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
399
- command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options)
367
+ def update_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
368
+ command = make_simple_command(:put, 'content/v2/{merchantId}/accounts/{accountId}', options)
400
369
  command.request_representation = Google::Apis::ContentV2::Account::Representation
401
370
  command.request_object = account_object
402
371
  command.response_representation = Google::Apis::ContentV2::Account::Representation
@@ -406,7 +375,6 @@ module Google
406
375
  command.query['dryRun'] = dry_run unless dry_run.nil?
407
376
  command.query['fields'] = fields unless fields.nil?
408
377
  command.query['quotaUser'] = quota_user unless quota_user.nil?
409
- command.query['userIp'] = user_ip unless user_ip.nil?
410
378
  execute_or_queue_command(command, &block)
411
379
  end
412
380
 
@@ -415,10 +383,8 @@ module Google
415
383
  # @param [String] fields
416
384
  # Selector specifying which fields to include in a partial response.
417
385
  # @param [String] quota_user
418
- # An opaque string that represents a user for quota purposes. Must not exceed 40
419
- # characters.
420
- # @param [String] user_ip
421
- # Deprecated. Please use quotaUser instead.
386
+ # Available to use for quota purposes for server-side applications. Can be any
387
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
422
388
  # @param [Google::Apis::RequestOptions] options
423
389
  # Request-specific options
424
390
  #
@@ -431,15 +397,14 @@ module Google
431
397
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
432
398
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
433
399
  # @raise [Google::Apis::AuthorizationError] Authorization is required
434
- def batch_account_status(batch_account_statuses_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
435
- command = make_simple_command(:post, 'accountstatuses/batch', options)
400
+ def batch_account_status(batch_account_statuses_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
401
+ command = make_simple_command(:post, 'content/v2/accountstatuses/batch', options)
436
402
  command.request_representation = Google::Apis::ContentV2::BatchAccountStatusesRequest::Representation
437
403
  command.request_object = batch_account_statuses_request_object
438
404
  command.response_representation = Google::Apis::ContentV2::BatchAccountStatusesResponse::Representation
439
405
  command.response_class = Google::Apis::ContentV2::BatchAccountStatusesResponse
440
406
  command.query['fields'] = fields unless fields.nil?
441
407
  command.query['quotaUser'] = quota_user unless quota_user.nil?
442
- command.query['userIp'] = user_ip unless user_ip.nil?
443
408
  execute_or_queue_command(command, &block)
444
409
  end
445
410
 
@@ -457,10 +422,8 @@ module Google
457
422
  # @param [String] fields
458
423
  # Selector specifying which fields to include in a partial response.
459
424
  # @param [String] quota_user
460
- # An opaque string that represents a user for quota purposes. Must not exceed 40
461
- # characters.
462
- # @param [String] user_ip
463
- # Deprecated. Please use quotaUser instead.
425
+ # Available to use for quota purposes for server-side applications. Can be any
426
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
464
427
  # @param [Google::Apis::RequestOptions] options
465
428
  # Request-specific options
466
429
  #
@@ -473,8 +436,8 @@ module Google
473
436
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
474
437
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
475
438
  # @raise [Google::Apis::AuthorizationError] Authorization is required
476
- def get_account_status(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
477
- command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
439
+ def get_account_status(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block)
440
+ command = make_simple_command(:get, 'content/v2/{merchantId}/accountstatuses/{accountId}', options)
478
441
  command.response_representation = Google::Apis::ContentV2::AccountStatus::Representation
479
442
  command.response_class = Google::Apis::ContentV2::AccountStatus
480
443
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -482,7 +445,6 @@ module Google
482
445
  command.query['destinations'] = destinations unless destinations.nil?
483
446
  command.query['fields'] = fields unless fields.nil?
484
447
  command.query['quotaUser'] = quota_user unless quota_user.nil?
485
- command.query['userIp'] = user_ip unless user_ip.nil?
486
448
  execute_or_queue_command(command, &block)
487
449
  end
488
450
 
@@ -500,10 +462,8 @@ module Google
500
462
  # @param [String] fields
501
463
  # Selector specifying which fields to include in a partial response.
502
464
  # @param [String] quota_user
503
- # An opaque string that represents a user for quota purposes. Must not exceed 40
504
- # characters.
505
- # @param [String] user_ip
506
- # Deprecated. Please use quotaUser instead.
465
+ # Available to use for quota purposes for server-side applications. Can be any
466
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
507
467
  # @param [Google::Apis::RequestOptions] options
508
468
  # Request-specific options
509
469
  #
@@ -516,8 +476,8 @@ module Google
516
476
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
517
477
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
518
478
  # @raise [Google::Apis::AuthorizationError] Authorization is required
519
- def list_account_statuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
520
- command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
479
+ def list_account_statuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
480
+ command = make_simple_command(:get, 'content/v2/{merchantId}/accountstatuses', options)
521
481
  command.response_representation = Google::Apis::ContentV2::ListAccountStatusesResponse::Representation
522
482
  command.response_class = Google::Apis::ContentV2::ListAccountStatusesResponse
523
483
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -526,7 +486,6 @@ module Google
526
486
  command.query['pageToken'] = page_token unless page_token.nil?
527
487
  command.query['fields'] = fields unless fields.nil?
528
488
  command.query['quotaUser'] = quota_user unless quota_user.nil?
529
- command.query['userIp'] = user_ip unless user_ip.nil?
530
489
  execute_or_queue_command(command, &block)
531
490
  end
532
491
 
@@ -538,10 +497,8 @@ module Google
538
497
  # @param [String] fields
539
498
  # Selector specifying which fields to include in a partial response.
540
499
  # @param [String] quota_user
541
- # An opaque string that represents a user for quota purposes. Must not exceed 40
542
- # characters.
543
- # @param [String] user_ip
544
- # Deprecated. Please use quotaUser instead.
500
+ # Available to use for quota purposes for server-side applications. Can be any
501
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
545
502
  # @param [Google::Apis::RequestOptions] options
546
503
  # Request-specific options
547
504
  #
@@ -554,8 +511,8 @@ module Google
554
511
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
555
512
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
556
513
  # @raise [Google::Apis::AuthorizationError] Authorization is required
557
- def batch_account_tax(batch_account_tax_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
558
- command = make_simple_command(:post, 'accounttax/batch', options)
514
+ def batch_account_tax(batch_account_tax_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
515
+ command = make_simple_command(:post, 'content/v2/accounttax/batch', options)
559
516
  command.request_representation = Google::Apis::ContentV2::BatchAccountTaxRequest::Representation
560
517
  command.request_object = batch_account_tax_request_object
561
518
  command.response_representation = Google::Apis::ContentV2::BatchAccountTaxResponse::Representation
@@ -563,7 +520,6 @@ module Google
563
520
  command.query['dryRun'] = dry_run unless dry_run.nil?
564
521
  command.query['fields'] = fields unless fields.nil?
565
522
  command.query['quotaUser'] = quota_user unless quota_user.nil?
566
- command.query['userIp'] = user_ip unless user_ip.nil?
567
523
  execute_or_queue_command(command, &block)
568
524
  end
569
525
 
@@ -577,10 +533,8 @@ module Google
577
533
  # @param [String] fields
578
534
  # Selector specifying which fields to include in a partial response.
579
535
  # @param [String] quota_user
580
- # An opaque string that represents a user for quota purposes. Must not exceed 40
581
- # characters.
582
- # @param [String] user_ip
583
- # Deprecated. Please use quotaUser instead.
536
+ # Available to use for quota purposes for server-side applications. Can be any
537
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
584
538
  # @param [Google::Apis::RequestOptions] options
585
539
  # Request-specific options
586
540
  #
@@ -593,15 +547,14 @@ module Google
593
547
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
594
548
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
595
549
  # @raise [Google::Apis::AuthorizationError] Authorization is required
596
- def get_account_tax(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
597
- command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
550
+ def get_account_tax(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
551
+ command = make_simple_command(:get, 'content/v2/{merchantId}/accounttax/{accountId}', options)
598
552
  command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
599
553
  command.response_class = Google::Apis::ContentV2::AccountTax
600
554
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
601
555
  command.params['accountId'] = account_id unless account_id.nil?
602
556
  command.query['fields'] = fields unless fields.nil?
603
557
  command.query['quotaUser'] = quota_user unless quota_user.nil?
604
- command.query['userIp'] = user_ip unless user_ip.nil?
605
558
  execute_or_queue_command(command, &block)
606
559
  end
607
560
 
@@ -615,10 +568,8 @@ module Google
615
568
  # @param [String] fields
616
569
  # Selector specifying which fields to include in a partial response.
617
570
  # @param [String] quota_user
618
- # An opaque string that represents a user for quota purposes. Must not exceed 40
619
- # characters.
620
- # @param [String] user_ip
621
- # Deprecated. Please use quotaUser instead.
571
+ # Available to use for quota purposes for server-side applications. Can be any
572
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
622
573
  # @param [Google::Apis::RequestOptions] options
623
574
  # Request-specific options
624
575
  #
@@ -631,8 +582,8 @@ module Google
631
582
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
632
583
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
633
584
  # @raise [Google::Apis::AuthorizationError] Authorization is required
634
- def list_account_taxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
635
- command = make_simple_command(:get, '{merchantId}/accounttax', options)
585
+ def list_account_taxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
586
+ command = make_simple_command(:get, 'content/v2/{merchantId}/accounttax', options)
636
587
  command.response_representation = Google::Apis::ContentV2::ListAccountTaxResponse::Representation
637
588
  command.response_class = Google::Apis::ContentV2::ListAccountTaxResponse
638
589
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -640,7 +591,6 @@ module Google
640
591
  command.query['pageToken'] = page_token unless page_token.nil?
641
592
  command.query['fields'] = fields unless fields.nil?
642
593
  command.query['quotaUser'] = quota_user unless quota_user.nil?
643
- command.query['userIp'] = user_ip unless user_ip.nil?
644
594
  execute_or_queue_command(command, &block)
645
595
  end
646
596
 
@@ -659,10 +609,8 @@ module Google
659
609
  # @param [String] fields
660
610
  # Selector specifying which fields to include in a partial response.
661
611
  # @param [String] quota_user
662
- # An opaque string that represents a user for quota purposes. Must not exceed 40
663
- # characters.
664
- # @param [String] user_ip
665
- # Deprecated. Please use quotaUser instead.
612
+ # Available to use for quota purposes for server-side applications. Can be any
613
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
666
614
  # @param [Google::Apis::RequestOptions] options
667
615
  # Request-specific options
668
616
  #
@@ -675,8 +623,8 @@ module Google
675
623
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
676
624
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
677
625
  # @raise [Google::Apis::AuthorizationError] Authorization is required
678
- def update_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
679
- command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
626
+ def update_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
627
+ command = make_simple_command(:put, 'content/v2/{merchantId}/accounttax/{accountId}', options)
680
628
  command.request_representation = Google::Apis::ContentV2::AccountTax::Representation
681
629
  command.request_object = account_tax_object
682
630
  command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
@@ -686,7 +634,6 @@ module Google
686
634
  command.query['dryRun'] = dry_run unless dry_run.nil?
687
635
  command.query['fields'] = fields unless fields.nil?
688
636
  command.query['quotaUser'] = quota_user unless quota_user.nil?
689
- command.query['userIp'] = user_ip unless user_ip.nil?
690
637
  execute_or_queue_command(command, &block)
691
638
  end
692
639
 
@@ -699,10 +646,8 @@ module Google
699
646
  # @param [String] fields
700
647
  # Selector specifying which fields to include in a partial response.
701
648
  # @param [String] quota_user
702
- # An opaque string that represents a user for quota purposes. Must not exceed 40
703
- # characters.
704
- # @param [String] user_ip
705
- # Deprecated. Please use quotaUser instead.
649
+ # Available to use for quota purposes for server-side applications. Can be any
650
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
706
651
  # @param [Google::Apis::RequestOptions] options
707
652
  # Request-specific options
708
653
  #
@@ -715,8 +660,8 @@ module Google
715
660
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
716
661
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
717
662
  # @raise [Google::Apis::AuthorizationError] Authorization is required
718
- def batch_datafeed(batch_datafeeds_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
719
- command = make_simple_command(:post, 'datafeeds/batch', options)
663
+ def batch_datafeed(batch_datafeeds_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
664
+ command = make_simple_command(:post, 'content/v2/datafeeds/batch', options)
720
665
  command.request_representation = Google::Apis::ContentV2::BatchDatafeedsRequest::Representation
721
666
  command.request_object = batch_datafeeds_request_object
722
667
  command.response_representation = Google::Apis::ContentV2::BatchDatafeedsResponse::Representation
@@ -724,7 +669,6 @@ module Google
724
669
  command.query['dryRun'] = dry_run unless dry_run.nil?
725
670
  command.query['fields'] = fields unless fields.nil?
726
671
  command.query['quotaUser'] = quota_user unless quota_user.nil?
727
- command.query['userIp'] = user_ip unless user_ip.nil?
728
672
  execute_or_queue_command(command, &block)
729
673
  end
730
674
 
@@ -740,10 +684,8 @@ module Google
740
684
  # @param [String] fields
741
685
  # Selector specifying which fields to include in a partial response.
742
686
  # @param [String] quota_user
743
- # An opaque string that represents a user for quota purposes. Must not exceed 40
744
- # characters.
745
- # @param [String] user_ip
746
- # Deprecated. Please use quotaUser instead.
687
+ # Available to use for quota purposes for server-side applications. Can be any
688
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
747
689
  # @param [Google::Apis::RequestOptions] options
748
690
  # Request-specific options
749
691
  #
@@ -756,18 +698,19 @@ module Google
756
698
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
757
699
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
758
700
  # @raise [Google::Apis::AuthorizationError] Authorization is required
759
- def delete_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
760
- command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
701
+ def delete_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
702
+ command = make_simple_command(:delete, 'content/v2/{merchantId}/datafeeds/{datafeedId}', options)
761
703
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
762
704
  command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
763
705
  command.query['dryRun'] = dry_run unless dry_run.nil?
764
706
  command.query['fields'] = fields unless fields.nil?
765
707
  command.query['quotaUser'] = quota_user unless quota_user.nil?
766
- command.query['userIp'] = user_ip unless user_ip.nil?
767
708
  execute_or_queue_command(command, &block)
768
709
  end
769
710
 
770
- # Invokes a fetch for the datafeed in your Merchant Center account.
711
+ # Invokes a fetch for the datafeed in your Merchant Center account. If you need
712
+ # to call this method more than once per day, we recommend you use the Products
713
+ # service to update your product data.
771
714
  # @param [Fixnum] merchant_id
772
715
  # The ID of the account that manages the datafeed. This account cannot be a
773
716
  # multi-client account.
@@ -779,10 +722,8 @@ module Google
779
722
  # @param [String] fields
780
723
  # Selector specifying which fields to include in a partial response.
781
724
  # @param [String] quota_user
782
- # An opaque string that represents a user for quota purposes. Must not exceed 40
783
- # characters.
784
- # @param [String] user_ip
785
- # Deprecated. Please use quotaUser instead.
725
+ # Available to use for quota purposes for server-side applications. Can be any
726
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
786
727
  # @param [Google::Apis::RequestOptions] options
787
728
  # Request-specific options
788
729
  #
@@ -795,8 +736,8 @@ module Google
795
736
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
796
737
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
797
738
  # @raise [Google::Apis::AuthorizationError] Authorization is required
798
- def fetchnow_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
799
- command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
739
+ def fetchnow_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
740
+ command = make_simple_command(:post, 'content/v2/{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
800
741
  command.response_representation = Google::Apis::ContentV2::DatafeedsFetchNowResponse::Representation
801
742
  command.response_class = Google::Apis::ContentV2::DatafeedsFetchNowResponse
802
743
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -804,7 +745,6 @@ module Google
804
745
  command.query['dryRun'] = dry_run unless dry_run.nil?
805
746
  command.query['fields'] = fields unless fields.nil?
806
747
  command.query['quotaUser'] = quota_user unless quota_user.nil?
807
- command.query['userIp'] = user_ip unless user_ip.nil?
808
748
  execute_or_queue_command(command, &block)
809
749
  end
810
750
 
@@ -817,10 +757,8 @@ module Google
817
757
  # @param [String] fields
818
758
  # Selector specifying which fields to include in a partial response.
819
759
  # @param [String] quota_user
820
- # An opaque string that represents a user for quota purposes. Must not exceed 40
821
- # characters.
822
- # @param [String] user_ip
823
- # Deprecated. Please use quotaUser instead.
760
+ # Available to use for quota purposes for server-side applications. Can be any
761
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
824
762
  # @param [Google::Apis::RequestOptions] options
825
763
  # Request-specific options
826
764
  #
@@ -833,15 +771,14 @@ module Google
833
771
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
834
772
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
835
773
  # @raise [Google::Apis::AuthorizationError] Authorization is required
836
- def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
837
- command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
774
+ def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
775
+ command = make_simple_command(:get, 'content/v2/{merchantId}/datafeeds/{datafeedId}', options)
838
776
  command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
839
777
  command.response_class = Google::Apis::ContentV2::Datafeed
840
778
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
841
779
  command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
842
780
  command.query['fields'] = fields unless fields.nil?
843
781
  command.query['quotaUser'] = quota_user unless quota_user.nil?
844
- command.query['userIp'] = user_ip unless user_ip.nil?
845
782
  execute_or_queue_command(command, &block)
846
783
  end
847
784
 
@@ -856,10 +793,8 @@ module Google
856
793
  # @param [String] fields
857
794
  # Selector specifying which fields to include in a partial response.
858
795
  # @param [String] quota_user
859
- # An opaque string that represents a user for quota purposes. Must not exceed 40
860
- # characters.
861
- # @param [String] user_ip
862
- # Deprecated. Please use quotaUser instead.
796
+ # Available to use for quota purposes for server-side applications. Can be any
797
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
863
798
  # @param [Google::Apis::RequestOptions] options
864
799
  # Request-specific options
865
800
  #
@@ -872,8 +807,8 @@ module Google
872
807
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
873
808
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
874
809
  # @raise [Google::Apis::AuthorizationError] Authorization is required
875
- def insert_datafeed(merchant_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
876
- command = make_simple_command(:post, '{merchantId}/datafeeds', options)
810
+ def insert_datafeed(merchant_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
811
+ command = make_simple_command(:post, 'content/v2/{merchantId}/datafeeds', options)
877
812
  command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
878
813
  command.request_object = datafeed_object
879
814
  command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
@@ -882,7 +817,6 @@ module Google
882
817
  command.query['dryRun'] = dry_run unless dry_run.nil?
883
818
  command.query['fields'] = fields unless fields.nil?
884
819
  command.query['quotaUser'] = quota_user unless quota_user.nil?
885
- command.query['userIp'] = user_ip unless user_ip.nil?
886
820
  execute_or_queue_command(command, &block)
887
821
  end
888
822
 
@@ -897,10 +831,8 @@ module Google
897
831
  # @param [String] fields
898
832
  # Selector specifying which fields to include in a partial response.
899
833
  # @param [String] quota_user
900
- # An opaque string that represents a user for quota purposes. Must not exceed 40
901
- # characters.
902
- # @param [String] user_ip
903
- # Deprecated. Please use quotaUser instead.
834
+ # Available to use for quota purposes for server-side applications. Can be any
835
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
904
836
  # @param [Google::Apis::RequestOptions] options
905
837
  # Request-specific options
906
838
  #
@@ -913,8 +845,8 @@ module Google
913
845
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
914
846
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
915
847
  # @raise [Google::Apis::AuthorizationError] Authorization is required
916
- def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
917
- command = make_simple_command(:get, '{merchantId}/datafeeds', options)
848
+ def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
849
+ command = make_simple_command(:get, 'content/v2/{merchantId}/datafeeds', options)
918
850
  command.response_representation = Google::Apis::ContentV2::ListDatafeedsResponse::Representation
919
851
  command.response_class = Google::Apis::ContentV2::ListDatafeedsResponse
920
852
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -922,7 +854,6 @@ module Google
922
854
  command.query['pageToken'] = page_token unless page_token.nil?
923
855
  command.query['fields'] = fields unless fields.nil?
924
856
  command.query['quotaUser'] = quota_user unless quota_user.nil?
925
- command.query['userIp'] = user_ip unless user_ip.nil?
926
857
  execute_or_queue_command(command, &block)
927
858
  end
928
859
 
@@ -940,10 +871,8 @@ module Google
940
871
  # @param [String] fields
941
872
  # Selector specifying which fields to include in a partial response.
942
873
  # @param [String] quota_user
943
- # An opaque string that represents a user for quota purposes. Must not exceed 40
944
- # characters.
945
- # @param [String] user_ip
946
- # Deprecated. Please use quotaUser instead.
874
+ # Available to use for quota purposes for server-side applications. Can be any
875
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
947
876
  # @param [Google::Apis::RequestOptions] options
948
877
  # Request-specific options
949
878
  #
@@ -956,8 +885,8 @@ module Google
956
885
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
957
886
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
958
887
  # @raise [Google::Apis::AuthorizationError] Authorization is required
959
- def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
960
- command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
888
+ def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
889
+ command = make_simple_command(:put, 'content/v2/{merchantId}/datafeeds/{datafeedId}', options)
961
890
  command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
962
891
  command.request_object = datafeed_object
963
892
  command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
@@ -967,7 +896,6 @@ module Google
967
896
  command.query['dryRun'] = dry_run unless dry_run.nil?
968
897
  command.query['fields'] = fields unless fields.nil?
969
898
  command.query['quotaUser'] = quota_user unless quota_user.nil?
970
- command.query['userIp'] = user_ip unless user_ip.nil?
971
899
  execute_or_queue_command(command, &block)
972
900
  end
973
901
 
@@ -976,10 +904,8 @@ module Google
976
904
  # @param [String] fields
977
905
  # Selector specifying which fields to include in a partial response.
978
906
  # @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.
907
+ # Available to use for quota purposes for server-side applications. Can be any
908
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
983
909
  # @param [Google::Apis::RequestOptions] options
984
910
  # Request-specific options
985
911
  #
@@ -992,15 +918,14 @@ module Google
992
918
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
993
919
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
994
920
  # @raise [Google::Apis::AuthorizationError] Authorization is required
995
- def batch_datafeed_status(batch_datafeed_statuses_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
996
- command = make_simple_command(:post, 'datafeedstatuses/batch', options)
921
+ def batch_datafeed_status(batch_datafeed_statuses_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
922
+ command = make_simple_command(:post, 'content/v2/datafeedstatuses/batch', options)
997
923
  command.request_representation = Google::Apis::ContentV2::BatchDatafeedStatusesRequest::Representation
998
924
  command.request_object = batch_datafeed_statuses_request_object
999
925
  command.response_representation = Google::Apis::ContentV2::BatchDatafeedStatusesResponse::Representation
1000
926
  command.response_class = Google::Apis::ContentV2::BatchDatafeedStatusesResponse
1001
927
  command.query['fields'] = fields unless fields.nil?
1002
928
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1003
- command.query['userIp'] = user_ip unless user_ip.nil?
1004
929
  execute_or_queue_command(command, &block)
1005
930
  end
1006
931
 
@@ -1023,10 +948,8 @@ module Google
1023
948
  # @param [String] fields
1024
949
  # Selector specifying which fields to include in a partial response.
1025
950
  # @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.
951
+ # Available to use for quota purposes for server-side applications. Can be any
952
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1030
953
  # @param [Google::Apis::RequestOptions] options
1031
954
  # Request-specific options
1032
955
  #
@@ -1039,8 +962,8 @@ module Google
1039
962
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1040
963
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1041
964
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1042
- def get_datafeed_status(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)
965
+ def get_datafeed_status(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, options: nil, &block)
966
+ command = make_simple_command(:get, 'content/v2/{merchantId}/datafeedstatuses/{datafeedId}', options)
1044
967
  command.response_representation = Google::Apis::ContentV2::DatafeedStatus::Representation
1045
968
  command.response_class = Google::Apis::ContentV2::DatafeedStatus
1046
969
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1049,7 +972,6 @@ module Google
1049
972
  command.query['language'] = language unless language.nil?
1050
973
  command.query['fields'] = fields unless fields.nil?
1051
974
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1052
- command.query['userIp'] = user_ip unless user_ip.nil?
1053
975
  execute_or_queue_command(command, &block)
1054
976
  end
1055
977
 
@@ -1064,10 +986,8 @@ module Google
1064
986
  # @param [String] fields
1065
987
  # Selector specifying which fields to include in a partial response.
1066
988
  # @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.
989
+ # Available to use for quota purposes for server-side applications. Can be any
990
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1071
991
  # @param [Google::Apis::RequestOptions] options
1072
992
  # Request-specific options
1073
993
  #
@@ -1080,8 +1000,8 @@ module Google
1080
1000
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1081
1001
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1082
1002
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1083
- def list_datafeed_statuses(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)
1003
+ def list_datafeed_statuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1004
+ command = make_simple_command(:get, 'content/v2/{merchantId}/datafeedstatuses', options)
1085
1005
  command.response_representation = Google::Apis::ContentV2::ListDatafeedStatusesResponse::Representation
1086
1006
  command.response_class = Google::Apis::ContentV2::ListDatafeedStatusesResponse
1087
1007
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1089,7 +1009,6 @@ module Google
1089
1009
  command.query['pageToken'] = page_token unless page_token.nil?
1090
1010
  command.query['fields'] = fields unless fields.nil?
1091
1011
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1092
- command.query['userIp'] = user_ip unless user_ip.nil?
1093
1012
  execute_or_queue_command(command, &block)
1094
1013
  end
1095
1014
 
@@ -1102,10 +1021,8 @@ module Google
1102
1021
  # @param [String] fields
1103
1022
  # Selector specifying which fields to include in a partial response.
1104
1023
  # @param [String] quota_user
1105
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1106
- # characters.
1107
- # @param [String] user_ip
1108
- # Deprecated. Please use quotaUser instead.
1024
+ # Available to use for quota purposes for server-side applications. Can be any
1025
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1109
1026
  # @param [Google::Apis::RequestOptions] options
1110
1027
  # Request-specific options
1111
1028
  #
@@ -1118,8 +1035,8 @@ module Google
1118
1035
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1119
1036
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1120
1037
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1121
- def batch_inventory(batch_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1122
- command = make_simple_command(:post, 'inventory/batch', options)
1038
+ def batch_inventory(batch_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
1039
+ command = make_simple_command(:post, 'content/v2/inventory/batch', options)
1123
1040
  command.request_representation = Google::Apis::ContentV2::BatchInventoryRequest::Representation
1124
1041
  command.request_object = batch_inventory_request_object
1125
1042
  command.response_representation = Google::Apis::ContentV2::BatchInventoryResponse::Representation
@@ -1127,7 +1044,6 @@ module Google
1127
1044
  command.query['dryRun'] = dry_run unless dry_run.nil?
1128
1045
  command.query['fields'] = fields unless fields.nil?
1129
1046
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1130
- command.query['userIp'] = user_ip unless user_ip.nil?
1131
1047
  execute_or_queue_command(command, &block)
1132
1048
  end
1133
1049
 
@@ -1147,10 +1063,8 @@ module Google
1147
1063
  # @param [String] fields
1148
1064
  # Selector specifying which fields to include in a partial response.
1149
1065
  # @param [String] quota_user
1150
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1151
- # characters.
1152
- # @param [String] user_ip
1153
- # Deprecated. Please use quotaUser instead.
1066
+ # Available to use for quota purposes for server-side applications. Can be any
1067
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1154
1068
  # @param [Google::Apis::RequestOptions] options
1155
1069
  # Request-specific options
1156
1070
  #
@@ -1163,8 +1077,8 @@ module Google
1163
1077
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1164
1078
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1165
1079
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1166
- def set_inventory(merchant_id, store_code, product_id, set_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1167
- command = make_simple_command(:post, '{merchantId}/inventory/{storeCode}/products/{productId}', options)
1080
+ def set_inventory(merchant_id, store_code, product_id, set_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
1081
+ command = make_simple_command(:post, 'content/v2/{merchantId}/inventory/{storeCode}/products/{productId}', options)
1168
1082
  command.request_representation = Google::Apis::ContentV2::SetInventoryRequest::Representation
1169
1083
  command.request_object = set_inventory_request_object
1170
1084
  command.response_representation = Google::Apis::ContentV2::SetInventoryResponse::Representation
@@ -1175,7 +1089,6 @@ module Google
1175
1089
  command.query['dryRun'] = dry_run unless dry_run.nil?
1176
1090
  command.query['fields'] = fields unless fields.nil?
1177
1091
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1178
- command.query['userIp'] = user_ip unless user_ip.nil?
1179
1092
  execute_or_queue_command(command, &block)
1180
1093
  end
1181
1094
 
@@ -1188,10 +1101,8 @@ module Google
1188
1101
  # @param [String] fields
1189
1102
  # Selector specifying which fields to include in a partial response.
1190
1103
  # @param [String] quota_user
1191
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1192
- # characters.
1193
- # @param [String] user_ip
1194
- # Deprecated. Please use quotaUser instead.
1104
+ # Available to use for quota purposes for server-side applications. Can be any
1105
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1195
1106
  # @param [Google::Apis::RequestOptions] options
1196
1107
  # Request-specific options
1197
1108
  #
@@ -1204,8 +1115,8 @@ module Google
1204
1115
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1205
1116
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1206
1117
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1207
- def custombatch_liasetting(liasettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1208
- command = make_simple_command(:post, 'liasettings/batch', options)
1118
+ def custombatch_liasetting(liasettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
1119
+ command = make_simple_command(:post, 'content/v2/liasettings/batch', options)
1209
1120
  command.request_representation = Google::Apis::ContentV2::LiasettingsCustomBatchRequest::Representation
1210
1121
  command.request_object = liasettings_custom_batch_request_object
1211
1122
  command.response_representation = Google::Apis::ContentV2::LiasettingsCustomBatchResponse::Representation
@@ -1213,7 +1124,6 @@ module Google
1213
1124
  command.query['dryRun'] = dry_run unless dry_run.nil?
1214
1125
  command.query['fields'] = fields unless fields.nil?
1215
1126
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1216
- command.query['userIp'] = user_ip unless user_ip.nil?
1217
1127
  execute_or_queue_command(command, &block)
1218
1128
  end
1219
1129
 
@@ -1227,10 +1137,8 @@ module Google
1227
1137
  # @param [String] fields
1228
1138
  # Selector specifying which fields to include in a partial response.
1229
1139
  # @param [String] quota_user
1230
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1231
- # characters.
1232
- # @param [String] user_ip
1233
- # Deprecated. Please use quotaUser instead.
1140
+ # Available to use for quota purposes for server-side applications. Can be any
1141
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1234
1142
  # @param [Google::Apis::RequestOptions] options
1235
1143
  # Request-specific options
1236
1144
  #
@@ -1243,15 +1151,14 @@ module Google
1243
1151
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1244
1152
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1245
1153
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1246
- def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1247
- command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
1154
+ def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
1155
+ command = make_simple_command(:get, 'content/v2/{merchantId}/liasettings/{accountId}', options)
1248
1156
  command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
1249
1157
  command.response_class = Google::Apis::ContentV2::LiaSettings
1250
1158
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
1251
1159
  command.params['accountId'] = account_id unless account_id.nil?
1252
1160
  command.query['fields'] = fields unless fields.nil?
1253
1161
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1254
- command.query['userIp'] = user_ip unless user_ip.nil?
1255
1162
  execute_or_queue_command(command, &block)
1256
1163
  end
1257
1164
 
@@ -1266,10 +1173,8 @@ module Google
1266
1173
  # @param [String] fields
1267
1174
  # Selector specifying which fields to include in a partial response.
1268
1175
  # @param [String] quota_user
1269
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1270
- # characters.
1271
- # @param [String] user_ip
1272
- # Deprecated. Please use quotaUser instead.
1176
+ # Available to use for quota purposes for server-side applications. Can be any
1177
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1273
1178
  # @param [Google::Apis::RequestOptions] options
1274
1179
  # Request-specific options
1275
1180
  #
@@ -1282,15 +1187,14 @@ module Google
1282
1187
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1283
1188
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1284
1189
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1285
- def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1286
- command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
1190
+ def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
1191
+ command = make_simple_command(:get, 'content/v2/{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
1287
1192
  command.response_representation = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse::Representation
1288
1193
  command.response_class = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse
1289
1194
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
1290
1195
  command.params['accountId'] = account_id unless account_id.nil?
1291
1196
  command.query['fields'] = fields unless fields.nil?
1292
1197
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1293
- command.query['userIp'] = user_ip unless user_ip.nil?
1294
1198
  execute_or_queue_command(command, &block)
1295
1199
  end
1296
1200
 
@@ -1304,10 +1208,8 @@ module Google
1304
1208
  # @param [String] fields
1305
1209
  # Selector specifying which fields to include in a partial response.
1306
1210
  # @param [String] quota_user
1307
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1308
- # characters.
1309
- # @param [String] user_ip
1310
- # Deprecated. Please use quotaUser instead.
1211
+ # Available to use for quota purposes for server-side applications. Can be any
1212
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1311
1213
  # @param [Google::Apis::RequestOptions] options
1312
1214
  # Request-specific options
1313
1215
  #
@@ -1320,8 +1222,8 @@ module Google
1320
1222
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1321
1223
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1322
1224
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1323
- def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1324
- command = make_simple_command(:get, '{merchantId}/liasettings', options)
1225
+ def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1226
+ command = make_simple_command(:get, 'content/v2/{merchantId}/liasettings', options)
1325
1227
  command.response_representation = Google::Apis::ContentV2::LiasettingsListResponse::Representation
1326
1228
  command.response_class = Google::Apis::ContentV2::LiasettingsListResponse
1327
1229
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1329,7 +1231,6 @@ module Google
1329
1231
  command.query['pageToken'] = page_token unless page_token.nil?
1330
1232
  command.query['fields'] = fields unless fields.nil?
1331
1233
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1332
- command.query['userIp'] = user_ip unless user_ip.nil?
1333
1234
  execute_or_queue_command(command, &block)
1334
1235
  end
1335
1236
 
@@ -1338,10 +1239,8 @@ module Google
1338
1239
  # @param [String] fields
1339
1240
  # Selector specifying which fields to include in a partial response.
1340
1241
  # @param [String] quota_user
1341
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1342
- # characters.
1343
- # @param [String] user_ip
1344
- # Deprecated. Please use quotaUser instead.
1242
+ # Available to use for quota purposes for server-side applications. Can be any
1243
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1345
1244
  # @param [Google::Apis::RequestOptions] options
1346
1245
  # Request-specific options
1347
1246
  #
@@ -1354,13 +1253,12 @@ module Google
1354
1253
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1355
1254
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1356
1255
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1357
- def listposdataproviders_liasetting(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1358
- command = make_simple_command(:get, 'liasettings/posdataproviders', options)
1256
+ def listposdataproviders_liasetting(fields: nil, quota_user: nil, options: nil, &block)
1257
+ command = make_simple_command(:get, 'content/v2/liasettings/posdataproviders', options)
1359
1258
  command.response_representation = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse::Representation
1360
1259
  command.response_class = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse
1361
1260
  command.query['fields'] = fields unless fields.nil?
1362
1261
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1363
- command.query['userIp'] = user_ip unless user_ip.nil?
1364
1262
  execute_or_queue_command(command, &block)
1365
1263
  end
1366
1264
 
@@ -1376,10 +1274,8 @@ module Google
1376
1274
  # @param [String] fields
1377
1275
  # Selector specifying which fields to include in a partial response.
1378
1276
  # @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.
1277
+ # Available to use for quota purposes for server-side applications. Can be any
1278
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1383
1279
  # @param [Google::Apis::RequestOptions] options
1384
1280
  # Request-specific options
1385
1281
  #
@@ -1392,8 +1288,8 @@ module Google
1392
1288
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1393
1289
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1394
1290
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1395
- def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1396
- command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
1291
+ def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, options: nil, &block)
1292
+ command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
1397
1293
  command.response_representation = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse::Representation
1398
1294
  command.response_class = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse
1399
1295
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1401,7 +1297,6 @@ module Google
1401
1297
  command.query['gmbEmail'] = gmb_email unless gmb_email.nil?
1402
1298
  command.query['fields'] = fields unless fields.nil?
1403
1299
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1404
- command.query['userIp'] = user_ip unless user_ip.nil?
1405
1300
  execute_or_queue_command(command, &block)
1406
1301
  end
1407
1302
 
@@ -1418,10 +1313,8 @@ module Google
1418
1313
  # @param [String] fields
1419
1314
  # Selector specifying which fields to include in a partial response.
1420
1315
  # @param [String] quota_user
1421
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1422
- # characters.
1423
- # @param [String] user_ip
1424
- # 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.
1425
1318
  # @param [Google::Apis::RequestOptions] options
1426
1319
  # Request-specific options
1427
1320
  #
@@ -1434,8 +1327,8 @@ module Google
1434
1327
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1435
1328
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1436
1329
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1437
- def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1438
- command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
1330
+ def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, options: nil, &block)
1331
+ command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
1439
1332
  command.response_representation = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse::Representation
1440
1333
  command.response_class = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse
1441
1334
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1443,7 +1336,6 @@ module Google
1443
1336
  command.params['country'] = country unless country.nil?
1444
1337
  command.query['fields'] = fields unless fields.nil?
1445
1338
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1446
- command.query['userIp'] = user_ip unless user_ip.nil?
1447
1339
  execute_or_queue_command(command, &block)
1448
1340
  end
1449
1341
 
@@ -1455,21 +1347,19 @@ module Google
1455
1347
  # @param [Fixnum] account_id
1456
1348
  # The ID of the account that manages the order. This cannot be a multi-client
1457
1349
  # account.
1458
- # @param [String] contact_email
1459
- # The email of the inventory verification contact.
1460
- # @param [String] contact_name
1461
- # The name of the inventory verification contact.
1462
1350
  # @param [String] country
1463
1351
  # The country for which inventory verification is requested.
1464
1352
  # @param [String] language
1465
1353
  # The language for which inventory verification is requested.
1354
+ # @param [String] contact_name
1355
+ # The name of the inventory verification contact.
1356
+ # @param [String] contact_email
1357
+ # The email of the inventory verification contact.
1466
1358
  # @param [String] fields
1467
1359
  # Selector specifying which fields to include in a partial response.
1468
1360
  # @param [String] quota_user
1469
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1470
- # characters.
1471
- # @param [String] user_ip
1472
- # Deprecated. Please use quotaUser instead.
1361
+ # Available to use for quota purposes for server-side applications. Can be any
1362
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1473
1363
  # @param [Google::Apis::RequestOptions] options
1474
1364
  # Request-specific options
1475
1365
  #
@@ -1482,8 +1372,8 @@ module Google
1482
1372
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1483
1373
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1484
1374
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1485
- def setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email, contact_name, country, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1486
- command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
1375
+ def setinventoryverificationcontact_liasetting(merchant_id, account_id, country, language, contact_name, contact_email, fields: nil, quota_user: nil, options: nil, &block)
1376
+ command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
1487
1377
  command.response_representation = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse::Representation
1488
1378
  command.response_class = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse
1489
1379
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1494,7 +1384,6 @@ module Google
1494
1384
  command.query['language'] = language unless language.nil?
1495
1385
  command.query['fields'] = fields unless fields.nil?
1496
1386
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1497
- command.query['userIp'] = user_ip unless user_ip.nil?
1498
1387
  execute_or_queue_command(command, &block)
1499
1388
  end
1500
1389
 
@@ -1515,10 +1404,8 @@ module Google
1515
1404
  # @param [String] fields
1516
1405
  # Selector specifying which fields to include in a partial response.
1517
1406
  # @param [String] quota_user
1518
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1519
- # characters.
1520
- # @param [String] user_ip
1521
- # Deprecated. Please use quotaUser instead.
1407
+ # Available to use for quota purposes for server-side applications. Can be any
1408
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1522
1409
  # @param [Google::Apis::RequestOptions] options
1523
1410
  # Request-specific options
1524
1411
  #
@@ -1531,8 +1418,8 @@ module Google
1531
1418
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1532
1419
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1533
1420
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1534
- 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)
1535
- command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
1421
+ 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)
1422
+ command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/setposdataprovider', options)
1536
1423
  command.response_representation = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse::Representation
1537
1424
  command.response_class = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse
1538
1425
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1542,7 +1429,6 @@ module Google
1542
1429
  command.query['posExternalAccountId'] = pos_external_account_id unless pos_external_account_id.nil?
1543
1430
  command.query['fields'] = fields unless fields.nil?
1544
1431
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1545
- command.query['userIp'] = user_ip unless user_ip.nil?
1546
1432
  execute_or_queue_command(command, &block)
1547
1433
  end
1548
1434
 
@@ -1561,10 +1447,8 @@ module Google
1561
1447
  # @param [String] fields
1562
1448
  # Selector specifying which fields to include in a partial response.
1563
1449
  # @param [String] quota_user
1564
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1565
- # characters.
1566
- # @param [String] user_ip
1567
- # Deprecated. Please use quotaUser instead.
1450
+ # Available to use for quota purposes for server-side applications. Can be any
1451
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1568
1452
  # @param [Google::Apis::RequestOptions] options
1569
1453
  # Request-specific options
1570
1454
  #
@@ -1577,8 +1461,8 @@ module Google
1577
1461
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1578
1462
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1579
1463
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1580
- def update_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1581
- command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
1464
+ def update_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
1465
+ command = make_simple_command(:put, 'content/v2/{merchantId}/liasettings/{accountId}', options)
1582
1466
  command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
1583
1467
  command.request_object = lia_settings_object
1584
1468
  command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
@@ -1588,7 +1472,6 @@ module Google
1588
1472
  command.query['dryRun'] = dry_run unless dry_run.nil?
1589
1473
  command.query['fields'] = fields unless fields.nil?
1590
1474
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1591
- command.query['userIp'] = user_ip unless user_ip.nil?
1592
1475
  execute_or_queue_command(command, &block)
1593
1476
  end
1594
1477
 
@@ -1603,10 +1486,8 @@ module Google
1603
1486
  # @param [String] fields
1604
1487
  # Selector specifying which fields to include in a partial response.
1605
1488
  # @param [String] quota_user
1606
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1607
- # characters.
1608
- # @param [String] user_ip
1609
- # Deprecated. Please use quotaUser instead.
1489
+ # Available to use for quota purposes for server-side applications. Can be any
1490
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1610
1491
  # @param [Google::Apis::RequestOptions] options
1611
1492
  # Request-specific options
1612
1493
  #
@@ -1619,8 +1500,8 @@ module Google
1619
1500
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1620
1501
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1621
1502
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1622
- 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)
1623
- command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
1503
+ def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1504
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
1624
1505
  command.request_representation = Google::Apis::ContentV2::OrderinvoicesCreateChargeInvoiceRequest::Representation
1625
1506
  command.request_object = orderinvoices_create_charge_invoice_request_object
1626
1507
  command.response_representation = Google::Apis::ContentV2::OrderinvoicesCreateChargeInvoiceResponse::Representation
@@ -1629,7 +1510,6 @@ module Google
1629
1510
  command.params['orderId'] = order_id unless order_id.nil?
1630
1511
  command.query['fields'] = fields unless fields.nil?
1631
1512
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1632
- command.query['userIp'] = user_ip unless user_ip.nil?
1633
1513
  execute_or_queue_command(command, &block)
1634
1514
  end
1635
1515
 
@@ -1646,10 +1526,8 @@ module Google
1646
1526
  # @param [String] fields
1647
1527
  # Selector specifying which fields to include in a partial response.
1648
1528
  # @param [String] quota_user
1649
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1650
- # characters.
1651
- # @param [String] user_ip
1652
- # Deprecated. Please use quotaUser instead.
1529
+ # Available to use for quota purposes for server-side applications. Can be any
1530
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1653
1531
  # @param [Google::Apis::RequestOptions] options
1654
1532
  # Request-specific options
1655
1533
  #
@@ -1662,8 +1540,8 @@ module Google
1662
1540
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1663
1541
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1664
1542
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1665
- 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)
1666
- command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
1543
+ def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1544
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
1667
1545
  command.request_representation = Google::Apis::ContentV2::OrderinvoicesCreateRefundInvoiceRequest::Representation
1668
1546
  command.request_object = orderinvoices_create_refund_invoice_request_object
1669
1547
  command.response_representation = Google::Apis::ContentV2::OrderinvoicesCreateRefundInvoiceResponse::Representation
@@ -1672,7 +1550,6 @@ module Google
1672
1550
  command.params['orderId'] = order_id unless order_id.nil?
1673
1551
  command.query['fields'] = fields unless fields.nil?
1674
1552
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1675
- command.query['userIp'] = user_ip unless user_ip.nil?
1676
1553
  execute_or_queue_command(command, &block)
1677
1554
  end
1678
1555
 
@@ -1680,11 +1557,11 @@ module Google
1680
1557
  # @param [Fixnum] merchant_id
1681
1558
  # The ID of the account that manages the order. This cannot be a multi-client
1682
1559
  # account.
1683
- # @param [String] disbursement_start_date
1684
- # The first date which disbursements occurred. In ISO 8601 format.
1685
1560
  # @param [String] disbursement_end_date
1686
1561
  # The last date which disbursements occurred. In ISO 8601 format. Default:
1687
1562
  # current date.
1563
+ # @param [String] disbursement_start_date
1564
+ # The first date which disbursements occurred. In ISO 8601 format.
1688
1565
  # @param [Fixnum] max_results
1689
1566
  # The maximum number of disbursements to return in the response, used for paging.
1690
1567
  # @param [String] page_token
@@ -1692,10 +1569,8 @@ module Google
1692
1569
  # @param [String] fields
1693
1570
  # Selector specifying which fields to include in a partial response.
1694
1571
  # @param [String] quota_user
1695
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1696
- # characters.
1697
- # @param [String] user_ip
1698
- # 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.
1699
1574
  # @param [Google::Apis::RequestOptions] options
1700
1575
  # Request-specific options
1701
1576
  #
@@ -1708,8 +1583,8 @@ module Google
1708
1583
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1709
1584
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1710
1585
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1711
- 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)
1712
- command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
1586
+ 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)
1587
+ command = make_simple_command(:get, 'content/v2/{merchantId}/orderreports/disbursements', options)
1713
1588
  command.response_representation = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse::Representation
1714
1589
  command.response_class = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse
1715
1590
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1719,7 +1594,6 @@ module Google
1719
1594
  command.query['pageToken'] = page_token unless page_token.nil?
1720
1595
  command.query['fields'] = fields unless fields.nil?
1721
1596
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1722
- command.query['userIp'] = user_ip unless user_ip.nil?
1723
1597
  execute_or_queue_command(command, &block)
1724
1598
  end
1725
1599
 
@@ -1730,8 +1604,6 @@ module Google
1730
1604
  # account.
1731
1605
  # @param [String] disbursement_id
1732
1606
  # The Google-provided ID of the disbursement (found in Wallet).
1733
- # @param [String] transaction_start_date
1734
- # The first date in which transaction occurred. In ISO 8601 format.
1735
1607
  # @param [Fixnum] max_results
1736
1608
  # The maximum number of disbursements to return in the response, used for paging.
1737
1609
  # @param [String] page_token
@@ -1739,13 +1611,13 @@ module Google
1739
1611
  # @param [String] transaction_end_date
1740
1612
  # The last date in which transaction occurred. In ISO 8601 format. Default:
1741
1613
  # current date.
1614
+ # @param [String] transaction_start_date
1615
+ # The first date in which transaction occurred. In ISO 8601 format.
1742
1616
  # @param [String] fields
1743
1617
  # Selector specifying which fields to include in a partial response.
1744
1618
  # @param [String] quota_user
1745
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1746
- # characters.
1747
- # @param [String] user_ip
1748
- # Deprecated. Please use quotaUser instead.
1619
+ # Available to use for quota purposes for server-side applications. Can be any
1620
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1749
1621
  # @param [Google::Apis::RequestOptions] options
1750
1622
  # Request-specific options
1751
1623
  #
@@ -1758,8 +1630,8 @@ module Google
1758
1630
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1759
1631
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1760
1632
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1761
- 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)
1762
- command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
1633
+ 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)
1634
+ command = make_simple_command(:get, 'content/v2/{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
1763
1635
  command.response_representation = Google::Apis::ContentV2::OrderreportsListTransactionsResponse::Representation
1764
1636
  command.response_class = Google::Apis::ContentV2::OrderreportsListTransactionsResponse
1765
1637
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1770,7 +1642,6 @@ module Google
1770
1642
  command.query['transactionStartDate'] = transaction_start_date unless transaction_start_date.nil?
1771
1643
  command.query['fields'] = fields unless fields.nil?
1772
1644
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1773
- command.query['userIp'] = user_ip unless user_ip.nil?
1774
1645
  execute_or_queue_command(command, &block)
1775
1646
  end
1776
1647
 
@@ -1783,10 +1654,8 @@ module Google
1783
1654
  # @param [String] fields
1784
1655
  # Selector specifying which fields to include in a partial response.
1785
1656
  # @param [String] quota_user
1786
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1787
- # characters.
1788
- # @param [String] user_ip
1789
- # Deprecated. Please use quotaUser instead.
1657
+ # Available to use for quota purposes for server-side applications. Can be any
1658
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1790
1659
  # @param [Google::Apis::RequestOptions] options
1791
1660
  # Request-specific options
1792
1661
  #
@@ -1799,15 +1668,14 @@ module Google
1799
1668
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1800
1669
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1801
1670
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1802
- def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1803
- command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
1671
+ def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, options: nil, &block)
1672
+ command = make_simple_command(:get, 'content/v2/{merchantId}/orderreturns/{returnId}', options)
1804
1673
  command.response_representation = Google::Apis::ContentV2::MerchantOrderReturn::Representation
1805
1674
  command.response_class = Google::Apis::ContentV2::MerchantOrderReturn
1806
1675
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
1807
1676
  command.params['returnId'] = return_id unless return_id.nil?
1808
1677
  command.query['fields'] = fields unless fields.nil?
1809
1678
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1810
- command.query['userIp'] = user_ip unless user_ip.nil?
1811
1679
  execute_or_queue_command(command, &block)
1812
1680
  end
1813
1681
 
@@ -1832,10 +1700,8 @@ module Google
1832
1700
  # @param [String] fields
1833
1701
  # Selector specifying which fields to include in a partial response.
1834
1702
  # @param [String] quota_user
1835
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1836
- # characters.
1837
- # @param [String] user_ip
1838
- # Deprecated. Please use quotaUser instead.
1703
+ # Available to use for quota purposes for server-side applications. Can be any
1704
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1839
1705
  # @param [Google::Apis::RequestOptions] options
1840
1706
  # Request-specific options
1841
1707
  #
@@ -1848,8 +1714,8 @@ module Google
1848
1714
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1849
1715
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1850
1716
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1851
- def list_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1852
- command = make_simple_command(:get, '{merchantId}/orderreturns', options)
1717
+ def list_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1718
+ command = make_simple_command(:get, 'content/v2/{merchantId}/orderreturns', options)
1853
1719
  command.response_representation = Google::Apis::ContentV2::OrderreturnsListResponse::Representation
1854
1720
  command.response_class = Google::Apis::ContentV2::OrderreturnsListResponse
1855
1721
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -1860,7 +1726,6 @@ module Google
1860
1726
  command.query['pageToken'] = page_token unless page_token.nil?
1861
1727
  command.query['fields'] = fields unless fields.nil?
1862
1728
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1863
- command.query['userIp'] = user_ip unless user_ip.nil?
1864
1729
  execute_or_queue_command(command, &block)
1865
1730
  end
1866
1731
 
@@ -1874,10 +1739,8 @@ module Google
1874
1739
  # @param [String] fields
1875
1740
  # Selector specifying which fields to include in a partial response.
1876
1741
  # @param [String] quota_user
1877
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1878
- # characters.
1879
- # @param [String] user_ip
1880
- # Deprecated. Please use quotaUser instead.
1742
+ # Available to use for quota purposes for server-side applications. Can be any
1743
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1881
1744
  # @param [Google::Apis::RequestOptions] options
1882
1745
  # Request-specific options
1883
1746
  #
@@ -1890,8 +1753,8 @@ module Google
1890
1753
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1891
1754
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1892
1755
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1893
- def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1894
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
1756
+ def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1757
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/acknowledge', options)
1895
1758
  command.request_representation = Google::Apis::ContentV2::OrdersAcknowledgeRequest::Representation
1896
1759
  command.request_object = orders_acknowledge_request_object
1897
1760
  command.response_representation = Google::Apis::ContentV2::OrdersAcknowledgeResponse::Representation
@@ -1900,7 +1763,6 @@ module Google
1900
1763
  command.params['orderId'] = order_id unless order_id.nil?
1901
1764
  command.query['fields'] = fields unless fields.nil?
1902
1765
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1903
- command.query['userIp'] = user_ip unless user_ip.nil?
1904
1766
  execute_or_queue_command(command, &block)
1905
1767
  end
1906
1768
 
@@ -1914,10 +1776,8 @@ module Google
1914
1776
  # @param [String] fields
1915
1777
  # Selector specifying which fields to include in a partial response.
1916
1778
  # @param [String] quota_user
1917
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1918
- # characters.
1919
- # @param [String] user_ip
1920
- # Deprecated. Please use quotaUser instead.
1779
+ # Available to use for quota purposes for server-side applications. Can be any
1780
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1921
1781
  # @param [Google::Apis::RequestOptions] options
1922
1782
  # Request-specific options
1923
1783
  #
@@ -1930,15 +1790,14 @@ module Google
1930
1790
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1931
1791
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1932
1792
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1933
- def advance_test_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1934
- command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
1793
+ def advance_test_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
1794
+ command = make_simple_command(:post, 'content/v2/{merchantId}/testorders/{orderId}/advance', options)
1935
1795
  command.response_representation = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse::Representation
1936
1796
  command.response_class = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse
1937
1797
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
1938
1798
  command.params['orderId'] = order_id unless order_id.nil?
1939
1799
  command.query['fields'] = fields unless fields.nil?
1940
1800
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1941
- command.query['userIp'] = user_ip unless user_ip.nil?
1942
1801
  execute_or_queue_command(command, &block)
1943
1802
  end
1944
1803
 
@@ -1952,10 +1811,8 @@ module Google
1952
1811
  # @param [String] fields
1953
1812
  # Selector specifying which fields to include in a partial response.
1954
1813
  # @param [String] quota_user
1955
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1956
- # characters.
1957
- # @param [String] user_ip
1958
- # Deprecated. Please use quotaUser instead.
1814
+ # Available to use for quota purposes for server-side applications. Can be any
1815
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1959
1816
  # @param [Google::Apis::RequestOptions] options
1960
1817
  # Request-specific options
1961
1818
  #
@@ -1968,8 +1825,8 @@ module Google
1968
1825
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1969
1826
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1970
1827
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1971
- def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1972
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
1828
+ def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1829
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/cancel', options)
1973
1830
  command.request_representation = Google::Apis::ContentV2::OrdersCancelRequest::Representation
1974
1831
  command.request_object = orders_cancel_request_object
1975
1832
  command.response_representation = Google::Apis::ContentV2::OrdersCancelResponse::Representation
@@ -1978,7 +1835,6 @@ module Google
1978
1835
  command.params['orderId'] = order_id unless order_id.nil?
1979
1836
  command.query['fields'] = fields unless fields.nil?
1980
1837
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1981
- command.query['userIp'] = user_ip unless user_ip.nil?
1982
1838
  execute_or_queue_command(command, &block)
1983
1839
  end
1984
1840
 
@@ -1992,10 +1848,8 @@ module Google
1992
1848
  # @param [String] fields
1993
1849
  # Selector specifying which fields to include in a partial response.
1994
1850
  # @param [String] quota_user
1995
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1996
- # characters.
1997
- # @param [String] user_ip
1998
- # Deprecated. Please use quotaUser instead.
1851
+ # Available to use for quota purposes for server-side applications. Can be any
1852
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1999
1853
  # @param [Google::Apis::RequestOptions] options
2000
1854
  # Request-specific options
2001
1855
  #
@@ -2008,8 +1862,8 @@ module Google
2008
1862
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2009
1863
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2010
1864
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2011
- def cancel_order_line_item(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2012
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
1865
+ def cancel_order_line_item(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1866
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/cancelLineItem', options)
2013
1867
  command.request_representation = Google::Apis::ContentV2::OrdersCancelLineItemRequest::Representation
2014
1868
  command.request_object = orders_cancel_line_item_request_object
2015
1869
  command.response_representation = Google::Apis::ContentV2::OrdersCancelLineItemResponse::Representation
@@ -2018,7 +1872,6 @@ module Google
2018
1872
  command.params['orderId'] = order_id unless order_id.nil?
2019
1873
  command.query['fields'] = fields unless fields.nil?
2020
1874
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2021
- command.query['userIp'] = user_ip unless user_ip.nil?
2022
1875
  execute_or_queue_command(command, &block)
2023
1876
  end
2024
1877
 
@@ -2032,10 +1885,8 @@ module Google
2032
1885
  # @param [String] fields
2033
1886
  # Selector specifying which fields to include in a partial response.
2034
1887
  # @param [String] quota_user
2035
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2036
- # characters.
2037
- # @param [String] user_ip
2038
- # Deprecated. Please use quotaUser instead.
1888
+ # Available to use for quota purposes for server-side applications. Can be any
1889
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2039
1890
  # @param [Google::Apis::RequestOptions] options
2040
1891
  # Request-specific options
2041
1892
  #
@@ -2048,8 +1899,8 @@ module Google
2048
1899
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2049
1900
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2050
1901
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2051
- 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)
2052
- command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
1902
+ def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1903
+ command = make_simple_command(:post, 'content/v2/{merchantId}/testorders/{orderId}/cancelByCustomer', options)
2053
1904
  command.request_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerRequest::Representation
2054
1905
  command.request_object = orders_cancel_test_order_by_customer_request_object
2055
1906
  command.response_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerResponse::Representation
@@ -2058,7 +1909,6 @@ module Google
2058
1909
  command.params['orderId'] = order_id unless order_id.nil?
2059
1910
  command.query['fields'] = fields unless fields.nil?
2060
1911
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2061
- command.query['userIp'] = user_ip unless user_ip.nil?
2062
1912
  execute_or_queue_command(command, &block)
2063
1913
  end
2064
1914
 
@@ -2070,10 +1920,8 @@ module Google
2070
1920
  # @param [String] fields
2071
1921
  # Selector specifying which fields to include in a partial response.
2072
1922
  # @param [String] quota_user
2073
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2074
- # characters.
2075
- # @param [String] user_ip
2076
- # Deprecated. Please use quotaUser instead.
1923
+ # Available to use for quota purposes for server-side applications. Can be any
1924
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2077
1925
  # @param [Google::Apis::RequestOptions] options
2078
1926
  # Request-specific options
2079
1927
  #
@@ -2086,8 +1934,8 @@ module Google
2086
1934
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2087
1935
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2088
1936
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2089
- def create_test_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2090
- command = make_simple_command(:post, '{merchantId}/testorders', options)
1937
+ def create_test_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1938
+ command = make_simple_command(:post, 'content/v2/{merchantId}/testorders', options)
2091
1939
  command.request_representation = Google::Apis::ContentV2::OrdersCreateTestOrderRequest::Representation
2092
1940
  command.request_object = orders_create_test_order_request_object
2093
1941
  command.response_representation = Google::Apis::ContentV2::OrdersCreateTestOrderResponse::Representation
@@ -2095,7 +1943,6 @@ module Google
2095
1943
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2096
1944
  command.query['fields'] = fields unless fields.nil?
2097
1945
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2098
- command.query['userIp'] = user_ip unless user_ip.nil?
2099
1946
  execute_or_queue_command(command, &block)
2100
1947
  end
2101
1948
 
@@ -2109,10 +1956,8 @@ module Google
2109
1956
  # @param [String] fields
2110
1957
  # Selector specifying which fields to include in a partial response.
2111
1958
  # @param [String] quota_user
2112
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2113
- # characters.
2114
- # @param [String] user_ip
2115
- # Deprecated. Please use quotaUser instead.
1959
+ # Available to use for quota purposes for server-side applications. Can be any
1960
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2116
1961
  # @param [Google::Apis::RequestOptions] options
2117
1962
  # Request-specific options
2118
1963
  #
@@ -2125,8 +1970,8 @@ module Google
2125
1970
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2126
1971
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2127
1972
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2128
- 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)
2129
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
1973
+ def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1974
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/testreturn', options)
2130
1975
  command.request_representation = Google::Apis::ContentV2::OrdersCreateTestReturnRequest::Representation
2131
1976
  command.request_object = orders_create_test_return_request_object
2132
1977
  command.response_representation = Google::Apis::ContentV2::OrdersCreateTestReturnResponse::Representation
@@ -2135,7 +1980,6 @@ module Google
2135
1980
  command.params['orderId'] = order_id unless order_id.nil?
2136
1981
  command.query['fields'] = fields unless fields.nil?
2137
1982
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2138
- command.query['userIp'] = user_ip unless user_ip.nil?
2139
1983
  execute_or_queue_command(command, &block)
2140
1984
  end
2141
1985
 
@@ -2144,10 +1988,8 @@ module Google
2144
1988
  # @param [String] fields
2145
1989
  # Selector specifying which fields to include in a partial response.
2146
1990
  # @param [String] quota_user
2147
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2148
- # characters.
2149
- # @param [String] user_ip
2150
- # Deprecated. Please use quotaUser instead.
1991
+ # Available to use for quota purposes for server-side applications. Can be any
1992
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2151
1993
  # @param [Google::Apis::RequestOptions] options
2152
1994
  # Request-specific options
2153
1995
  #
@@ -2160,15 +2002,14 @@ module Google
2160
2002
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2161
2003
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2162
2004
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2163
- def custom_order_batch(orders_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2164
- command = make_simple_command(:post, 'orders/batch', options)
2005
+ def custom_order_batch(orders_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2006
+ command = make_simple_command(:post, 'content/v2/orders/batch', options)
2165
2007
  command.request_representation = Google::Apis::ContentV2::OrdersCustomBatchRequest::Representation
2166
2008
  command.request_object = orders_custom_batch_request_object
2167
2009
  command.response_representation = Google::Apis::ContentV2::OrdersCustomBatchResponse::Representation
2168
2010
  command.response_class = Google::Apis::ContentV2::OrdersCustomBatchResponse
2169
2011
  command.query['fields'] = fields unless fields.nil?
2170
2012
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2171
- command.query['userIp'] = user_ip unless user_ip.nil?
2172
2013
  execute_or_queue_command(command, &block)
2173
2014
  end
2174
2015
 
@@ -2181,10 +2022,8 @@ module Google
2181
2022
  # @param [String] fields
2182
2023
  # Selector specifying which fields to include in a partial response.
2183
2024
  # @param [String] quota_user
2184
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2185
- # characters.
2186
- # @param [String] user_ip
2187
- # Deprecated. Please use quotaUser instead.
2025
+ # Available to use for quota purposes for server-side applications. Can be any
2026
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2188
2027
  # @param [Google::Apis::RequestOptions] options
2189
2028
  # Request-specific options
2190
2029
  #
@@ -2197,15 +2036,14 @@ module Google
2197
2036
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2198
2037
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2199
2038
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2200
- def get_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2201
- command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
2039
+ def get_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
2040
+ command = make_simple_command(:get, 'content/v2/{merchantId}/orders/{orderId}', options)
2202
2041
  command.response_representation = Google::Apis::ContentV2::Order::Representation
2203
2042
  command.response_class = Google::Apis::ContentV2::Order
2204
2043
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2205
2044
  command.params['orderId'] = order_id unless order_id.nil?
2206
2045
  command.query['fields'] = fields unless fields.nil?
2207
2046
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2208
- command.query['userIp'] = user_ip unless user_ip.nil?
2209
2047
  execute_or_queue_command(command, &block)
2210
2048
  end
2211
2049
 
@@ -2218,10 +2056,8 @@ module Google
2218
2056
  # @param [String] fields
2219
2057
  # Selector specifying which fields to include in a partial response.
2220
2058
  # @param [String] quota_user
2221
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2222
- # characters.
2223
- # @param [String] user_ip
2224
- # Deprecated. Please use quotaUser instead.
2059
+ # Available to use for quota purposes for server-side applications. Can be any
2060
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2225
2061
  # @param [Google::Apis::RequestOptions] options
2226
2062
  # Request-specific options
2227
2063
  #
@@ -2234,15 +2070,14 @@ module Google
2234
2070
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2235
2071
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2236
2072
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2237
- def get_order_by_merchant_order_id(merchant_id, merchant_order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2238
- command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
2073
+ def get_order_by_merchant_order_id(merchant_id, merchant_order_id, fields: nil, quota_user: nil, options: nil, &block)
2074
+ command = make_simple_command(:get, 'content/v2/{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
2239
2075
  command.response_representation = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse::Representation
2240
2076
  command.response_class = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse
2241
2077
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2242
2078
  command.params['merchantOrderId'] = merchant_order_id unless merchant_order_id.nil?
2243
2079
  command.query['fields'] = fields unless fields.nil?
2244
2080
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2245
- command.query['userIp'] = user_ip unless user_ip.nil?
2246
2081
  execute_or_queue_command(command, &block)
2247
2082
  end
2248
2083
 
@@ -2258,10 +2093,8 @@ module Google
2258
2093
  # @param [String] fields
2259
2094
  # Selector specifying which fields to include in a partial response.
2260
2095
  # @param [String] quota_user
2261
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2262
- # characters.
2263
- # @param [String] user_ip
2264
- # Deprecated. Please use quotaUser instead.
2096
+ # Available to use for quota purposes for server-side applications. Can be any
2097
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2265
2098
  # @param [Google::Apis::RequestOptions] options
2266
2099
  # Request-specific options
2267
2100
  #
@@ -2274,8 +2107,8 @@ module Google
2274
2107
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2275
2108
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2276
2109
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2277
- def get_test_order_template(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2278
- command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
2110
+ def get_test_order_template(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, options: nil, &block)
2111
+ command = make_simple_command(:get, 'content/v2/{merchantId}/testordertemplates/{templateName}', options)
2279
2112
  command.response_representation = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse::Representation
2280
2113
  command.response_class = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse
2281
2114
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2283,19 +2116,17 @@ module Google
2283
2116
  command.query['country'] = country unless country.nil?
2284
2117
  command.query['fields'] = fields unless fields.nil?
2285
2118
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2286
- command.query['userIp'] = user_ip unless user_ip.nil?
2287
2119
  execute_or_queue_command(command, &block)
2288
2120
  end
2289
2121
 
2290
2122
  # Deprecated. Notifies that item return and refund was handled directly by
2291
2123
  # merchant outside of Google payments processing (e.g. cash refund done in store)
2292
- # .
2293
- # Note: We recommend calling the returnrefundlineitem method to refund in-store
2294
- # returns. We will issue the refund directly to the customer. This helps to
2295
- # prevent possible differences arising between merchant and Google transaction
2296
- # records. We also recommend having the point of sale system communicate with
2297
- # Google to ensure that customers do not receive a double refund by first
2298
- # refunding via Google then via an in-store return.
2124
+ # . Note: We recommend calling the returnrefundlineitem method to refund in-
2125
+ # store returns. We will issue the refund directly to the customer. This helps
2126
+ # to prevent possible differences arising between merchant and Google
2127
+ # transaction records. We also recommend having the point of sale system
2128
+ # communicate with Google to ensure that customers do not receive a double
2129
+ # refund by first refunding via Google then via an in-store return.
2299
2130
  # @param [Fixnum] merchant_id
2300
2131
  # The ID of the account that manages the order. This cannot be a multi-client
2301
2132
  # account.
@@ -2305,10 +2136,8 @@ module Google
2305
2136
  # @param [String] fields
2306
2137
  # Selector specifying which fields to include in a partial response.
2307
2138
  # @param [String] quota_user
2308
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2309
- # characters.
2310
- # @param [String] user_ip
2311
- # Deprecated. Please use quotaUser instead.
2139
+ # Available to use for quota purposes for server-side applications. Can be any
2140
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2312
2141
  # @param [Google::Apis::RequestOptions] options
2313
2142
  # Request-specific options
2314
2143
  #
@@ -2321,8 +2150,8 @@ module Google
2321
2150
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2322
2151
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2323
2152
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2324
- 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)
2325
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
2153
+ def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2154
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
2326
2155
  command.request_representation = Google::Apis::ContentV2::OrdersInStoreRefundLineItemRequest::Representation
2327
2156
  command.request_object = orders_in_store_refund_line_item_request_object
2328
2157
  command.response_representation = Google::Apis::ContentV2::OrdersInStoreRefundLineItemResponse::Representation
@@ -2331,7 +2160,6 @@ module Google
2331
2160
  command.params['orderId'] = order_id unless order_id.nil?
2332
2161
  command.query['fields'] = fields unless fields.nil?
2333
2162
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2334
- command.query['userIp'] = user_ip unless user_ip.nil?
2335
2163
  execute_or_queue_command(command, &block)
2336
2164
  end
2337
2165
 
@@ -2342,18 +2170,16 @@ module Google
2342
2170
  # @param [Boolean] acknowledged
2343
2171
  # Obtains orders that match the acknowledgement status. When set to true,
2344
2172
  # obtains orders that have been acknowledged. When false, obtains orders that
2345
- # have not been acknowledged.
2346
- # We recommend using this filter set to `false`, in conjunction with the `
2347
- # acknowledge` call, such that only un-acknowledged orders are returned.
2173
+ # have not been acknowledged. We recommend using this filter set to `false`, in
2174
+ # conjunction with the `acknowledge` call, such that only un-acknowledged orders
2175
+ # are returned.
2348
2176
  # @param [Fixnum] max_results
2349
2177
  # The maximum number of orders to return in the response, used for paging. The
2350
2178
  # default value is 25 orders per page, and the maximum allowed value is 250
2351
2179
  # orders per page.
2352
2180
  # @param [String] order_by
2353
- # Order results by placement date in descending or ascending order.
2354
- # Acceptable values are:
2355
- # - placedDateAsc
2356
- # - placedDateDesc
2181
+ # Order results by placement date in descending or ascending order. Acceptable
2182
+ # values are: - placedDateAsc - placedDateDesc
2357
2183
  # @param [String] page_token
2358
2184
  # The token returned by the previous request.
2359
2185
  # @param [String] placed_date_end
@@ -2368,10 +2194,8 @@ module Google
2368
2194
  # @param [String] fields
2369
2195
  # Selector specifying which fields to include in a partial response.
2370
2196
  # @param [String] quota_user
2371
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2372
- # characters.
2373
- # @param [String] user_ip
2374
- # Deprecated. Please use quotaUser instead.
2197
+ # Available to use for quota purposes for server-side applications. Can be any
2198
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2375
2199
  # @param [Google::Apis::RequestOptions] options
2376
2200
  # Request-specific options
2377
2201
  #
@@ -2384,8 +2208,8 @@ module Google
2384
2208
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2385
2209
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2386
2210
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2387
- 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)
2388
- command = make_simple_command(:get, '{merchantId}/orders', options)
2211
+ 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)
2212
+ command = make_simple_command(:get, 'content/v2/{merchantId}/orders', options)
2389
2213
  command.response_representation = Google::Apis::ContentV2::OrdersListResponse::Representation
2390
2214
  command.response_class = Google::Apis::ContentV2::OrdersListResponse
2391
2215
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2398,7 +2222,6 @@ module Google
2398
2222
  command.query['statuses'] = statuses unless statuses.nil?
2399
2223
  command.query['fields'] = fields unless fields.nil?
2400
2224
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2401
- command.query['userIp'] = user_ip unless user_ip.nil?
2402
2225
  execute_or_queue_command(command, &block)
2403
2226
  end
2404
2227
 
@@ -2412,10 +2235,8 @@ module Google
2412
2235
  # @param [String] fields
2413
2236
  # Selector specifying which fields to include in a partial response.
2414
2237
  # @param [String] quota_user
2415
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2416
- # characters.
2417
- # @param [String] user_ip
2418
- # Deprecated. Please use quotaUser instead.
2238
+ # Available to use for quota purposes for server-side applications. Can be any
2239
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2419
2240
  # @param [Google::Apis::RequestOptions] options
2420
2241
  # Request-specific options
2421
2242
  #
@@ -2428,8 +2249,8 @@ module Google
2428
2249
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2429
2250
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2430
2251
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2431
- def refund_order(merchant_id, order_id, orders_refund_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2432
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refund', options)
2252
+ def refund_order(merchant_id, order_id, orders_refund_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2253
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/refund', options)
2433
2254
  command.request_representation = Google::Apis::ContentV2::OrdersRefundRequest::Representation
2434
2255
  command.request_object = orders_refund_request_object
2435
2256
  command.response_representation = Google::Apis::ContentV2::OrdersRefundResponse::Representation
@@ -2438,7 +2259,6 @@ module Google
2438
2259
  command.params['orderId'] = order_id unless order_id.nil?
2439
2260
  command.query['fields'] = fields unless fields.nil?
2440
2261
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2441
- command.query['userIp'] = user_ip unless user_ip.nil?
2442
2262
  execute_or_queue_command(command, &block)
2443
2263
  end
2444
2264
 
@@ -2452,10 +2272,8 @@ module Google
2452
2272
  # @param [String] fields
2453
2273
  # Selector specifying which fields to include in a partial response.
2454
2274
  # @param [String] quota_user
2455
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2456
- # characters.
2457
- # @param [String] user_ip
2458
- # Deprecated. Please use quotaUser instead.
2275
+ # Available to use for quota purposes for server-side applications. Can be any
2276
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2459
2277
  # @param [Google::Apis::RequestOptions] options
2460
2278
  # Request-specific options
2461
2279
  #
@@ -2468,8 +2286,8 @@ module Google
2468
2286
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2469
2287
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2470
2288
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2471
- 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)
2472
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
2289
+ def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2290
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
2473
2291
  command.request_representation = Google::Apis::ContentV2::OrdersRejectReturnLineItemRequest::Representation
2474
2292
  command.request_object = orders_reject_return_line_item_request_object
2475
2293
  command.response_representation = Google::Apis::ContentV2::OrdersRejectReturnLineItemResponse::Representation
@@ -2478,7 +2296,6 @@ module Google
2478
2296
  command.params['orderId'] = order_id unless order_id.nil?
2479
2297
  command.query['fields'] = fields unless fields.nil?
2480
2298
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2481
- command.query['userIp'] = user_ip unless user_ip.nil?
2482
2299
  execute_or_queue_command(command, &block)
2483
2300
  end
2484
2301
 
@@ -2492,10 +2309,8 @@ module Google
2492
2309
  # @param [String] fields
2493
2310
  # Selector specifying which fields to include in a partial response.
2494
2311
  # @param [String] quota_user
2495
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2496
- # characters.
2497
- # @param [String] user_ip
2498
- # Deprecated. Please use quotaUser instead.
2312
+ # Available to use for quota purposes for server-side applications. Can be any
2313
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2499
2314
  # @param [Google::Apis::RequestOptions] options
2500
2315
  # Request-specific options
2501
2316
  #
@@ -2508,8 +2323,8 @@ module Google
2508
2323
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2509
2324
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2510
2325
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2511
- def return_order_line_item(merchant_id, order_id, orders_return_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2512
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnLineItem', options)
2326
+ def return_order_line_item(merchant_id, order_id, orders_return_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2327
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/returnLineItem', options)
2513
2328
  command.request_representation = Google::Apis::ContentV2::OrdersReturnLineItemRequest::Representation
2514
2329
  command.request_object = orders_return_line_item_request_object
2515
2330
  command.response_representation = Google::Apis::ContentV2::OrdersReturnLineItemResponse::Representation
@@ -2518,7 +2333,6 @@ module Google
2518
2333
  command.params['orderId'] = order_id unless order_id.nil?
2519
2334
  command.query['fields'] = fields unless fields.nil?
2520
2335
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2521
- command.query['userIp'] = user_ip unless user_ip.nil?
2522
2336
  execute_or_queue_command(command, &block)
2523
2337
  end
2524
2338
 
@@ -2537,10 +2351,8 @@ module Google
2537
2351
  # @param [String] fields
2538
2352
  # Selector specifying which fields to include in a partial response.
2539
2353
  # @param [String] quota_user
2540
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2541
- # characters.
2542
- # @param [String] user_ip
2543
- # Deprecated. Please use quotaUser instead.
2354
+ # Available to use for quota purposes for server-side applications. Can be any
2355
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2544
2356
  # @param [Google::Apis::RequestOptions] options
2545
2357
  # Request-specific options
2546
2358
  #
@@ -2553,8 +2365,8 @@ module Google
2553
2365
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2554
2366
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2555
2367
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2556
- 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)
2557
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
2368
+ def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2369
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/returnRefundLineItem', options)
2558
2370
  command.request_representation = Google::Apis::ContentV2::OrdersReturnRefundLineItemRequest::Representation
2559
2371
  command.request_object = orders_return_refund_line_item_request_object
2560
2372
  command.response_representation = Google::Apis::ContentV2::OrdersReturnRefundLineItemResponse::Representation
@@ -2563,7 +2375,6 @@ module Google
2563
2375
  command.params['orderId'] = order_id unless order_id.nil?
2564
2376
  command.query['fields'] = fields unless fields.nil?
2565
2377
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2566
- command.query['userIp'] = user_ip unless user_ip.nil?
2567
2378
  execute_or_queue_command(command, &block)
2568
2379
  end
2569
2380
 
@@ -2581,10 +2392,8 @@ module Google
2581
2392
  # @param [String] fields
2582
2393
  # Selector specifying which fields to include in a partial response.
2583
2394
  # @param [String] quota_user
2584
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2585
- # characters.
2586
- # @param [String] user_ip
2587
- # Deprecated. Please use quotaUser instead.
2395
+ # Available to use for quota purposes for server-side applications. Can be any
2396
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2588
2397
  # @param [Google::Apis::RequestOptions] options
2589
2398
  # Request-specific options
2590
2399
  #
@@ -2597,8 +2406,8 @@ module Google
2597
2406
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2598
2407
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2599
2408
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2600
- 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)
2601
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
2409
+ def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2410
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/setLineItemMetadata', options)
2602
2411
  command.request_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataRequest::Representation
2603
2412
  command.request_object = orders_set_line_item_metadata_request_object
2604
2413
  command.response_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataResponse::Representation
@@ -2607,7 +2416,6 @@ module Google
2607
2416
  command.params['orderId'] = order_id unless order_id.nil?
2608
2417
  command.query['fields'] = fields unless fields.nil?
2609
2418
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2610
- command.query['userIp'] = user_ip unless user_ip.nil?
2611
2419
  execute_or_queue_command(command, &block)
2612
2420
  end
2613
2421
 
@@ -2621,10 +2429,8 @@ module Google
2621
2429
  # @param [String] fields
2622
2430
  # Selector specifying which fields to include in a partial response.
2623
2431
  # @param [String] quota_user
2624
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2625
- # characters.
2626
- # @param [String] user_ip
2627
- # Deprecated. Please use quotaUser instead.
2432
+ # Available to use for quota purposes for server-side applications. Can be any
2433
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2628
2434
  # @param [Google::Apis::RequestOptions] options
2629
2435
  # Request-specific options
2630
2436
  #
@@ -2637,8 +2443,8 @@ module Google
2637
2443
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2638
2444
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2639
2445
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2640
- 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)
2641
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
2446
+ def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2447
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/shipLineItems', options)
2642
2448
  command.request_representation = Google::Apis::ContentV2::OrdersShipLineItemsRequest::Representation
2643
2449
  command.request_object = orders_ship_line_items_request_object
2644
2450
  command.response_representation = Google::Apis::ContentV2::OrdersShipLineItemsResponse::Representation
@@ -2647,7 +2453,6 @@ module Google
2647
2453
  command.params['orderId'] = order_id unless order_id.nil?
2648
2454
  command.query['fields'] = fields unless fields.nil?
2649
2455
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2650
- command.query['userIp'] = user_ip unless user_ip.nil?
2651
2456
  execute_or_queue_command(command, &block)
2652
2457
  end
2653
2458
 
@@ -2661,10 +2466,8 @@ module Google
2661
2466
  # @param [String] fields
2662
2467
  # Selector specifying which fields to include in a partial response.
2663
2468
  # @param [String] quota_user
2664
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2665
- # characters.
2666
- # @param [String] user_ip
2667
- # Deprecated. Please use quotaUser instead.
2469
+ # Available to use for quota purposes for server-side applications. Can be any
2470
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2668
2471
  # @param [Google::Apis::RequestOptions] options
2669
2472
  # Request-specific options
2670
2473
  #
@@ -2677,8 +2480,8 @@ module Google
2677
2480
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2678
2481
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2679
2482
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2680
- 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)
2681
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
2483
+ def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2484
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
2682
2485
  command.request_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsRequest::Representation
2683
2486
  command.request_object = orders_update_line_item_shipping_details_request_object
2684
2487
  command.response_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsResponse::Representation
@@ -2687,7 +2490,6 @@ module Google
2687
2490
  command.params['orderId'] = order_id unless order_id.nil?
2688
2491
  command.query['fields'] = fields unless fields.nil?
2689
2492
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2690
- command.query['userIp'] = user_ip unless user_ip.nil?
2691
2493
  execute_or_queue_command(command, &block)
2692
2494
  end
2693
2495
 
@@ -2701,10 +2503,8 @@ module Google
2701
2503
  # @param [String] fields
2702
2504
  # Selector specifying which fields to include in a partial response.
2703
2505
  # @param [String] quota_user
2704
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2705
- # characters.
2706
- # @param [String] user_ip
2707
- # Deprecated. Please use quotaUser instead.
2506
+ # Available to use for quota purposes for server-side applications. Can be any
2507
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2708
2508
  # @param [Google::Apis::RequestOptions] options
2709
2509
  # Request-specific options
2710
2510
  #
@@ -2717,8 +2517,8 @@ module Google
2717
2517
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2718
2518
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2719
2519
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2720
- def update_merchant_order_id(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2721
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
2520
+ def update_merchant_order_id(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2521
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
2722
2522
  command.request_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdRequest::Representation
2723
2523
  command.request_object = orders_update_merchant_order_id_request_object
2724
2524
  command.response_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdResponse::Representation
@@ -2727,7 +2527,6 @@ module Google
2727
2527
  command.params['orderId'] = order_id unless order_id.nil?
2728
2528
  command.query['fields'] = fields unless fields.nil?
2729
2529
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2730
- command.query['userIp'] = user_ip unless user_ip.nil?
2731
2530
  execute_or_queue_command(command, &block)
2732
2531
  end
2733
2532
 
@@ -2741,10 +2540,8 @@ module Google
2741
2540
  # @param [String] fields
2742
2541
  # Selector specifying which fields to include in a partial response.
2743
2542
  # @param [String] quota_user
2744
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2745
- # characters.
2746
- # @param [String] user_ip
2747
- # Deprecated. Please use quotaUser instead.
2543
+ # Available to use for quota purposes for server-side applications. Can be any
2544
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2748
2545
  # @param [Google::Apis::RequestOptions] options
2749
2546
  # Request-specific options
2750
2547
  #
@@ -2757,8 +2554,8 @@ module Google
2757
2554
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2758
2555
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2759
2556
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2760
- def update_order_shipment(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2761
- command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
2557
+ def update_order_shipment(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2558
+ command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/updateShipment', options)
2762
2559
  command.request_representation = Google::Apis::ContentV2::OrdersUpdateShipmentRequest::Representation
2763
2560
  command.request_object = orders_update_shipment_request_object
2764
2561
  command.response_representation = Google::Apis::ContentV2::OrdersUpdateShipmentResponse::Representation
@@ -2767,7 +2564,6 @@ module Google
2767
2564
  command.params['orderId'] = order_id unless order_id.nil?
2768
2565
  command.query['fields'] = fields unless fields.nil?
2769
2566
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2770
- command.query['userIp'] = user_ip unless user_ip.nil?
2771
2567
  execute_or_queue_command(command, &block)
2772
2568
  end
2773
2569
 
@@ -2779,10 +2575,8 @@ module Google
2779
2575
  # @param [String] fields
2780
2576
  # Selector specifying which fields to include in a partial response.
2781
2577
  # @param [String] quota_user
2782
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2783
- # characters.
2784
- # @param [String] user_ip
2785
- # Deprecated. Please use quotaUser instead.
2578
+ # Available to use for quota purposes for server-side applications. Can be any
2579
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2786
2580
  # @param [Google::Apis::RequestOptions] options
2787
2581
  # Request-specific options
2788
2582
  #
@@ -2795,8 +2589,8 @@ module Google
2795
2589
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2796
2590
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2797
2591
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2798
- def custombatch_po(pos_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2799
- command = make_simple_command(:post, 'pos/batch', options)
2592
+ def custombatch_po(pos_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2593
+ command = make_simple_command(:post, 'content/v2/pos/batch', options)
2800
2594
  command.request_representation = Google::Apis::ContentV2::PosCustomBatchRequest::Representation
2801
2595
  command.request_object = pos_custom_batch_request_object
2802
2596
  command.response_representation = Google::Apis::ContentV2::PosCustomBatchResponse::Representation
@@ -2804,7 +2598,6 @@ module Google
2804
2598
  command.query['dryRun'] = dry_run unless dry_run.nil?
2805
2599
  command.query['fields'] = fields unless fields.nil?
2806
2600
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2807
- command.query['userIp'] = user_ip unless user_ip.nil?
2808
2601
  execute_or_queue_command(command, &block)
2809
2602
  end
2810
2603
 
@@ -2821,10 +2614,8 @@ module Google
2821
2614
  # @param [String] fields
2822
2615
  # Selector specifying which fields to include in a partial response.
2823
2616
  # @param [String] quota_user
2824
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2825
- # characters.
2826
- # @param [String] user_ip
2827
- # Deprecated. Please use quotaUser instead.
2617
+ # Available to use for quota purposes for server-side applications. Can be any
2618
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2828
2619
  # @param [Google::Apis::RequestOptions] options
2829
2620
  # Request-specific options
2830
2621
  #
@@ -2837,15 +2628,14 @@ module Google
2837
2628
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2838
2629
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2839
2630
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2840
- def delete_po(merchant_id, target_merchant_id, store_code, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2841
- command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
2631
+ def delete_po(merchant_id, target_merchant_id, store_code, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2632
+ command = make_simple_command(:delete, 'content/v2/{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
2842
2633
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
2843
2634
  command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
2844
2635
  command.params['storeCode'] = store_code unless store_code.nil?
2845
2636
  command.query['dryRun'] = dry_run unless dry_run.nil?
2846
2637
  command.query['fields'] = fields unless fields.nil?
2847
2638
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2848
- command.query['userIp'] = user_ip unless user_ip.nil?
2849
2639
  execute_or_queue_command(command, &block)
2850
2640
  end
2851
2641
 
@@ -2859,10 +2649,8 @@ module Google
2859
2649
  # @param [String] fields
2860
2650
  # Selector specifying which fields to include in a partial response.
2861
2651
  # @param [String] quota_user
2862
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2863
- # characters.
2864
- # @param [String] user_ip
2865
- # Deprecated. Please use quotaUser instead.
2652
+ # Available to use for quota purposes for server-side applications. Can be any
2653
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2866
2654
  # @param [Google::Apis::RequestOptions] options
2867
2655
  # Request-specific options
2868
2656
  #
@@ -2875,8 +2663,8 @@ module Google
2875
2663
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2876
2664
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2877
2665
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2878
- def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2879
- command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
2666
+ def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block)
2667
+ command = make_simple_command(:get, 'content/v2/{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
2880
2668
  command.response_representation = Google::Apis::ContentV2::PosStore::Representation
2881
2669
  command.response_class = Google::Apis::ContentV2::PosStore
2882
2670
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -2884,7 +2672,6 @@ module Google
2884
2672
  command.params['storeCode'] = store_code unless store_code.nil?
2885
2673
  command.query['fields'] = fields unless fields.nil?
2886
2674
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2887
- command.query['userIp'] = user_ip unless user_ip.nil?
2888
2675
  execute_or_queue_command(command, &block)
2889
2676
  end
2890
2677
 
@@ -2900,10 +2687,8 @@ module Google
2900
2687
  # @param [String] fields
2901
2688
  # Selector specifying which fields to include in a partial response.
2902
2689
  # @param [String] quota_user
2903
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2904
- # characters.
2905
- # @param [String] user_ip
2906
- # Deprecated. Please use quotaUser instead.
2690
+ # Available to use for quota purposes for server-side applications. Can be any
2691
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2907
2692
  # @param [Google::Apis::RequestOptions] options
2908
2693
  # Request-specific options
2909
2694
  #
@@ -2916,8 +2701,8 @@ module Google
2916
2701
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2917
2702
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2918
2703
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2919
- def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2920
- command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
2704
+ def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2705
+ command = make_simple_command(:post, 'content/v2/{merchantId}/pos/{targetMerchantId}/store', options)
2921
2706
  command.request_representation = Google::Apis::ContentV2::PosStore::Representation
2922
2707
  command.request_object = pos_store_object
2923
2708
  command.response_representation = Google::Apis::ContentV2::PosStore::Representation
@@ -2927,7 +2712,6 @@ module Google
2927
2712
  command.query['dryRun'] = dry_run unless dry_run.nil?
2928
2713
  command.query['fields'] = fields unless fields.nil?
2929
2714
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2930
- command.query['userIp'] = user_ip unless user_ip.nil?
2931
2715
  execute_or_queue_command(command, &block)
2932
2716
  end
2933
2717
 
@@ -2943,10 +2727,8 @@ module Google
2943
2727
  # @param [String] fields
2944
2728
  # Selector specifying which fields to include in a partial response.
2945
2729
  # @param [String] quota_user
2946
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2947
- # characters.
2948
- # @param [String] user_ip
2949
- # Deprecated. Please use quotaUser instead.
2730
+ # Available to use for quota purposes for server-side applications. Can be any
2731
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2950
2732
  # @param [Google::Apis::RequestOptions] options
2951
2733
  # Request-specific options
2952
2734
  #
@@ -2959,8 +2741,8 @@ module Google
2959
2741
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2960
2742
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2961
2743
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2962
- def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2963
- command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
2744
+ def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2745
+ command = make_simple_command(:post, 'content/v2/{merchantId}/pos/{targetMerchantId}/inventory', options)
2964
2746
  command.request_representation = Google::Apis::ContentV2::PosInventoryRequest::Representation
2965
2747
  command.request_object = pos_inventory_request_object
2966
2748
  command.response_representation = Google::Apis::ContentV2::PosInventoryResponse::Representation
@@ -2970,7 +2752,6 @@ module Google
2970
2752
  command.query['dryRun'] = dry_run unless dry_run.nil?
2971
2753
  command.query['fields'] = fields unless fields.nil?
2972
2754
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2973
- command.query['userIp'] = user_ip unless user_ip.nil?
2974
2755
  execute_or_queue_command(command, &block)
2975
2756
  end
2976
2757
 
@@ -2982,10 +2763,8 @@ module Google
2982
2763
  # @param [String] fields
2983
2764
  # Selector specifying which fields to include in a partial response.
2984
2765
  # @param [String] quota_user
2985
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2986
- # characters.
2987
- # @param [String] user_ip
2988
- # Deprecated. Please use quotaUser instead.
2766
+ # Available to use for quota purposes for server-side applications. Can be any
2767
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2989
2768
  # @param [Google::Apis::RequestOptions] options
2990
2769
  # Request-specific options
2991
2770
  #
@@ -2998,15 +2777,14 @@ module Google
2998
2777
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2999
2778
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3000
2779
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3001
- def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3002
- command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
2780
+ def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, options: nil, &block)
2781
+ command = make_simple_command(:get, 'content/v2/{merchantId}/pos/{targetMerchantId}/store', options)
3003
2782
  command.response_representation = Google::Apis::ContentV2::PosListResponse::Representation
3004
2783
  command.response_class = Google::Apis::ContentV2::PosListResponse
3005
2784
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3006
2785
  command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
3007
2786
  command.query['fields'] = fields unless fields.nil?
3008
2787
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3009
- command.query['userIp'] = user_ip unless user_ip.nil?
3010
2788
  execute_or_queue_command(command, &block)
3011
2789
  end
3012
2790
 
@@ -3022,10 +2800,8 @@ module Google
3022
2800
  # @param [String] fields
3023
2801
  # Selector specifying which fields to include in a partial response.
3024
2802
  # @param [String] quota_user
3025
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3026
- # characters.
3027
- # @param [String] user_ip
3028
- # Deprecated. Please use quotaUser instead.
2803
+ # Available to use for quota purposes for server-side applications. Can be any
2804
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3029
2805
  # @param [Google::Apis::RequestOptions] options
3030
2806
  # Request-specific options
3031
2807
  #
@@ -3038,8 +2814,8 @@ module Google
3038
2814
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3039
2815
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3040
2816
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3041
- def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3042
- command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
2817
+ def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2818
+ command = make_simple_command(:post, 'content/v2/{merchantId}/pos/{targetMerchantId}/sale', options)
3043
2819
  command.request_representation = Google::Apis::ContentV2::PosSaleRequest::Representation
3044
2820
  command.request_object = pos_sale_request_object
3045
2821
  command.response_representation = Google::Apis::ContentV2::PosSaleResponse::Representation
@@ -3049,7 +2825,6 @@ module Google
3049
2825
  command.query['dryRun'] = dry_run unless dry_run.nil?
3050
2826
  command.query['fields'] = fields unless fields.nil?
3051
2827
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3052
- command.query['userIp'] = user_ip unless user_ip.nil?
3053
2828
  execute_or_queue_command(command, &block)
3054
2829
  end
3055
2830
 
@@ -3061,10 +2836,8 @@ module Google
3061
2836
  # @param [String] fields
3062
2837
  # Selector specifying which fields to include in a partial response.
3063
2838
  # @param [String] quota_user
3064
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3065
- # characters.
3066
- # @param [String] user_ip
3067
- # Deprecated. Please use quotaUser instead.
2839
+ # Available to use for quota purposes for server-side applications. Can be any
2840
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3068
2841
  # @param [Google::Apis::RequestOptions] options
3069
2842
  # Request-specific options
3070
2843
  #
@@ -3077,8 +2850,8 @@ module Google
3077
2850
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3078
2851
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3079
2852
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3080
- def batch_product(batch_products_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3081
- command = make_simple_command(:post, 'products/batch', options)
2853
+ def batch_product(batch_products_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2854
+ command = make_simple_command(:post, 'content/v2/products/batch', options)
3082
2855
  command.request_representation = Google::Apis::ContentV2::BatchProductsRequest::Representation
3083
2856
  command.request_object = batch_products_request_object
3084
2857
  command.response_representation = Google::Apis::ContentV2::BatchProductsResponse::Representation
@@ -3086,7 +2859,6 @@ module Google
3086
2859
  command.query['dryRun'] = dry_run unless dry_run.nil?
3087
2860
  command.query['fields'] = fields unless fields.nil?
3088
2861
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3089
- command.query['userIp'] = user_ip unless user_ip.nil?
3090
2862
  execute_or_queue_command(command, &block)
3091
2863
  end
3092
2864
 
@@ -3102,10 +2874,8 @@ module Google
3102
2874
  # @param [String] fields
3103
2875
  # Selector specifying which fields to include in a partial response.
3104
2876
  # @param [String] quota_user
3105
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3106
- # characters.
3107
- # @param [String] user_ip
3108
- # Deprecated. Please use quotaUser instead.
2877
+ # Available to use for quota purposes for server-side applications. Can be any
2878
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3109
2879
  # @param [Google::Apis::RequestOptions] options
3110
2880
  # Request-specific options
3111
2881
  #
@@ -3118,14 +2888,13 @@ module Google
3118
2888
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3119
2889
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3120
2890
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3121
- def delete_product(merchant_id, product_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3122
- command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
2891
+ def delete_product(merchant_id, product_id, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2892
+ command = make_simple_command(:delete, 'content/v2/{merchantId}/products/{productId}', options)
3123
2893
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3124
2894
  command.params['productId'] = product_id unless product_id.nil?
3125
2895
  command.query['dryRun'] = dry_run unless dry_run.nil?
3126
2896
  command.query['fields'] = fields unless fields.nil?
3127
2897
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3128
- command.query['userIp'] = user_ip unless user_ip.nil?
3129
2898
  execute_or_queue_command(command, &block)
3130
2899
  end
3131
2900
 
@@ -3138,10 +2907,8 @@ module Google
3138
2907
  # @param [String] fields
3139
2908
  # Selector specifying which fields to include in a partial response.
3140
2909
  # @param [String] quota_user
3141
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3142
- # characters.
3143
- # @param [String] user_ip
3144
- # Deprecated. Please use quotaUser instead.
2910
+ # Available to use for quota purposes for server-side applications. Can be any
2911
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3145
2912
  # @param [Google::Apis::RequestOptions] options
3146
2913
  # Request-specific options
3147
2914
  #
@@ -3154,15 +2921,14 @@ module Google
3154
2921
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3155
2922
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3156
2923
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3157
- def get_product(merchant_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3158
- command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
2924
+ def get_product(merchant_id, product_id, fields: nil, quota_user: nil, options: nil, &block)
2925
+ command = make_simple_command(:get, 'content/v2/{merchantId}/products/{productId}', options)
3159
2926
  command.response_representation = Google::Apis::ContentV2::Product::Representation
3160
2927
  command.response_class = Google::Apis::ContentV2::Product
3161
2928
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3162
2929
  command.params['productId'] = product_id unless product_id.nil?
3163
2930
  command.query['fields'] = fields unless fields.nil?
3164
2931
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3165
- command.query['userIp'] = user_ip unless user_ip.nil?
3166
2932
  execute_or_queue_command(command, &block)
3167
2933
  end
3168
2934
 
@@ -3179,10 +2945,8 @@ module Google
3179
2945
  # @param [String] fields
3180
2946
  # Selector specifying which fields to include in a partial response.
3181
2947
  # @param [String] quota_user
3182
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3183
- # characters.
3184
- # @param [String] user_ip
3185
- # Deprecated. Please use quotaUser instead.
2948
+ # Available to use for quota purposes for server-side applications. Can be any
2949
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3186
2950
  # @param [Google::Apis::RequestOptions] options
3187
2951
  # Request-specific options
3188
2952
  #
@@ -3195,8 +2959,8 @@ module Google
3195
2959
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3196
2960
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3197
2961
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3198
- def insert_product(merchant_id, product_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3199
- command = make_simple_command(:post, '{merchantId}/products', options)
2962
+ def insert_product(merchant_id, product_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
2963
+ command = make_simple_command(:post, 'content/v2/{merchantId}/products', options)
3200
2964
  command.request_representation = Google::Apis::ContentV2::Product::Representation
3201
2965
  command.request_object = product_object
3202
2966
  command.response_representation = Google::Apis::ContentV2::Product::Representation
@@ -3205,7 +2969,6 @@ module Google
3205
2969
  command.query['dryRun'] = dry_run unless dry_run.nil?
3206
2970
  command.query['fields'] = fields unless fields.nil?
3207
2971
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3208
- command.query['userIp'] = user_ip unless user_ip.nil?
3209
2972
  execute_or_queue_command(command, &block)
3210
2973
  end
3211
2974
 
@@ -3225,10 +2988,8 @@ module Google
3225
2988
  # @param [String] fields
3226
2989
  # Selector specifying which fields to include in a partial response.
3227
2990
  # @param [String] quota_user
3228
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3229
- # characters.
3230
- # @param [String] user_ip
3231
- # Deprecated. Please use quotaUser instead.
2991
+ # Available to use for quota purposes for server-side applications. Can be any
2992
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3232
2993
  # @param [Google::Apis::RequestOptions] options
3233
2994
  # Request-specific options
3234
2995
  #
@@ -3241,8 +3002,8 @@ module Google
3241
3002
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3242
3003
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3243
3004
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3244
- def list_products(merchant_id, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3245
- command = make_simple_command(:get, '{merchantId}/products', options)
3005
+ def list_products(merchant_id, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3006
+ command = make_simple_command(:get, 'content/v2/{merchantId}/products', options)
3246
3007
  command.response_representation = Google::Apis::ContentV2::ListProductsResponse::Representation
3247
3008
  command.response_class = Google::Apis::ContentV2::ListProductsResponse
3248
3009
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3251,7 +3012,6 @@ module Google
3251
3012
  command.query['pageToken'] = page_token unless page_token.nil?
3252
3013
  command.query['fields'] = fields unless fields.nil?
3253
3014
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3254
- command.query['userIp'] = user_ip unless user_ip.nil?
3255
3015
  execute_or_queue_command(command, &block)
3256
3016
  end
3257
3017
 
@@ -3263,10 +3023,8 @@ module Google
3263
3023
  # @param [String] fields
3264
3024
  # Selector specifying which fields to include in a partial response.
3265
3025
  # @param [String] quota_user
3266
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3267
- # characters.
3268
- # @param [String] user_ip
3269
- # Deprecated. Please use quotaUser instead.
3026
+ # Available to use for quota purposes for server-side applications. Can be any
3027
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3270
3028
  # @param [Google::Apis::RequestOptions] options
3271
3029
  # Request-specific options
3272
3030
  #
@@ -3279,8 +3037,8 @@ module Google
3279
3037
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3280
3038
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3281
3039
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3282
- def batch_product_status(batch_product_statuses_request_object = nil, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3283
- command = make_simple_command(:post, 'productstatuses/batch', options)
3040
+ def batch_product_status(batch_product_statuses_request_object = nil, include_attributes: nil, fields: nil, quota_user: nil, options: nil, &block)
3041
+ command = make_simple_command(:post, 'content/v2/productstatuses/batch', options)
3284
3042
  command.request_representation = Google::Apis::ContentV2::BatchProductStatusesRequest::Representation
3285
3043
  command.request_object = batch_product_statuses_request_object
3286
3044
  command.response_representation = Google::Apis::ContentV2::BatchProductStatusesResponse::Representation
@@ -3288,7 +3046,6 @@ module Google
3288
3046
  command.query['includeAttributes'] = include_attributes unless include_attributes.nil?
3289
3047
  command.query['fields'] = fields unless fields.nil?
3290
3048
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3291
- command.query['userIp'] = user_ip unless user_ip.nil?
3292
3049
  execute_or_queue_command(command, &block)
3293
3050
  end
3294
3051
 
@@ -3307,10 +3064,8 @@ module Google
3307
3064
  # @param [String] fields
3308
3065
  # Selector specifying which fields to include in a partial response.
3309
3066
  # @param [String] quota_user
3310
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3311
- # characters.
3312
- # @param [String] user_ip
3313
- # Deprecated. Please use quotaUser instead.
3067
+ # Available to use for quota purposes for server-side applications. Can be any
3068
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3314
3069
  # @param [Google::Apis::RequestOptions] options
3315
3070
  # Request-specific options
3316
3071
  #
@@ -3323,8 +3078,8 @@ module Google
3323
3078
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3324
3079
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3325
3080
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3326
- def get_product_status(merchant_id, product_id, destinations: nil, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3327
- command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
3081
+ def get_product_status(merchant_id, product_id, destinations: nil, include_attributes: nil, fields: nil, quota_user: nil, options: nil, &block)
3082
+ command = make_simple_command(:get, 'content/v2/{merchantId}/productstatuses/{productId}', options)
3328
3083
  command.response_representation = Google::Apis::ContentV2::ProductStatus::Representation
3329
3084
  command.response_class = Google::Apis::ContentV2::ProductStatus
3330
3085
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3333,7 +3088,6 @@ module Google
3333
3088
  command.query['includeAttributes'] = include_attributes unless include_attributes.nil?
3334
3089
  command.query['fields'] = fields unless fields.nil?
3335
3090
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3336
- command.query['userIp'] = user_ip unless user_ip.nil?
3337
3091
  execute_or_queue_command(command, &block)
3338
3092
  end
3339
3093
 
@@ -3358,10 +3112,8 @@ module Google
3358
3112
  # @param [String] fields
3359
3113
  # Selector specifying which fields to include in a partial response.
3360
3114
  # @param [String] quota_user
3361
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3362
- # characters.
3363
- # @param [String] user_ip
3364
- # Deprecated. Please use quotaUser instead.
3115
+ # Available to use for quota purposes for server-side applications. Can be any
3116
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3365
3117
  # @param [Google::Apis::RequestOptions] options
3366
3118
  # Request-specific options
3367
3119
  #
@@ -3374,8 +3126,8 @@ module Google
3374
3126
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3375
3127
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3376
3128
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3377
- def list_product_statuses(merchant_id, destinations: nil, include_attributes: nil, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3378
- command = make_simple_command(:get, '{merchantId}/productstatuses', options)
3129
+ def list_product_statuses(merchant_id, destinations: nil, include_attributes: nil, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3130
+ command = make_simple_command(:get, 'content/v2/{merchantId}/productstatuses', options)
3379
3131
  command.response_representation = Google::Apis::ContentV2::ListProductStatusesResponse::Representation
3380
3132
  command.response_class = Google::Apis::ContentV2::ListProductStatusesResponse
3381
3133
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3386,7 +3138,6 @@ module Google
3386
3138
  command.query['pageToken'] = page_token unless page_token.nil?
3387
3139
  command.query['fields'] = fields unless fields.nil?
3388
3140
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3389
- command.query['userIp'] = user_ip unless user_ip.nil?
3390
3141
  execute_or_queue_command(command, &block)
3391
3142
  end
3392
3143
 
@@ -3399,10 +3150,8 @@ module Google
3399
3150
  # @param [String] fields
3400
3151
  # Selector specifying which fields to include in a partial response.
3401
3152
  # @param [String] quota_user
3402
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3403
- # characters.
3404
- # @param [String] user_ip
3405
- # Deprecated. Please use quotaUser instead.
3153
+ # Available to use for quota purposes for server-side applications. Can be any
3154
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3406
3155
  # @param [Google::Apis::RequestOptions] options
3407
3156
  # Request-specific options
3408
3157
  #
@@ -3415,8 +3164,8 @@ module Google
3415
3164
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3416
3165
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3417
3166
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3418
- def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3419
- command = make_simple_command(:post, 'shippingsettings/batch', options)
3167
+ def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
3168
+ command = make_simple_command(:post, 'content/v2/shippingsettings/batch', options)
3420
3169
  command.request_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchRequest::Representation
3421
3170
  command.request_object = shippingsettings_custom_batch_request_object
3422
3171
  command.response_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchResponse::Representation
@@ -3424,7 +3173,6 @@ module Google
3424
3173
  command.query['dryRun'] = dry_run unless dry_run.nil?
3425
3174
  command.query['fields'] = fields unless fields.nil?
3426
3175
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3427
- command.query['userIp'] = user_ip unless user_ip.nil?
3428
3176
  execute_or_queue_command(command, &block)
3429
3177
  end
3430
3178
 
@@ -3438,10 +3186,8 @@ module Google
3438
3186
  # @param [String] fields
3439
3187
  # Selector specifying which fields to include in a partial response.
3440
3188
  # @param [String] quota_user
3441
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3442
- # characters.
3443
- # @param [String] user_ip
3444
- # Deprecated. Please use quotaUser instead.
3189
+ # Available to use for quota purposes for server-side applications. Can be any
3190
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3445
3191
  # @param [Google::Apis::RequestOptions] options
3446
3192
  # Request-specific options
3447
3193
  #
@@ -3454,15 +3200,14 @@ module Google
3454
3200
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3455
3201
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3456
3202
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3457
- def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3458
- command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
3203
+ def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
3204
+ command = make_simple_command(:get, 'content/v2/{merchantId}/shippingsettings/{accountId}', options)
3459
3205
  command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
3460
3206
  command.response_class = Google::Apis::ContentV2::ShippingSettings
3461
3207
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3462
3208
  command.params['accountId'] = account_id unless account_id.nil?
3463
3209
  command.query['fields'] = fields unless fields.nil?
3464
3210
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3465
- command.query['userIp'] = user_ip unless user_ip.nil?
3466
3211
  execute_or_queue_command(command, &block)
3467
3212
  end
3468
3213
 
@@ -3472,10 +3217,8 @@ module Google
3472
3217
  # @param [String] fields
3473
3218
  # Selector specifying which fields to include in a partial response.
3474
3219
  # @param [String] quota_user
3475
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3476
- # characters.
3477
- # @param [String] user_ip
3478
- # Deprecated. Please use quotaUser instead.
3220
+ # Available to use for quota purposes for server-side applications. Can be any
3221
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3479
3222
  # @param [Google::Apis::RequestOptions] options
3480
3223
  # Request-specific options
3481
3224
  #
@@ -3488,14 +3231,13 @@ module Google
3488
3231
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3489
3232
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3490
3233
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3491
- def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3492
- command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
3234
+ def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
3235
+ command = make_simple_command(:get, 'content/v2/{merchantId}/supportedCarriers', options)
3493
3236
  command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse::Representation
3494
3237
  command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse
3495
3238
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3496
3239
  command.query['fields'] = fields unless fields.nil?
3497
3240
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3498
- command.query['userIp'] = user_ip unless user_ip.nil?
3499
3241
  execute_or_queue_command(command, &block)
3500
3242
  end
3501
3243
 
@@ -3505,10 +3247,8 @@ module Google
3505
3247
  # @param [String] fields
3506
3248
  # Selector specifying which fields to include in a partial response.
3507
3249
  # @param [String] quota_user
3508
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3509
- # characters.
3510
- # @param [String] user_ip
3511
- # Deprecated. Please use quotaUser instead.
3250
+ # Available to use for quota purposes for server-side applications. Can be any
3251
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3512
3252
  # @param [Google::Apis::RequestOptions] options
3513
3253
  # Request-specific options
3514
3254
  #
@@ -3521,14 +3261,13 @@ module Google
3521
3261
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3522
3262
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3523
3263
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3524
- def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3525
- command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
3264
+ def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
3265
+ command = make_simple_command(:get, 'content/v2/{merchantId}/supportedHolidays', options)
3526
3266
  command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse::Representation
3527
3267
  command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse
3528
3268
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3529
3269
  command.query['fields'] = fields unless fields.nil?
3530
3270
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3531
- command.query['userIp'] = user_ip unless user_ip.nil?
3532
3271
  execute_or_queue_command(command, &block)
3533
3272
  end
3534
3273
 
@@ -3538,10 +3277,8 @@ module Google
3538
3277
  # @param [String] fields
3539
3278
  # Selector specifying which fields to include in a partial response.
3540
3279
  # @param [String] quota_user
3541
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3542
- # characters.
3543
- # @param [String] user_ip
3544
- # Deprecated. Please use quotaUser instead.
3280
+ # Available to use for quota purposes for server-side applications. Can be any
3281
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3545
3282
  # @param [Google::Apis::RequestOptions] options
3546
3283
  # Request-specific options
3547
3284
  #
@@ -3554,14 +3291,13 @@ module Google
3554
3291
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3555
3292
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3556
3293
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3557
- def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3558
- command = make_simple_command(:get, '{merchantId}/supportedPickupServices', options)
3294
+ def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
3295
+ command = make_simple_command(:get, 'content/v2/{merchantId}/supportedPickupServices', options)
3559
3296
  command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedPickupServicesResponse::Representation
3560
3297
  command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedPickupServicesResponse
3561
3298
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
3562
3299
  command.query['fields'] = fields unless fields.nil?
3563
3300
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3564
- command.query['userIp'] = user_ip unless user_ip.nil?
3565
3301
  execute_or_queue_command(command, &block)
3566
3302
  end
3567
3303
 
@@ -3577,10 +3313,8 @@ module Google
3577
3313
  # @param [String] fields
3578
3314
  # Selector specifying which fields to include in a partial response.
3579
3315
  # @param [String] quota_user
3580
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3581
- # characters.
3582
- # @param [String] user_ip
3583
- # Deprecated. Please use quotaUser instead.
3316
+ # Available to use for quota purposes for server-side applications. Can be any
3317
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3584
3318
  # @param [Google::Apis::RequestOptions] options
3585
3319
  # Request-specific options
3586
3320
  #
@@ -3593,8 +3327,8 @@ module Google
3593
3327
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3594
3328
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3595
3329
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3596
- def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3597
- command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
3330
+ def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3331
+ command = make_simple_command(:get, 'content/v2/{merchantId}/shippingsettings', options)
3598
3332
  command.response_representation = Google::Apis::ContentV2::ShippingsettingsListResponse::Representation
3599
3333
  command.response_class = Google::Apis::ContentV2::ShippingsettingsListResponse
3600
3334
  command.params['merchantId'] = merchant_id unless merchant_id.nil?
@@ -3602,7 +3336,6 @@ module Google
3602
3336
  command.query['pageToken'] = page_token unless page_token.nil?
3603
3337
  command.query['fields'] = fields unless fields.nil?
3604
3338
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3605
- command.query['userIp'] = user_ip unless user_ip.nil?
3606
3339
  execute_or_queue_command(command, &block)
3607
3340
  end
3608
3341
 
@@ -3621,10 +3354,8 @@ module Google
3621
3354
  # @param [String] fields
3622
3355
  # Selector specifying which fields to include in a partial response.
3623
3356
  # @param [String] quota_user
3624
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3625
- # characters.
3626
- # @param [String] user_ip
3627
- # Deprecated. Please use quotaUser instead.
3357
+ # Available to use for quota purposes for server-side applications. Can be any
3358
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3628
3359
  # @param [Google::Apis::RequestOptions] options
3629
3360
  # Request-specific options
3630
3361
  #
@@ -3637,8 +3368,8 @@ module Google
3637
3368
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3638
3369
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3639
3370
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3640
- def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3641
- command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
3371
+ def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
3372
+ command = make_simple_command(:put, 'content/v2/{merchantId}/shippingsettings/{accountId}', options)
3642
3373
  command.request_representation = Google::Apis::ContentV2::ShippingSettings::Representation
3643
3374
  command.request_object = shipping_settings_object
3644
3375
  command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
@@ -3648,7 +3379,6 @@ module Google
3648
3379
  command.query['dryRun'] = dry_run unless dry_run.nil?
3649
3380
  command.query['fields'] = fields unless fields.nil?
3650
3381
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3651
- command.query['userIp'] = user_ip unless user_ip.nil?
3652
3382
  execute_or_queue_command(command, &block)
3653
3383
  end
3654
3384
 
@@ -3657,7 +3387,6 @@ module Google
3657
3387
  def apply_command_defaults(command)
3658
3388
  command.query['key'] = key unless key.nil?
3659
3389
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3660
- command.query['userIp'] = user_ip unless user_ip.nil?
3661
3390
  end
3662
3391
  end
3663
3392
  end