google-api-client 0.19.8 → 0.20.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 (355) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -4
  3. data/CHANGELOG.md +106 -0
  4. data/MIGRATING.md +3 -3
  5. data/README.md +6 -9
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -7
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -8
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +84 -9
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
  13. data/generated/google/apis/admin_directory_v1.rb +1 -1
  14. data/generated/google/apis/admin_directory_v1/classes.rb +11 -10
  15. data/generated/google/apis/admin_directory_v1/service.rb +21 -7
  16. data/generated/google/apis/analytics_v3.rb +1 -1
  17. data/generated/google/apis/analytics_v3/service.rb +1 -1
  18. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  19. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +52 -35
  20. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +33 -20
  21. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  22. data/generated/google/apis/androidenterprise_v1/classes.rb +44 -0
  23. data/generated/google/apis/androidenterprise_v1/representations.rb +17 -0
  24. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  25. data/generated/google/apis/androidmanagement_v1/classes.rb +66 -0
  26. data/generated/google/apis/androidmanagement_v1/representations.rb +10 -0
  27. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  28. data/generated/google/apis/androidpublisher_v2/classes.rb +37 -72
  29. data/generated/google/apis/androidpublisher_v2/representations.rb +5 -34
  30. data/generated/google/apis/androidpublisher_v2/service.rb +6 -52
  31. data/generated/google/apis/appengine_v1.rb +2 -2
  32. data/generated/google/apis/appengine_v1/classes.rb +82 -7
  33. data/generated/google/apis/appengine_v1/representations.rb +32 -0
  34. data/generated/google/apis/appengine_v1/service.rb +2 -2
  35. data/generated/google/apis/appengine_v1alpha.rb +2 -2
  36. data/generated/google/apis/appengine_v1alpha/classes.rb +35 -0
  37. data/generated/google/apis/appengine_v1alpha/representations.rb +16 -0
  38. data/generated/google/apis/appengine_v1alpha/service.rb +2 -2
  39. data/generated/google/apis/appengine_v1beta.rb +2 -2
  40. data/generated/google/apis/appengine_v1beta/classes.rb +51 -7
  41. data/generated/google/apis/appengine_v1beta/representations.rb +17 -0
  42. data/generated/google/apis/appengine_v1beta/service.rb +2 -2
  43. data/generated/google/apis/appengine_v1beta4.rb +2 -2
  44. data/generated/google/apis/appengine_v1beta4/classes.rb +50 -6
  45. data/generated/google/apis/appengine_v1beta4/representations.rb +17 -0
  46. data/generated/google/apis/appengine_v1beta4/service.rb +2 -2
  47. data/generated/google/apis/appengine_v1beta5.rb +2 -2
  48. data/generated/google/apis/appengine_v1beta5/classes.rb +50 -6
  49. data/generated/google/apis/appengine_v1beta5/representations.rb +17 -0
  50. data/generated/google/apis/appengine_v1beta5/service.rb +2 -2
  51. data/generated/google/apis/bigquery_v2.rb +1 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +19 -11
  53. data/generated/google/apis/bigquery_v2/representations.rb +4 -3
  54. data/generated/google/apis/bigquery_v2/service.rb +9 -1
  55. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  56. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +9 -6
  57. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
  58. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1 -1
  59. data/generated/google/apis/calendar_v3.rb +1 -1
  60. data/generated/google/apis/calendar_v3/classes.rb +3 -1
  61. data/generated/google/apis/{firebaseremoteconfig_v1.rb → chat_v1.rb} +8 -9
  62. data/generated/google/apis/chat_v1/classes.rb +890 -0
  63. data/generated/google/apis/chat_v1/representations.rb +445 -0
  64. data/generated/google/apis/chat_v1/service.rb +344 -0
  65. data/generated/google/apis/cloudbilling_v1.rb +2 -2
  66. data/generated/google/apis/cloudbilling_v1/classes.rb +341 -5
  67. data/generated/google/apis/cloudbilling_v1/representations.rb +103 -0
  68. data/generated/google/apis/cloudbilling_v1/service.rb +217 -10
  69. data/generated/google/apis/cloudbuild_v1.rb +2 -2
  70. data/generated/google/apis/cloudbuild_v1/classes.rb +180 -84
  71. data/generated/google/apis/cloudbuild_v1/representations.rb +35 -0
  72. data/generated/google/apis/cloudbuild_v1/service.rb +25 -25
  73. data/generated/google/apis/cloudiot_v1.rb +2 -2
  74. data/generated/google/apis/cloudiot_v1/classes.rb +13 -142
  75. data/generated/google/apis/cloudiot_v1/representations.rb +0 -32
  76. data/generated/google/apis/cloudiot_v1/service.rb +2 -2
  77. data/generated/google/apis/cloudkms_v1.rb +1 -1
  78. data/generated/google/apis/cloudkms_v1/classes.rb +7 -1
  79. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  80. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  81. data/generated/google/apis/cloudresourcemanager_v1.rb +2 -2
  82. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -2
  83. data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -5
  84. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +2 -2
  85. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
  86. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -6
  87. data/generated/google/apis/{clouduseraccounts_beta.rb → cloudresourcemanager_v2.rb} +10 -16
  88. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +821 -0
  89. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +304 -0
  90. data/generated/google/apis/cloudresourcemanager_v2/service.rb +534 -0
  91. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +2 -2
  92. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
  93. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  94. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +7 -0
  95. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  96. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  97. data/generated/google/apis/cloudtrace_v1/classes.rb +2 -0
  98. data/generated/google/apis/compute_alpha.rb +1 -1
  99. data/generated/google/apis/compute_alpha/classes.rb +216 -120
  100. data/generated/google/apis/compute_alpha/representations.rb +25 -1
  101. data/generated/google/apis/compute_alpha/service.rb +1354 -1621
  102. data/generated/google/apis/compute_beta.rb +1 -1
  103. data/generated/google/apis/compute_beta/classes.rb +548 -85
  104. data/generated/google/apis/compute_beta/representations.rb +159 -0
  105. data/generated/google/apis/compute_beta/service.rb +1971 -1460
  106. data/generated/google/apis/compute_v1.rb +1 -1
  107. data/generated/google/apis/compute_v1/classes.rb +206 -70
  108. data/generated/google/apis/compute_v1/representations.rb +32 -0
  109. data/generated/google/apis/compute_v1/service.rb +1184 -1278
  110. data/generated/google/apis/container_v1.rb +1 -1
  111. data/generated/google/apis/container_v1/classes.rb +742 -9
  112. data/generated/google/apis/container_v1/representations.rb +90 -0
  113. data/generated/google/apis/container_v1/service.rb +1380 -100
  114. data/generated/google/apis/container_v1beta1.rb +1 -1
  115. data/generated/google/apis/container_v1beta1/classes.rb +191 -138
  116. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  117. data/generated/google/apis/container_v1beta1/service.rb +236 -231
  118. data/generated/google/apis/content_v2.rb +1 -1
  119. data/generated/google/apis/content_v2/classes.rb +2690 -1540
  120. data/generated/google/apis/content_v2/representations.rb +491 -0
  121. data/generated/google/apis/content_v2/service.rb +684 -0
  122. data/generated/google/apis/content_v2sandbox.rb +1 -1
  123. data/generated/google/apis/content_v2sandbox/classes.rb +2 -1
  124. data/generated/google/apis/dataflow_v1b3.rb +2 -2
  125. data/generated/google/apis/dataflow_v1b3/classes.rb +95 -0
  126. data/generated/google/apis/dataflow_v1b3/representations.rb +36 -0
  127. data/generated/google/apis/dataflow_v1b3/service.rb +1 -1
  128. data/generated/google/apis/dataproc_v1.rb +1 -1
  129. data/generated/google/apis/dataproc_v1/classes.rb +56 -45
  130. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  131. data/generated/google/apis/dataproc_v1/service.rb +30 -3
  132. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  133. data/generated/google/apis/dataproc_v1beta2/classes.rb +77 -53
  134. data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
  135. data/generated/google/apis/dataproc_v1beta2/service.rb +484 -18
  136. data/generated/google/apis/datastore_v1.rb +1 -1
  137. data/generated/google/apis/datastore_v1/classes.rb +372 -0
  138. data/generated/google/apis/datastore_v1/representations.rb +132 -0
  139. data/generated/google/apis/datastore_v1/service.rb +77 -0
  140. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  141. data/generated/google/apis/datastore_v1beta1/classes.rb +255 -0
  142. data/generated/google/apis/datastore_v1beta1/representations.rb +100 -0
  143. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  144. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -0
  145. data/generated/google/apis/datastore_v1beta3/representations.rb +100 -0
  146. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  147. data/generated/google/apis/deploymentmanager_alpha/classes.rb +6 -1
  148. data/generated/google/apis/deploymentmanager_alpha/service.rb +121 -145
  149. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  150. data/generated/google/apis/deploymentmanager_v2/service.rb +79 -91
  151. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  152. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -1
  153. data/generated/google/apis/deploymentmanager_v2beta/service.rb +121 -145
  154. data/generated/google/apis/dialogflow_v2.rb +35 -0
  155. data/generated/google/apis/dialogflow_v2/classes.rb +3994 -0
  156. data/generated/google/apis/dialogflow_v2/representations.rb +1670 -0
  157. data/generated/google/apis/dialogflow_v2/service.rb +1397 -0
  158. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  159. data/generated/google/apis/dialogflow_v2beta1/classes.rb +39 -11
  160. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
  161. data/generated/google/apis/dialogflow_v2beta1/service.rb +559 -16
  162. data/generated/google/apis/dlp_v2.rb +36 -0
  163. data/generated/google/apis/dlp_v2/classes.rb +6431 -0
  164. data/generated/google/apis/dlp_v2/representations.rb +3116 -0
  165. data/generated/google/apis/dlp_v2/service.rb +1300 -0
  166. data/generated/google/apis/dlp_v2beta1.rb +4 -4
  167. data/generated/google/apis/dlp_v2beta1/classes.rb +38 -0
  168. data/generated/google/apis/dlp_v2beta1/representations.rb +17 -0
  169. data/generated/google/apis/dlp_v2beta1/service.rb +3 -3
  170. data/generated/google/apis/dlp_v2beta2.rb +4 -4
  171. data/generated/google/apis/dlp_v2beta2/classes.rb +229 -1
  172. data/generated/google/apis/dlp_v2beta2/representations.rb +91 -0
  173. data/generated/google/apis/dlp_v2beta2/service.rb +3 -3
  174. data/generated/google/apis/dns_v1.rb +1 -1
  175. data/generated/google/apis/dns_v1/classes.rb +496 -0
  176. data/generated/google/apis/dns_v1/representations.rb +188 -0
  177. data/generated/google/apis/dns_v1/service.rb +319 -6
  178. data/generated/google/apis/dns_v1beta2.rb +1 -1
  179. data/generated/google/apis/dns_v1beta2/classes.rb +0 -19
  180. data/generated/google/apis/dns_v1beta2/representations.rb +0 -14
  181. data/generated/google/apis/dns_v1beta2/service.rb +2 -4
  182. data/generated/google/apis/dns_v2beta1.rb +1 -1
  183. data/generated/google/apis/dns_v2beta1/classes.rb +6 -19
  184. data/generated/google/apis/dns_v2beta1/representations.rb +1 -14
  185. data/generated/google/apis/dns_v2beta1/service.rb +2 -4
  186. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  187. data/generated/google/apis/doubleclicksearch_v2/classes.rb +4 -0
  188. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  189. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +2 -2
  190. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  191. data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
  192. data/generated/google/apis/genomics_v1.rb +1 -1
  193. data/generated/google/apis/genomics_v1/classes.rb +271 -1
  194. data/generated/google/apis/genomics_v1/representations.rb +140 -0
  195. data/generated/google/apis/genomics_v1/service.rb +9 -1
  196. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  197. data/generated/google/apis/genomics_v1alpha2/classes.rb +271 -1
  198. data/generated/google/apis/genomics_v1alpha2/representations.rb +140 -0
  199. data/generated/google/apis/genomics_v1alpha2/service.rb +9 -1
  200. data/generated/google/apis/genomics_v2alpha1.rb +37 -0
  201. data/generated/google/apis/genomics_v2alpha1/classes.rb +1306 -0
  202. data/generated/google/apis/genomics_v2alpha1/representations.rb +535 -0
  203. data/generated/google/apis/genomics_v2alpha1/service.rb +261 -0
  204. data/generated/google/apis/gmail_v1.rb +1 -1
  205. data/generated/google/apis/gmail_v1/classes.rb +2 -1
  206. data/generated/google/apis/iam_v1.rb +1 -1
  207. data/generated/google/apis/iam_v1/classes.rb +1 -1
  208. data/generated/google/apis/language_v1.rb +2 -2
  209. data/generated/google/apis/language_v1/classes.rb +2 -1
  210. data/generated/google/apis/language_v1/service.rb +1 -1
  211. data/generated/google/apis/language_v1beta1.rb +2 -2
  212. data/generated/google/apis/language_v1beta1/service.rb +1 -1
  213. data/generated/google/apis/language_v1beta2.rb +2 -2
  214. data/generated/google/apis/language_v1beta2/classes.rb +2 -1
  215. data/generated/google/apis/language_v1beta2/service.rb +1 -1
  216. data/generated/google/apis/logging_v2.rb +1 -1
  217. data/generated/google/apis/logging_v2beta1.rb +1 -1
  218. data/generated/google/apis/manufacturers_v1.rb +1 -1
  219. data/generated/google/apis/manufacturers_v1/service.rb +14 -11
  220. data/generated/google/apis/ml_v1.rb +2 -2
  221. data/generated/google/apis/ml_v1/classes.rb +180 -5
  222. data/generated/google/apis/ml_v1/representations.rb +49 -0
  223. data/generated/google/apis/ml_v1/service.rb +1 -1
  224. data/generated/google/apis/monitoring_v3.rb +1 -1
  225. data/generated/google/apis/monitoring_v3/classes.rb +797 -2
  226. data/generated/google/apis/monitoring_v3/representations.rb +279 -0
  227. data/generated/google/apis/monitoring_v3/service.rb +612 -0
  228. data/generated/google/apis/oslogin_v1.rb +2 -2
  229. data/generated/google/apis/oslogin_v1/service.rb +1 -1
  230. data/generated/google/apis/oslogin_v1alpha.rb +2 -2
  231. data/generated/google/apis/oslogin_v1alpha/service.rb +1 -1
  232. data/generated/google/apis/oslogin_v1beta.rb +2 -2
  233. data/generated/google/apis/oslogin_v1beta/service.rb +1 -1
  234. data/generated/google/apis/pagespeedonline_v4.rb +32 -0
  235. data/generated/google/apis/pagespeedonline_v4/classes.rb +795 -0
  236. data/generated/google/apis/pagespeedonline_v4/representations.rb +335 -0
  237. data/generated/google/apis/pagespeedonline_v4/service.rb +129 -0
  238. data/generated/google/apis/people_v1.rb +2 -2
  239. data/generated/google/apis/people_v1/classes.rb +5 -2
  240. data/generated/google/apis/people_v1/service.rb +9 -7
  241. data/generated/google/apis/poly_v1.rb +1 -1
  242. data/generated/google/apis/poly_v1/classes.rb +153 -0
  243. data/generated/google/apis/poly_v1/representations.rb +67 -0
  244. data/generated/google/apis/proximitybeacon_v1beta1.rb +2 -2
  245. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +1 -1
  246. data/generated/google/apis/pubsub_v1.rb +1 -1
  247. data/generated/google/apis/pubsub_v1/classes.rb +3 -0
  248. data/generated/google/apis/pubsub_v1/service.rb +7 -0
  249. data/generated/google/apis/script_v1.rb +2 -2
  250. data/generated/google/apis/script_v1/service.rb +1 -1
  251. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  252. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +21 -126
  253. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -30
  254. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -13
  255. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  256. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
  257. data/generated/google/apis/servicecontrol_v1/service.rb +9 -6
  258. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  259. data/generated/google/apis/servicemanagement_v1/classes.rb +44 -157
  260. data/generated/google/apis/servicemanagement_v1/representations.rb +2 -48
  261. data/generated/google/apis/servicemanagement_v1/service.rb +9 -0
  262. data/generated/google/apis/{serviceusage_v1.rb → serviceusage_v1beta1.rb} +6 -6
  263. data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/classes.rb +290 -325
  264. data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/representations.rb +105 -163
  265. data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/service.rb +105 -163
  266. data/generated/google/apis/serviceuser_v1.rb +2 -2
  267. data/generated/google/apis/serviceuser_v1/classes.rb +44 -101
  268. data/generated/google/apis/serviceuser_v1/representations.rb +2 -30
  269. data/generated/google/apis/serviceuser_v1/service.rb +1 -1
  270. data/generated/google/apis/sheets_v4.rb +1 -1
  271. data/generated/google/apis/sheets_v4/classes.rb +643 -10
  272. data/generated/google/apis/sheets_v4/representations.rb +53 -0
  273. data/generated/google/apis/slides_v1.rb +1 -1
  274. data/generated/google/apis/slides_v1/classes.rb +92 -9
  275. data/generated/google/apis/slides_v1/representations.rb +21 -0
  276. data/generated/google/apis/slides_v1/service.rb +3 -2
  277. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  278. data/generated/google/apis/sourcerepo_v1/classes.rb +4 -73
  279. data/generated/google/apis/sourcerepo_v1/representations.rb +0 -20
  280. data/generated/google/apis/spanner_v1.rb +1 -1
  281. data/generated/google/apis/spanner_v1/classes.rb +238 -2
  282. data/generated/google/apis/spanner_v1/representations.rb +86 -0
  283. data/generated/google/apis/spanner_v1/service.rb +80 -0
  284. data/generated/google/apis/speech_v1.rb +2 -2
  285. data/generated/google/apis/speech_v1/classes.rb +14 -19
  286. data/generated/google/apis/speech_v1/representations.rb +0 -1
  287. data/generated/google/apis/speech_v1/service.rb +1 -1
  288. data/generated/google/apis/speech_v1beta1.rb +2 -2
  289. data/generated/google/apis/speech_v1beta1/service.rb +1 -1
  290. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  291. data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -6
  292. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  293. data/generated/google/apis/storage_v1.rb +1 -1
  294. data/generated/google/apis/storage_v1/service.rb +3 -6
  295. data/generated/google/apis/storagetransfer_v1.rb +2 -2
  296. data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
  297. data/generated/google/apis/testing_v1.rb +1 -1
  298. data/generated/google/apis/testing_v1/classes.rb +107 -2
  299. data/generated/google/apis/testing_v1/representations.rb +38 -0
  300. data/generated/google/apis/texttospeech_v1beta1.rb +34 -0
  301. data/generated/google/apis/texttospeech_v1beta1/classes.rb +278 -0
  302. data/generated/google/apis/texttospeech_v1beta1/representations.rb +133 -0
  303. data/generated/google/apis/texttospeech_v1beta1/service.rb +128 -0
  304. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  305. data/generated/google/apis/toolresults_v1beta3/classes.rb +30 -16
  306. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  307. data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -0
  308. data/generated/google/apis/tpu_v1alpha1/representations.rb +30 -0
  309. data/generated/google/apis/tpu_v1alpha1/service.rb +73 -1
  310. data/generated/google/apis/vault_v1.rb +1 -1
  311. data/generated/google/apis/vault_v1/classes.rb +29 -3
  312. data/generated/google/apis/vault_v1/representations.rb +15 -0
  313. data/generated/google/apis/vault_v1/service.rb +8 -2
  314. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  315. data/generated/google/apis/videointelligence_v1beta1/classes.rb +650 -0
  316. data/generated/google/apis/videointelligence_v1beta1/representations.rb +315 -0
  317. data/generated/google/apis/vision_v1.rb +2 -2
  318. data/generated/google/apis/vision_v1/classes.rb +290 -2
  319. data/generated/google/apis/vision_v1/representations.rb +128 -0
  320. data/generated/google/apis/vision_v1/service.rb +187 -1
  321. data/generated/google/apis/vision_v1p1beta1.rb +2 -2
  322. data/generated/google/apis/vision_v1p1beta1/classes.rb +136 -2
  323. data/generated/google/apis/vision_v1p1beta1/representations.rb +71 -0
  324. data/generated/google/apis/vision_v1p1beta1/service.rb +1 -1
  325. data/generated/google/apis/vision_v1p2beta1.rb +39 -0
  326. data/generated/google/apis/vision_v1p2beta1/classes.rb +2172 -0
  327. data/generated/google/apis/vision_v1p2beta1/representations.rb +895 -0
  328. data/generated/google/apis/vision_v1p2beta1/service.rb +126 -0
  329. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  330. data/generated/google/apis/youtube_v3.rb +1 -1
  331. data/generated/google/apis/youtube_v3/classes.rb +12 -0
  332. data/generated/google/apis/youtube_v3/representations.rb +2 -0
  333. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  334. data/lib/google/apis/core/json_representation.rb +1 -1
  335. data/lib/google/apis/version.rb +3 -3
  336. data/samples/web/Gemfile +3 -0
  337. metadata +38 -26
  338. data/generated/google/apis/clouduseraccounts_alpha.rb +0 -44
  339. data/generated/google/apis/clouduseraccounts_alpha/classes.rb +0 -1188
  340. data/generated/google/apis/clouduseraccounts_alpha/representations.rb +0 -494
  341. data/generated/google/apis/clouduseraccounts_alpha/service.rb +0 -1152
  342. data/generated/google/apis/clouduseraccounts_beta/classes.rb +0 -845
  343. data/generated/google/apis/clouduseraccounts_beta/representations.rb +0 -352
  344. data/generated/google/apis/clouduseraccounts_beta/service.rb +0 -908
  345. data/generated/google/apis/clouduseraccounts_vm_alpha.rb +0 -44
  346. data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +0 -1188
  347. data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +0 -494
  348. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +0 -1152
  349. data/generated/google/apis/clouduseraccounts_vm_beta.rb +0 -44
  350. data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +0 -845
  351. data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +0 -352
  352. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +0 -908
  353. data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +0 -200
  354. data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +0 -89
  355. data/generated/google/apis/firebaseremoteconfig_v1/service.rb +0 -153
@@ -1263,6 +1263,399 @@ module Google
1263
1263
  execute_or_queue_command(command, &block)
1264
1264
  end
1265
1265
 
1266
+ # Retrieves and/or updates the LIA settings of multiple accounts in a single
1267
+ # request.
1268
+ # @param [Google::Apis::ContentV2::LiasettingsCustomBatchRequest] liasettings_custom_batch_request_object
1269
+ # @param [Boolean] dry_run
1270
+ # Flag to run the request in dry-run mode.
1271
+ # @param [String] fields
1272
+ # Selector specifying which fields to include in a partial response.
1273
+ # @param [String] quota_user
1274
+ # Available to use for quota purposes for server-side applications. Can be any
1275
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1276
+ # Overrides userIp if both are provided.
1277
+ # @param [String] user_ip
1278
+ # IP address of the site where the request originates. Use this if you want to
1279
+ # enforce per-user limits.
1280
+ # @param [Google::Apis::RequestOptions] options
1281
+ # Request-specific options
1282
+ #
1283
+ # @yield [result, err] Result & error if block supplied
1284
+ # @yieldparam result [Google::Apis::ContentV2::LiasettingsCustomBatchResponse] parsed result object
1285
+ # @yieldparam err [StandardError] error object if request failed
1286
+ #
1287
+ # @return [Google::Apis::ContentV2::LiasettingsCustomBatchResponse]
1288
+ #
1289
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1290
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1291
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1292
+ def custombatch_liasetting(liasettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1293
+ command = make_simple_command(:post, 'liasettings/batch', options)
1294
+ command.request_representation = Google::Apis::ContentV2::LiasettingsCustomBatchRequest::Representation
1295
+ command.request_object = liasettings_custom_batch_request_object
1296
+ command.response_representation = Google::Apis::ContentV2::LiasettingsCustomBatchResponse::Representation
1297
+ command.response_class = Google::Apis::ContentV2::LiasettingsCustomBatchResponse
1298
+ command.query['dryRun'] = dry_run unless dry_run.nil?
1299
+ command.query['fields'] = fields unless fields.nil?
1300
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1301
+ command.query['userIp'] = user_ip unless user_ip.nil?
1302
+ execute_or_queue_command(command, &block)
1303
+ end
1304
+
1305
+ # Retrieves the LIA settings of the account.
1306
+ # @param [Fixnum] merchant_id
1307
+ # The ID of the managing account. If this parameter is not the same as accountId,
1308
+ # then this account must be a multi-client account and accountId must be the ID
1309
+ # of a sub-account of this account.
1310
+ # @param [Fixnum] account_id
1311
+ # The ID of the account for which to get or update LIA settings.
1312
+ # @param [String] fields
1313
+ # Selector specifying which fields to include in a partial response.
1314
+ # @param [String] quota_user
1315
+ # Available to use for quota purposes for server-side applications. Can be any
1316
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1317
+ # Overrides userIp if both are provided.
1318
+ # @param [String] user_ip
1319
+ # IP address of the site where the request originates. Use this if you want to
1320
+ # enforce per-user limits.
1321
+ # @param [Google::Apis::RequestOptions] options
1322
+ # Request-specific options
1323
+ #
1324
+ # @yield [result, err] Result & error if block supplied
1325
+ # @yieldparam result [Google::Apis::ContentV2::LiaSettings] parsed result object
1326
+ # @yieldparam err [StandardError] error object if request failed
1327
+ #
1328
+ # @return [Google::Apis::ContentV2::LiaSettings]
1329
+ #
1330
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1331
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1332
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1333
+ def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1334
+ command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
1335
+ command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
1336
+ command.response_class = Google::Apis::ContentV2::LiaSettings
1337
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
1338
+ command.params['accountId'] = account_id unless account_id.nil?
1339
+ command.query['fields'] = fields unless fields.nil?
1340
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1341
+ command.query['userIp'] = user_ip unless user_ip.nil?
1342
+ execute_or_queue_command(command, &block)
1343
+ end
1344
+
1345
+ # Retrieves the list of accessible Google My Business accounts.
1346
+ # @param [Fixnum] merchant_id
1347
+ # The ID of the managing account. If this parameter is not the same as accountId,
1348
+ # then this account must be a multi-client account and accountId must be the ID
1349
+ # of a sub-account of this account.
1350
+ # @param [Fixnum] account_id
1351
+ # The ID of the account for which to retrieve accessible Google My Business
1352
+ # accounts.
1353
+ # @param [String] fields
1354
+ # Selector specifying which fields to include in a partial response.
1355
+ # @param [String] quota_user
1356
+ # Available to use for quota purposes for server-side applications. Can be any
1357
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1358
+ # Overrides userIp if both are provided.
1359
+ # @param [String] user_ip
1360
+ # IP address of the site where the request originates. Use this if you want to
1361
+ # enforce per-user limits.
1362
+ # @param [Google::Apis::RequestOptions] options
1363
+ # Request-specific options
1364
+ #
1365
+ # @yield [result, err] Result & error if block supplied
1366
+ # @yieldparam result [Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse] parsed result object
1367
+ # @yieldparam err [StandardError] error object if request failed
1368
+ #
1369
+ # @return [Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse]
1370
+ #
1371
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1372
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1373
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1374
+ def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1375
+ command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
1376
+ command.response_representation = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse::Representation
1377
+ command.response_class = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse
1378
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
1379
+ command.params['accountId'] = account_id unless account_id.nil?
1380
+ command.query['fields'] = fields unless fields.nil?
1381
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1382
+ command.query['userIp'] = user_ip unless user_ip.nil?
1383
+ execute_or_queue_command(command, &block)
1384
+ end
1385
+
1386
+ # Lists the LIA settings of the sub-accounts in your Merchant Center account.
1387
+ # @param [Fixnum] merchant_id
1388
+ # The ID of the managing account. This must be a multi-client account.
1389
+ # @param [Fixnum] max_results
1390
+ # The maximum number of LIA settings to return in the response, used for paging.
1391
+ # @param [String] page_token
1392
+ # The token returned by the previous request.
1393
+ # @param [String] fields
1394
+ # Selector specifying which fields to include in a partial response.
1395
+ # @param [String] quota_user
1396
+ # Available to use for quota purposes for server-side applications. Can be any
1397
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1398
+ # Overrides userIp if both are provided.
1399
+ # @param [String] user_ip
1400
+ # IP address of the site where the request originates. Use this if you want to
1401
+ # enforce per-user limits.
1402
+ # @param [Google::Apis::RequestOptions] options
1403
+ # Request-specific options
1404
+ #
1405
+ # @yield [result, err] Result & error if block supplied
1406
+ # @yieldparam result [Google::Apis::ContentV2::LiasettingsListResponse] parsed result object
1407
+ # @yieldparam err [StandardError] error object if request failed
1408
+ #
1409
+ # @return [Google::Apis::ContentV2::LiasettingsListResponse]
1410
+ #
1411
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1412
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1413
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1414
+ def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1415
+ command = make_simple_command(:get, '{merchantId}/liasettings', options)
1416
+ command.response_representation = Google::Apis::ContentV2::LiasettingsListResponse::Representation
1417
+ command.response_class = Google::Apis::ContentV2::LiasettingsListResponse
1418
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
1419
+ command.query['maxResults'] = max_results unless max_results.nil?
1420
+ command.query['pageToken'] = page_token unless page_token.nil?
1421
+ command.query['fields'] = fields unless fields.nil?
1422
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1423
+ command.query['userIp'] = user_ip unless user_ip.nil?
1424
+ execute_or_queue_command(command, &block)
1425
+ end
1426
+
1427
+ # Updates the LIA settings of the account. This method supports patch semantics.
1428
+ # @param [Fixnum] merchant_id
1429
+ # The ID of the managing account. If this parameter is not the same as accountId,
1430
+ # then this account must be a multi-client account and accountId must be the ID
1431
+ # of a sub-account of this account.
1432
+ # @param [Fixnum] account_id
1433
+ # The ID of the account for which to get or update LIA settings.
1434
+ # @param [Google::Apis::ContentV2::LiaSettings] lia_settings_object
1435
+ # @param [Boolean] dry_run
1436
+ # Flag to run the request in dry-run mode.
1437
+ # @param [String] fields
1438
+ # Selector specifying which fields to include in a partial response.
1439
+ # @param [String] quota_user
1440
+ # Available to use for quota purposes for server-side applications. Can be any
1441
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1442
+ # Overrides userIp if both are provided.
1443
+ # @param [String] user_ip
1444
+ # IP address of the site where the request originates. Use this if you want to
1445
+ # enforce per-user limits.
1446
+ # @param [Google::Apis::RequestOptions] options
1447
+ # Request-specific options
1448
+ #
1449
+ # @yield [result, err] Result & error if block supplied
1450
+ # @yieldparam result [Google::Apis::ContentV2::LiaSettings] parsed result object
1451
+ # @yieldparam err [StandardError] error object if request failed
1452
+ #
1453
+ # @return [Google::Apis::ContentV2::LiaSettings]
1454
+ #
1455
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1456
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1457
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1458
+ def patch_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1459
+ command = make_simple_command(:patch, '{merchantId}/liasettings/{accountId}', options)
1460
+ command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
1461
+ command.request_object = lia_settings_object
1462
+ command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
1463
+ command.response_class = Google::Apis::ContentV2::LiaSettings
1464
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
1465
+ command.params['accountId'] = account_id unless account_id.nil?
1466
+ command.query['dryRun'] = dry_run unless dry_run.nil?
1467
+ command.query['fields'] = fields unless fields.nil?
1468
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1469
+ command.query['userIp'] = user_ip unless user_ip.nil?
1470
+ execute_or_queue_command(command, &block)
1471
+ end
1472
+
1473
+ # Requests access to a specified Google My Business account.
1474
+ # @param [Fixnum] merchant_id
1475
+ # The ID of the managing account. If this parameter is not the same as accountId,
1476
+ # then this account must be a multi-client account and accountId must be the ID
1477
+ # of a sub-account of this account.
1478
+ # @param [Fixnum] account_id
1479
+ # The ID of the account for which GMB access is requested.
1480
+ # @param [String] gmb_email
1481
+ # The email of the Google My Business account.
1482
+ # @param [String] fields
1483
+ # Selector specifying which fields to include in a partial response.
1484
+ # @param [String] quota_user
1485
+ # Available to use for quota purposes for server-side applications. Can be any
1486
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1487
+ # Overrides userIp if both are provided.
1488
+ # @param [String] user_ip
1489
+ # IP address of the site where the request originates. Use this if you want to
1490
+ # enforce per-user limits.
1491
+ # @param [Google::Apis::RequestOptions] options
1492
+ # Request-specific options
1493
+ #
1494
+ # @yield [result, err] Result & error if block supplied
1495
+ # @yieldparam result [Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse] parsed result object
1496
+ # @yieldparam err [StandardError] error object if request failed
1497
+ #
1498
+ # @return [Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse]
1499
+ #
1500
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1501
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1502
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1503
+ def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1504
+ command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
1505
+ command.response_representation = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse::Representation
1506
+ command.response_class = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse
1507
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
1508
+ command.params['accountId'] = account_id unless account_id.nil?
1509
+ command.query['gmbEmail'] = gmb_email unless gmb_email.nil?
1510
+ command.query['fields'] = fields unless fields.nil?
1511
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1512
+ command.query['userIp'] = user_ip unless user_ip.nil?
1513
+ execute_or_queue_command(command, &block)
1514
+ end
1515
+
1516
+ # Requests inventory validation for the specified country.
1517
+ # @param [Fixnum] merchant_id
1518
+ # The ID of the managing account. If this parameter is not the same as accountId,
1519
+ # then this account must be a multi-client account and accountId must be the ID
1520
+ # of a sub-account of this account.
1521
+ # @param [Fixnum] account_id
1522
+ # The ID of the account that manages the order. This cannot be a multi-client
1523
+ # account.
1524
+ # @param [String] country
1525
+ # The country for which inventory validation is requested.
1526
+ # @param [String] fields
1527
+ # Selector specifying which fields to include in a partial response.
1528
+ # @param [String] quota_user
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.
1531
+ # Overrides userIp if both are provided.
1532
+ # @param [String] user_ip
1533
+ # IP address of the site where the request originates. Use this if you want to
1534
+ # enforce per-user limits.
1535
+ # @param [Google::Apis::RequestOptions] options
1536
+ # Request-specific options
1537
+ #
1538
+ # @yield [result, err] Result & error if block supplied
1539
+ # @yieldparam result [Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse] parsed result object
1540
+ # @yieldparam err [StandardError] error object if request failed
1541
+ #
1542
+ # @return [Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse]
1543
+ #
1544
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1545
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1546
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1547
+ def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1548
+ command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
1549
+ command.response_representation = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse::Representation
1550
+ command.response_class = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse
1551
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
1552
+ command.params['accountId'] = account_id unless account_id.nil?
1553
+ command.params['country'] = country unless country.nil?
1554
+ command.query['fields'] = fields unless fields.nil?
1555
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1556
+ command.query['userIp'] = user_ip unless user_ip.nil?
1557
+ execute_or_queue_command(command, &block)
1558
+ end
1559
+
1560
+ # Sets the inventory verification contract for the specified country.
1561
+ # @param [Fixnum] merchant_id
1562
+ # The ID of the managing account. If this parameter is not the same as accountId,
1563
+ # then this account must be a multi-client account and accountId must be the ID
1564
+ # of a sub-account of this account.
1565
+ # @param [Fixnum] account_id
1566
+ # The ID of the account that manages the order. This cannot be a multi-client
1567
+ # account.
1568
+ # @param [String] contact_email
1569
+ # The email of the inventory verification contact.
1570
+ # @param [String] contact_name
1571
+ # The name of the inventory verification contact.
1572
+ # @param [String] country
1573
+ # The country for which inventory verification is requested.
1574
+ # @param [String] language
1575
+ # The language for which inventory verification is requested.
1576
+ # @param [String] fields
1577
+ # Selector specifying which fields to include in a partial response.
1578
+ # @param [String] quota_user
1579
+ # Available to use for quota purposes for server-side applications. Can be any
1580
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1581
+ # Overrides userIp if both are provided.
1582
+ # @param [String] user_ip
1583
+ # IP address of the site where the request originates. Use this if you want to
1584
+ # enforce per-user limits.
1585
+ # @param [Google::Apis::RequestOptions] options
1586
+ # Request-specific options
1587
+ #
1588
+ # @yield [result, err] Result & error if block supplied
1589
+ # @yieldparam result [Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse] parsed result object
1590
+ # @yieldparam err [StandardError] error object if request failed
1591
+ #
1592
+ # @return [Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse]
1593
+ #
1594
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1595
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1596
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1597
+ def setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email: nil, contact_name: nil, country: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1598
+ command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
1599
+ command.response_representation = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse::Representation
1600
+ command.response_class = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse
1601
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
1602
+ command.params['accountId'] = account_id unless account_id.nil?
1603
+ command.query['contactEmail'] = contact_email unless contact_email.nil?
1604
+ command.query['contactName'] = contact_name unless contact_name.nil?
1605
+ command.query['country'] = country unless country.nil?
1606
+ command.query['language'] = language unless language.nil?
1607
+ command.query['fields'] = fields unless fields.nil?
1608
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1609
+ command.query['userIp'] = user_ip unless user_ip.nil?
1610
+ execute_or_queue_command(command, &block)
1611
+ end
1612
+
1613
+ # Updates the LIA settings of the account.
1614
+ # @param [Fixnum] merchant_id
1615
+ # The ID of the managing account. If this parameter is not the same as accountId,
1616
+ # then this account must be a multi-client account and accountId must be the ID
1617
+ # of a sub-account of this account.
1618
+ # @param [Fixnum] account_id
1619
+ # The ID of the account for which to get or update LIA settings.
1620
+ # @param [Google::Apis::ContentV2::LiaSettings] lia_settings_object
1621
+ # @param [Boolean] dry_run
1622
+ # Flag to run the request in dry-run mode.
1623
+ # @param [String] fields
1624
+ # Selector specifying which fields to include in a partial response.
1625
+ # @param [String] quota_user
1626
+ # Available to use for quota purposes for server-side applications. Can be any
1627
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1628
+ # Overrides userIp if both are provided.
1629
+ # @param [String] user_ip
1630
+ # IP address of the site where the request originates. Use this if you want to
1631
+ # enforce per-user limits.
1632
+ # @param [Google::Apis::RequestOptions] options
1633
+ # Request-specific options
1634
+ #
1635
+ # @yield [result, err] Result & error if block supplied
1636
+ # @yieldparam result [Google::Apis::ContentV2::LiaSettings] parsed result object
1637
+ # @yieldparam err [StandardError] error object if request failed
1638
+ #
1639
+ # @return [Google::Apis::ContentV2::LiaSettings]
1640
+ #
1641
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1642
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1643
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1644
+ 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)
1645
+ command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
1646
+ command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
1647
+ command.request_object = lia_settings_object
1648
+ command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
1649
+ command.response_class = Google::Apis::ContentV2::LiaSettings
1650
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
1651
+ command.params['accountId'] = account_id unless account_id.nil?
1652
+ command.query['dryRun'] = dry_run unless dry_run.nil?
1653
+ command.query['fields'] = fields unless fields.nil?
1654
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1655
+ command.query['userIp'] = user_ip unless user_ip.nil?
1656
+ execute_or_queue_command(command, &block)
1657
+ end
1658
+
1266
1659
  # Marks an order as acknowledged.
1267
1660
  # @param [Fixnum] merchant_id
1268
1661
  # The ID of the account that manages the order. This cannot be a multi-client
@@ -2116,6 +2509,297 @@ module Google
2116
2509
  execute_or_queue_command(command, &block)
2117
2510
  end
2118
2511
 
2512
+ # Batches multiple POS-related calls in a single request.
2513
+ # @param [Google::Apis::ContentV2::PosCustomBatchRequest] pos_custom_batch_request_object
2514
+ # @param [Boolean] dry_run
2515
+ # Flag to run the request in dry-run mode.
2516
+ # @param [String] fields
2517
+ # Selector specifying which fields to include in a partial response.
2518
+ # @param [String] quota_user
2519
+ # Available to use for quota purposes for server-side applications. Can be any
2520
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2521
+ # Overrides userIp if both are provided.
2522
+ # @param [String] user_ip
2523
+ # IP address of the site where the request originates. Use this if you want to
2524
+ # enforce per-user limits.
2525
+ # @param [Google::Apis::RequestOptions] options
2526
+ # Request-specific options
2527
+ #
2528
+ # @yield [result, err] Result & error if block supplied
2529
+ # @yieldparam result [Google::Apis::ContentV2::PosCustomBatchResponse] parsed result object
2530
+ # @yieldparam err [StandardError] error object if request failed
2531
+ #
2532
+ # @return [Google::Apis::ContentV2::PosCustomBatchResponse]
2533
+ #
2534
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2535
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2536
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2537
+ def custombatch_po(pos_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2538
+ command = make_simple_command(:post, 'pos/batch', options)
2539
+ command.request_representation = Google::Apis::ContentV2::PosCustomBatchRequest::Representation
2540
+ command.request_object = pos_custom_batch_request_object
2541
+ command.response_representation = Google::Apis::ContentV2::PosCustomBatchResponse::Representation
2542
+ command.response_class = Google::Apis::ContentV2::PosCustomBatchResponse
2543
+ command.query['dryRun'] = dry_run unless dry_run.nil?
2544
+ command.query['fields'] = fields unless fields.nil?
2545
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2546
+ command.query['userIp'] = user_ip unless user_ip.nil?
2547
+ execute_or_queue_command(command, &block)
2548
+ end
2549
+
2550
+ # Deletes a store for the given merchant.
2551
+ # @param [Fixnum] merchant_id
2552
+ # The ID of the POS or inventory data provider.
2553
+ # @param [Fixnum] target_merchant_id
2554
+ # The ID of the target merchant.
2555
+ # @param [String] store_code
2556
+ # A store code that is unique per merchant.
2557
+ # @param [Boolean] dry_run
2558
+ # Flag to run the request in dry-run mode.
2559
+ # @param [String] fields
2560
+ # Selector specifying which fields to include in a partial response.
2561
+ # @param [String] quota_user
2562
+ # Available to use for quota purposes for server-side applications. Can be any
2563
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2564
+ # Overrides userIp if both are provided.
2565
+ # @param [String] user_ip
2566
+ # IP address of the site where the request originates. Use this if you want to
2567
+ # enforce per-user limits.
2568
+ # @param [Google::Apis::RequestOptions] options
2569
+ # Request-specific options
2570
+ #
2571
+ # @yield [result, err] Result & error if block supplied
2572
+ # @yieldparam result [NilClass] No result returned for this method
2573
+ # @yieldparam err [StandardError] error object if request failed
2574
+ #
2575
+ # @return [void]
2576
+ #
2577
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2578
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2579
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2580
+ def delete_po(merchant_id, target_merchant_id, store_code, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2581
+ command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
2582
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2583
+ command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
2584
+ command.params['storeCode'] = store_code unless store_code.nil?
2585
+ command.query['dryRun'] = dry_run unless dry_run.nil?
2586
+ command.query['fields'] = fields unless fields.nil?
2587
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2588
+ command.query['userIp'] = user_ip unless user_ip.nil?
2589
+ execute_or_queue_command(command, &block)
2590
+ end
2591
+
2592
+ # Retrieves information about the given store.
2593
+ # @param [Fixnum] merchant_id
2594
+ # The ID of the POS or inventory data provider.
2595
+ # @param [Fixnum] target_merchant_id
2596
+ # The ID of the target merchant.
2597
+ # @param [String] store_code
2598
+ # A store code that is unique per merchant.
2599
+ # @param [String] fields
2600
+ # Selector specifying which fields to include in a partial response.
2601
+ # @param [String] quota_user
2602
+ # Available to use for quota purposes for server-side applications. Can be any
2603
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2604
+ # Overrides userIp if both are provided.
2605
+ # @param [String] user_ip
2606
+ # IP address of the site where the request originates. Use this if you want to
2607
+ # enforce per-user limits.
2608
+ # @param [Google::Apis::RequestOptions] options
2609
+ # Request-specific options
2610
+ #
2611
+ # @yield [result, err] Result & error if block supplied
2612
+ # @yieldparam result [Google::Apis::ContentV2::PosStore] parsed result object
2613
+ # @yieldparam err [StandardError] error object if request failed
2614
+ #
2615
+ # @return [Google::Apis::ContentV2::PosStore]
2616
+ #
2617
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2618
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2619
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2620
+ def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2621
+ command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
2622
+ command.response_representation = Google::Apis::ContentV2::PosStore::Representation
2623
+ command.response_class = Google::Apis::ContentV2::PosStore
2624
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2625
+ command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
2626
+ command.params['storeCode'] = store_code unless store_code.nil?
2627
+ command.query['fields'] = fields unless fields.nil?
2628
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2629
+ command.query['userIp'] = user_ip unless user_ip.nil?
2630
+ execute_or_queue_command(command, &block)
2631
+ end
2632
+
2633
+ # Creates a store for the given merchant.
2634
+ # @param [Fixnum] merchant_id
2635
+ # The ID of the POS or inventory data provider.
2636
+ # @param [Fixnum] target_merchant_id
2637
+ # The ID of the target merchant.
2638
+ # @param [Google::Apis::ContentV2::PosStore] pos_store_object
2639
+ # @param [Boolean] dry_run
2640
+ # Flag to run the request in dry-run mode.
2641
+ # @param [String] fields
2642
+ # Selector specifying which fields to include in a partial response.
2643
+ # @param [String] quota_user
2644
+ # Available to use for quota purposes for server-side applications. Can be any
2645
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2646
+ # Overrides userIp if both are provided.
2647
+ # @param [String] user_ip
2648
+ # IP address of the site where the request originates. Use this if you want to
2649
+ # enforce per-user limits.
2650
+ # @param [Google::Apis::RequestOptions] options
2651
+ # Request-specific options
2652
+ #
2653
+ # @yield [result, err] Result & error if block supplied
2654
+ # @yieldparam result [Google::Apis::ContentV2::PosStore] parsed result object
2655
+ # @yieldparam err [StandardError] error object if request failed
2656
+ #
2657
+ # @return [Google::Apis::ContentV2::PosStore]
2658
+ #
2659
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2660
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2661
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2662
+ 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)
2663
+ command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
2664
+ command.request_representation = Google::Apis::ContentV2::PosStore::Representation
2665
+ command.request_object = pos_store_object
2666
+ command.response_representation = Google::Apis::ContentV2::PosStore::Representation
2667
+ command.response_class = Google::Apis::ContentV2::PosStore
2668
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2669
+ command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
2670
+ command.query['dryRun'] = dry_run unless dry_run.nil?
2671
+ command.query['fields'] = fields unless fields.nil?
2672
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2673
+ command.query['userIp'] = user_ip unless user_ip.nil?
2674
+ execute_or_queue_command(command, &block)
2675
+ end
2676
+
2677
+ # Submit inventory for the given merchant.
2678
+ # @param [Fixnum] merchant_id
2679
+ # The ID of the POS or inventory data provider.
2680
+ # @param [Fixnum] target_merchant_id
2681
+ # The ID of the target merchant.
2682
+ # @param [Google::Apis::ContentV2::PosInventoryRequest] pos_inventory_request_object
2683
+ # @param [Boolean] dry_run
2684
+ # Flag to run the request in dry-run mode.
2685
+ # @param [String] fields
2686
+ # Selector specifying which fields to include in a partial response.
2687
+ # @param [String] quota_user
2688
+ # Available to use for quota purposes for server-side applications. Can be any
2689
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2690
+ # Overrides userIp if both are provided.
2691
+ # @param [String] user_ip
2692
+ # IP address of the site where the request originates. Use this if you want to
2693
+ # enforce per-user limits.
2694
+ # @param [Google::Apis::RequestOptions] options
2695
+ # Request-specific options
2696
+ #
2697
+ # @yield [result, err] Result & error if block supplied
2698
+ # @yieldparam result [Google::Apis::ContentV2::PosInventoryResponse] parsed result object
2699
+ # @yieldparam err [StandardError] error object if request failed
2700
+ #
2701
+ # @return [Google::Apis::ContentV2::PosInventoryResponse]
2702
+ #
2703
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2704
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2705
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2706
+ 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)
2707
+ command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
2708
+ command.request_representation = Google::Apis::ContentV2::PosInventoryRequest::Representation
2709
+ command.request_object = pos_inventory_request_object
2710
+ command.response_representation = Google::Apis::ContentV2::PosInventoryResponse::Representation
2711
+ command.response_class = Google::Apis::ContentV2::PosInventoryResponse
2712
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2713
+ command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
2714
+ command.query['dryRun'] = dry_run unless dry_run.nil?
2715
+ command.query['fields'] = fields unless fields.nil?
2716
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2717
+ command.query['userIp'] = user_ip unless user_ip.nil?
2718
+ execute_or_queue_command(command, &block)
2719
+ end
2720
+
2721
+ # Lists the stores of the target merchant.
2722
+ # @param [Fixnum] merchant_id
2723
+ # The ID of the POS or inventory data provider.
2724
+ # @param [Fixnum] target_merchant_id
2725
+ # The ID of the target merchant.
2726
+ # @param [String] fields
2727
+ # Selector specifying which fields to include in a partial response.
2728
+ # @param [String] quota_user
2729
+ # Available to use for quota purposes for server-side applications. Can be any
2730
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2731
+ # Overrides userIp if both are provided.
2732
+ # @param [String] user_ip
2733
+ # IP address of the site where the request originates. Use this if you want to
2734
+ # enforce per-user limits.
2735
+ # @param [Google::Apis::RequestOptions] options
2736
+ # Request-specific options
2737
+ #
2738
+ # @yield [result, err] Result & error if block supplied
2739
+ # @yieldparam result [Google::Apis::ContentV2::PosListResponse] parsed result object
2740
+ # @yieldparam err [StandardError] error object if request failed
2741
+ #
2742
+ # @return [Google::Apis::ContentV2::PosListResponse]
2743
+ #
2744
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2745
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2746
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2747
+ def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2748
+ command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
2749
+ command.response_representation = Google::Apis::ContentV2::PosListResponse::Representation
2750
+ command.response_class = Google::Apis::ContentV2::PosListResponse
2751
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2752
+ command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
2753
+ command.query['fields'] = fields unless fields.nil?
2754
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2755
+ command.query['userIp'] = user_ip unless user_ip.nil?
2756
+ execute_or_queue_command(command, &block)
2757
+ end
2758
+
2759
+ # Submit a sale event for the given merchant.
2760
+ # @param [Fixnum] merchant_id
2761
+ # The ID of the POS or inventory data provider.
2762
+ # @param [Fixnum] target_merchant_id
2763
+ # The ID of the target merchant.
2764
+ # @param [Google::Apis::ContentV2::PosSaleRequest] pos_sale_request_object
2765
+ # @param [Boolean] dry_run
2766
+ # Flag to run the request in dry-run mode.
2767
+ # @param [String] fields
2768
+ # Selector specifying which fields to include in a partial response.
2769
+ # @param [String] quota_user
2770
+ # Available to use for quota purposes for server-side applications. Can be any
2771
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2772
+ # Overrides userIp if both are provided.
2773
+ # @param [String] user_ip
2774
+ # IP address of the site where the request originates. Use this if you want to
2775
+ # enforce per-user limits.
2776
+ # @param [Google::Apis::RequestOptions] options
2777
+ # Request-specific options
2778
+ #
2779
+ # @yield [result, err] Result & error if block supplied
2780
+ # @yieldparam result [Google::Apis::ContentV2::PosSaleResponse] parsed result object
2781
+ # @yieldparam err [StandardError] error object if request failed
2782
+ #
2783
+ # @return [Google::Apis::ContentV2::PosSaleResponse]
2784
+ #
2785
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2786
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2787
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2788
+ 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)
2789
+ command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
2790
+ command.request_representation = Google::Apis::ContentV2::PosSaleRequest::Representation
2791
+ command.request_object = pos_sale_request_object
2792
+ command.response_representation = Google::Apis::ContentV2::PosSaleResponse::Representation
2793
+ command.response_class = Google::Apis::ContentV2::PosSaleResponse
2794
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2795
+ command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
2796
+ command.query['dryRun'] = dry_run unless dry_run.nil?
2797
+ command.query['fields'] = fields unless fields.nil?
2798
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2799
+ command.query['userIp'] = user_ip unless user_ip.nil?
2800
+ execute_or_queue_command(command, &block)
2801
+ end
2802
+
2119
2803
  # Retrieves, inserts, and deletes multiple products in a single request.
2120
2804
  # @param [Google::Apis::ContentV2::BatchProductsRequest] batch_products_request_object
2121
2805
  # @param [Boolean] dry_run