google-api-client 0.32.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (948) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -2
  9. data/CHANGELOG.md +1354 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +50 -2
  13. data/Rakefile +71 -2
  14. data/api_list_config.yaml +1 -0
  15. data/api_names.yaml +2 -0
  16. data/bin/generate-api +10 -2
  17. data/docs/api-keys.md +20 -0
  18. data/docs/auth.md +53 -0
  19. data/docs/client-secrets.md +69 -0
  20. data/docs/getting-started.md +340 -0
  21. data/docs/installation.md +0 -0
  22. data/docs/logging.md +34 -0
  23. data/docs/media-upload.md +25 -0
  24. data/docs/oauth-installed.md +191 -0
  25. data/docs/oauth-server.md +135 -0
  26. data/docs/oauth-web.md +280 -0
  27. data/docs/oauth.md +268 -0
  28. data/docs/pagination.md +29 -0
  29. data/docs/performance.md +25 -0
  30. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  31. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  32. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  33. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  34. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  35. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  36. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  37. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  38. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  39. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  40. data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
  41. data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
  42. data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
  43. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  44. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
  45. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
  46. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
  47. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  48. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
  49. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
  50. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  51. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
  52. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  53. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  54. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
  55. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  56. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  57. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  58. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  59. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  60. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  61. data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
  62. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  63. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  64. data/generated/google/apis/admin_directory_v1.rb +4 -1
  65. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  66. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  67. data/generated/google/apis/admin_reports_v1.rb +2 -2
  68. data/generated/google/apis/admob_v1/classes.rb +951 -0
  69. data/generated/google/apis/admob_v1/representations.rb +378 -0
  70. data/generated/google/apis/admob_v1/service.rb +196 -0
  71. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  72. data/generated/google/apis/adsense_v1_4.rb +1 -1
  73. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  74. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  75. data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
  76. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  77. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  78. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  79. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  80. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  81. data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
  82. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  83. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  84. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  85. data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
  86. data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
  87. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  88. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  89. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  90. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  91. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  92. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  93. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  94. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  95. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  96. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  97. data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
  98. data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
  99. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  100. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  101. data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
  102. data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
  103. data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
  104. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  105. data/generated/google/apis/apigee_v1/classes.rb +4928 -0
  106. data/generated/google/apis/apigee_v1/representations.rb +1822 -0
  107. data/generated/google/apis/apigee_v1/service.rb +5578 -0
  108. data/generated/google/apis/apigee_v1.rb +40 -0
  109. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  110. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  111. data/generated/google/apis/appengine_v1/service.rb +10 -6
  112. data/generated/google/apis/appengine_v1.rb +1 -1
  113. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  114. data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
  115. data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
  116. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  117. data/generated/google/apis/appengine_v1beta.rb +1 -1
  118. data/generated/google/apis/appsactivity_v1.rb +1 -1
  119. data/generated/google/apis/appsmarket_v2.rb +1 -1
  120. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
  121. data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
  122. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  123. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  124. data/generated/google/apis/bigquery_v2/classes.rb +993 -43
  125. data/generated/google/apis/bigquery_v2/representations.rb +273 -2
  126. data/generated/google/apis/bigquery_v2/service.rb +137 -4
  127. data/generated/google/apis/bigquery_v2.rb +1 -1
  128. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
  129. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  130. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
  131. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  132. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  133. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  134. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
  135. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  136. data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
  137. data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
  138. data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
  139. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  140. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
  141. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
  142. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  143. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  144. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
  145. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
  146. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
  147. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  148. data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
  149. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  150. data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
  151. data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
  152. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  153. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
  154. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
  155. data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
  156. data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
  157. data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
  158. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
  159. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  160. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
  161. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
  162. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  163. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  164. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  165. data/generated/google/apis/blogger_v2/service.rb +79 -134
  166. data/generated/google/apis/blogger_v2.rb +5 -4
  167. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  168. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  169. data/generated/google/apis/blogger_v3/service.rb +183 -463
  170. data/generated/google/apis/blogger_v3.rb +4 -3
  171. data/generated/google/apis/books_v1/classes.rb +494 -242
  172. data/generated/google/apis/books_v1/representations.rb +145 -72
  173. data/generated/google/apis/books_v1/service.rb +354 -484
  174. data/generated/google/apis/books_v1.rb +3 -3
  175. data/generated/google/apis/calendar_v3/classes.rb +8 -21
  176. data/generated/google/apis/calendar_v3/service.rb +18 -30
  177. data/generated/google/apis/calendar_v3.rb +1 -1
  178. data/generated/google/apis/chat_v1/classes.rb +29 -3
  179. data/generated/google/apis/chat_v1/representations.rb +3 -0
  180. data/generated/google/apis/chat_v1/service.rb +5 -2
  181. data/generated/google/apis/chat_v1.rb +1 -1
  182. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  183. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  184. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  185. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  186. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  187. data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
  188. data/generated/google/apis/civicinfo_v2.rb +1 -1
  189. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  190. data/generated/google/apis/classroom_v1/service.rb +11 -11
  191. data/generated/google/apis/classroom_v1.rb +1 -1
  192. data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
  193. data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
  194. data/generated/google/apis/cloudasset_v1/service.rb +363 -12
  195. data/generated/google/apis/cloudasset_v1.rb +2 -2
  196. data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
  197. data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
  198. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  199. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
  200. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
  201. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
  202. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  203. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  204. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  205. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  206. data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
  207. data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
  208. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  209. data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
  210. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  211. data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
  212. data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
  213. data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
  214. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  215. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
  216. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
  217. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
  218. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  219. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
  220. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
  221. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
  222. data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
  223. data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
  224. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  225. data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
  226. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  227. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  228. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
  229. data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
  230. data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
  231. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  232. data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
  233. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  234. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  235. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  236. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  237. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  238. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  239. data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
  240. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  241. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
  242. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
  243. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
  244. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  245. data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
  246. data/generated/google/apis/cloudiot_v1.rb +1 -1
  247. data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
  248. data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
  249. data/generated/google/apis/cloudkms_v1/service.rb +15 -3
  250. data/generated/google/apis/cloudkms_v1.rb +1 -1
  251. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  252. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
  253. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
  254. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  255. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
  256. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  257. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  258. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
  259. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  260. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  261. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
  262. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  263. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  264. data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
  265. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  266. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
  267. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  268. data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
  269. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
  270. data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
  271. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  272. data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
  273. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  274. data/generated/google/apis/cloudshell_v1.rb +1 -1
  275. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
  276. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
  277. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  278. data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
  279. data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
  280. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  281. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
  282. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  283. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  284. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
  285. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  286. data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
  287. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  288. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
  289. data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
  290. data/generated/google/apis/cloudtrace_v2.rb +5 -5
  291. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
  292. data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
  293. data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
  294. data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
  295. data/generated/google/apis/composer_v1/classes.rb +180 -0
  296. data/generated/google/apis/composer_v1/representations.rb +54 -0
  297. data/generated/google/apis/composer_v1.rb +1 -1
  298. data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
  299. data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
  300. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  301. data/generated/google/apis/composer_v1beta1.rb +1 -1
  302. data/generated/google/apis/compute_alpha/classes.rb +3252 -973
  303. data/generated/google/apis/compute_alpha/representations.rb +634 -69
  304. data/generated/google/apis/compute_alpha/service.rb +9085 -6210
  305. data/generated/google/apis/compute_alpha.rb +1 -1
  306. data/generated/google/apis/compute_beta/classes.rb +4787 -1066
  307. data/generated/google/apis/compute_beta/representations.rb +1394 -31
  308. data/generated/google/apis/compute_beta/service.rb +8858 -5018
  309. data/generated/google/apis/compute_beta.rb +1 -1
  310. data/generated/google/apis/compute_v1/classes.rb +2976 -599
  311. data/generated/google/apis/compute_v1/representations.rb +850 -0
  312. data/generated/google/apis/compute_v1/service.rb +4634 -2481
  313. data/generated/google/apis/compute_v1.rb +1 -1
  314. data/generated/google/apis/container_v1/classes.rb +925 -164
  315. data/generated/google/apis/container_v1/representations.rb +278 -0
  316. data/generated/google/apis/container_v1/service.rb +175 -158
  317. data/generated/google/apis/container_v1.rb +1 -1
  318. data/generated/google/apis/container_v1beta1/classes.rb +803 -340
  319. data/generated/google/apis/container_v1beta1/representations.rb +185 -39
  320. data/generated/google/apis/container_v1beta1/service.rb +294 -277
  321. data/generated/google/apis/container_v1beta1.rb +1 -1
  322. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
  323. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  324. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
  325. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  326. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  327. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  328. data/generated/google/apis/content_v2/classes.rb +1566 -634
  329. data/generated/google/apis/content_v2/representations.rb +78 -115
  330. data/generated/google/apis/content_v2/service.rb +81 -206
  331. data/generated/google/apis/content_v2.rb +1 -1
  332. data/generated/google/apis/content_v2_1/classes.rb +2706 -683
  333. data/generated/google/apis/content_v2_1/representations.rb +551 -0
  334. data/generated/google/apis/content_v2_1/service.rb +520 -46
  335. data/generated/google/apis/content_v2_1.rb +1 -1
  336. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  337. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  338. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  339. data/generated/google/apis/customsearch_v1.rb +3 -3
  340. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
  341. data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
  342. data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
  343. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
  344. data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
  345. data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
  346. data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
  347. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  348. data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
  349. data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
  350. data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
  351. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  352. data/generated/google/apis/dataproc_v1/classes.rb +533 -177
  353. data/generated/google/apis/dataproc_v1/representations.rb +85 -0
  354. data/generated/google/apis/dataproc_v1/service.rb +102 -36
  355. data/generated/google/apis/dataproc_v1.rb +1 -1
  356. data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
  357. data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
  358. data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
  359. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  360. data/generated/google/apis/datastore_v1/classes.rb +17 -23
  361. data/generated/google/apis/datastore_v1/service.rb +93 -9
  362. data/generated/google/apis/datastore_v1.rb +1 -1
  363. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  364. data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
  365. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  366. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  367. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  368. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  369. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  370. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  371. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  372. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  373. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  374. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  375. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  376. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  377. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  378. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  379. data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
  380. data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
  381. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  382. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
  383. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
  384. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
  385. data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
  386. data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
  387. data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
  388. data/generated/google/apis/dialogflow_v2/service.rb +849 -158
  389. data/generated/google/apis/dialogflow_v2.rb +1 -1
  390. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
  391. data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
  392. data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
  393. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  394. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  395. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  396. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  397. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  398. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  399. data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
  400. data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
  401. data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
  402. data/generated/google/apis/displayvideo_v1.rb +38 -0
  403. data/generated/google/apis/dlp_v2/classes.rb +798 -130
  404. data/generated/google/apis/dlp_v2/representations.rb +277 -3
  405. data/generated/google/apis/dlp_v2/service.rb +2074 -231
  406. data/generated/google/apis/dlp_v2.rb +1 -1
  407. data/generated/google/apis/dns_v1/classes.rb +220 -251
  408. data/generated/google/apis/dns_v1/representations.rb +49 -0
  409. data/generated/google/apis/dns_v1/service.rb +21 -141
  410. data/generated/google/apis/dns_v1.rb +1 -1
  411. data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
  412. data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
  413. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  414. data/generated/google/apis/dns_v1beta2.rb +1 -1
  415. data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
  416. data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
  417. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  418. data/generated/google/apis/dns_v2beta1.rb +1 -1
  419. data/generated/google/apis/docs_v1/classes.rb +608 -2
  420. data/generated/google/apis/docs_v1/representations.rb +211 -0
  421. data/generated/google/apis/docs_v1.rb +1 -1
  422. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  423. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  424. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  425. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
  426. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
  427. data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
  428. data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
  429. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  430. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  431. data/generated/google/apis/drive_v2/classes.rb +58 -5
  432. data/generated/google/apis/drive_v2/representations.rb +18 -0
  433. data/generated/google/apis/drive_v2/service.rb +92 -118
  434. data/generated/google/apis/drive_v2.rb +1 -1
  435. data/generated/google/apis/drive_v3/classes.rb +66 -5
  436. data/generated/google/apis/drive_v3/representations.rb +18 -0
  437. data/generated/google/apis/drive_v3/service.rb +46 -14
  438. data/generated/google/apis/drive_v3.rb +1 -1
  439. data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
  440. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  441. data/generated/google/apis/driveactivity_v2.rb +1 -1
  442. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  443. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  444. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  445. data/generated/google/apis/fcm_v1.rb +1 -1
  446. data/generated/google/apis/file_v1/classes.rb +1235 -158
  447. data/generated/google/apis/file_v1/representations.rb +401 -22
  448. data/generated/google/apis/file_v1/service.rb +14 -10
  449. data/generated/google/apis/file_v1.rb +1 -1
  450. data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
  451. data/generated/google/apis/file_v1beta1/representations.rb +401 -22
  452. data/generated/google/apis/file_v1beta1/service.rb +18 -11
  453. data/generated/google/apis/file_v1beta1.rb +1 -1
  454. data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
  455. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  456. data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
  457. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  458. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  459. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
  460. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
  461. data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
  462. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  464. data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
  465. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  466. data/generated/google/apis/firebaseml_v1.rb +34 -0
  467. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  468. data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
  469. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  470. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  471. data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
  472. data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
  473. data/generated/google/apis/firebaserules_v1.rb +1 -1
  474. data/generated/google/apis/firestore_v1/classes.rb +16 -5
  475. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  476. data/generated/google/apis/firestore_v1/service.rb +26 -24
  477. data/generated/google/apis/firestore_v1.rb +1 -1
  478. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
  479. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  480. data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
  481. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  482. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  483. data/generated/google/apis/fitness_v1/classes.rb +189 -153
  484. data/generated/google/apis/fitness_v1/service.rb +192 -198
  485. data/generated/google/apis/fitness_v1.rb +14 -14
  486. data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
  487. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  488. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  489. data/generated/google/apis/games_management_v1management/classes.rb +50 -109
  490. data/generated/google/apis/games_management_v1management/representations.rb +0 -30
  491. data/generated/google/apis/games_management_v1management/service.rb +116 -452
  492. data/generated/google/apis/games_management_v1management.rb +6 -4
  493. data/generated/google/apis/games_v1/classes.rb +14 -293
  494. data/generated/google/apis/games_v1/representations.rb +2 -98
  495. data/generated/google/apis/games_v1/service.rb +3 -135
  496. data/generated/google/apis/games_v1.rb +1 -1
  497. data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
  498. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  499. data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
  500. data/generated/google/apis/gameservices_v1beta.rb +34 -0
  501. data/generated/google/apis/genomics_v1.rb +1 -1
  502. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  503. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  504. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  505. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  506. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  507. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  508. data/generated/google/apis/gmail_v1/service.rb +1 -1
  509. data/generated/google/apis/gmail_v1.rb +13 -1
  510. data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
  511. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  512. data/generated/google/apis/healthcare_v1/service.rb +3439 -0
  513. data/generated/google/apis/healthcare_v1.rb +34 -0
  514. data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
  515. data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
  516. data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
  517. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  518. data/generated/google/apis/homegraph_v1/classes.rb +79 -56
  519. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  520. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  521. data/generated/google/apis/homegraph_v1.rb +1 -1
  522. data/generated/google/apis/iam_v1/classes.rb +201 -169
  523. data/generated/google/apis/iam_v1/representations.rb +1 -6
  524. data/generated/google/apis/iam_v1/service.rb +18 -21
  525. data/generated/google/apis/iam_v1.rb +1 -1
  526. data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
  527. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  528. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  529. data/generated/google/apis/iap_v1/classes.rb +691 -59
  530. data/generated/google/apis/iap_v1/representations.rb +254 -0
  531. data/generated/google/apis/iap_v1/service.rb +362 -0
  532. data/generated/google/apis/iap_v1.rb +1 -1
  533. data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
  534. data/generated/google/apis/iap_v1beta1.rb +1 -1
  535. data/generated/google/apis/indexing_v3.rb +1 -1
  536. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  537. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  538. data/generated/google/apis/jobs_v2.rb +1 -1
  539. data/generated/google/apis/jobs_v3/classes.rb +180 -0
  540. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  541. data/generated/google/apis/jobs_v3.rb +1 -1
  542. data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
  543. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  544. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  545. data/generated/google/apis/kgsearch_v1.rb +1 -1
  546. data/generated/google/apis/language_v1/classes.rb +6 -6
  547. data/generated/google/apis/language_v1.rb +1 -1
  548. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  549. data/generated/google/apis/language_v1beta1.rb +1 -1
  550. data/generated/google/apis/language_v1beta2/classes.rb +23 -7
  551. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  552. data/generated/google/apis/language_v1beta2.rb +1 -1
  553. data/generated/google/apis/libraryagent_v1.rb +1 -1
  554. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  555. data/generated/google/apis/licensing_v1/service.rb +81 -37
  556. data/generated/google/apis/licensing_v1.rb +4 -4
  557. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  558. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  559. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  560. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  561. data/generated/google/apis/logging_v2/classes.rb +292 -91
  562. data/generated/google/apis/logging_v2/representations.rb +51 -0
  563. data/generated/google/apis/logging_v2/service.rb +888 -15
  564. data/generated/google/apis/logging_v2.rb +6 -6
  565. data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
  566. data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
  567. data/generated/google/apis/managedidentities_v1/service.rb +779 -0
  568. data/generated/google/apis/managedidentities_v1.rb +35 -0
  569. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
  570. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
  571. data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
  572. data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
  573. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
  574. data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
  575. data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
  576. data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
  577. data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
  578. data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
  579. data/generated/google/apis/manufacturers_v1.rb +1 -1
  580. data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
  581. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  582. data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
  583. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  584. data/generated/google/apis/ml_v1/classes.rb +1518 -233
  585. data/generated/google/apis/ml_v1/representations.rb +559 -0
  586. data/generated/google/apis/ml_v1/service.rb +560 -25
  587. data/generated/google/apis/ml_v1.rb +5 -2
  588. data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
  589. data/generated/google/apis/monitoring_v1/representations.rb +513 -0
  590. data/generated/google/apis/monitoring_v1/service.rb +246 -0
  591. data/generated/google/apis/monitoring_v1.rb +47 -0
  592. data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
  593. data/generated/google/apis/monitoring_v3/representations.rb +482 -1
  594. data/generated/google/apis/monitoring_v3/service.rb +614 -162
  595. data/generated/google/apis/monitoring_v3.rb +7 -8
  596. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  597. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  598. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  599. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  600. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
  601. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
  602. data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
  603. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
  604. data/generated/google/apis/oauth2_v2/classes.rb +1 -81
  605. data/generated/google/apis/oauth2_v2/representations.rb +2 -36
  606. data/generated/google/apis/oauth2_v2/service.rb +10 -42
  607. data/generated/google/apis/oauth2_v2.rb +5 -5
  608. data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
  609. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  610. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  611. data/generated/google/apis/osconfig_v1.rb +35 -0
  612. data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
  613. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  614. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  615. data/generated/google/apis/osconfig_v1beta.rb +35 -0
  616. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  617. data/generated/google/apis/oslogin_v1/service.rb +10 -7
  618. data/generated/google/apis/oslogin_v1.rb +1 -2
  619. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  620. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  621. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  622. data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
  623. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  624. data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
  625. data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
  626. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  627. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  628. data/generated/google/apis/people_v1/classes.rb +104 -81
  629. data/generated/google/apis/people_v1/representations.rb +1 -0
  630. data/generated/google/apis/people_v1/service.rb +72 -79
  631. data/generated/google/apis/people_v1.rb +10 -1
  632. data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
  633. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  634. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  635. data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
  636. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
  637. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  638. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  639. data/generated/google/apis/poly_v1.rb +1 -1
  640. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
  641. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
  642. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
  643. data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
  644. data/generated/google/apis/pubsub_v1/classes.rb +248 -76
  645. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  646. data/generated/google/apis/pubsub_v1/service.rb +43 -31
  647. data/generated/google/apis/pubsub_v1.rb +1 -1
  648. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  649. data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
  650. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
  651. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  652. data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
  653. data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
  654. data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
  655. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  656. data/generated/google/apis/redis_v1/classes.rb +48 -18
  657. data/generated/google/apis/redis_v1/representations.rb +14 -0
  658. data/generated/google/apis/redis_v1/service.rb +41 -5
  659. data/generated/google/apis/redis_v1.rb +1 -1
  660. data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
  661. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  662. data/generated/google/apis/redis_v1beta1/service.rb +41 -5
  663. data/generated/google/apis/redis_v1beta1.rb +1 -1
  664. data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
  665. data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
  666. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  667. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
  668. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
  669. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  670. data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
  671. data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
  672. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  673. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  674. data/generated/google/apis/reseller_v1/service.rb +1 -1
  675. data/generated/google/apis/reseller_v1.rb +1 -1
  676. data/generated/google/apis/run_v1/classes.rb +308 -325
  677. data/generated/google/apis/run_v1/representations.rb +63 -103
  678. data/generated/google/apis/run_v1/service.rb +336 -933
  679. data/generated/google/apis/run_v1.rb +1 -1
  680. data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
  681. data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
  682. data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
  683. data/generated/google/apis/run_v1alpha1.rb +1 -1
  684. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  685. data/generated/google/apis/run_v1beta1.rb +4 -1
  686. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  687. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
  688. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  689. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  690. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  691. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  692. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
  693. data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
  694. data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
  695. data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
  696. data/generated/google/apis/script_v1/classes.rb +4 -22
  697. data/generated/google/apis/script_v1.rb +1 -1
  698. data/generated/google/apis/searchconsole_v1.rb +1 -1
  699. data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
  700. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
  701. data/generated/google/apis/secretmanager_v1/service.rb +681 -0
  702. data/generated/google/apis/secretmanager_v1.rb +35 -0
  703. data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
  704. data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
  705. data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
  706. data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
  707. data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
  708. data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
  709. data/generated/google/apis/securitycenter_v1/service.rb +225 -21
  710. data/generated/google/apis/securitycenter_v1.rb +4 -4
  711. data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
  712. data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
  713. data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
  714. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  715. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
  716. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
  717. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  718. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  719. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
  720. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
  721. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
  722. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  723. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
  724. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
  725. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  726. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
  727. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
  728. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  729. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
  730. data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
  731. data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
  732. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  733. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  734. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
  735. data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
  736. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  737. data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
  738. data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
  739. data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
  740. data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
  741. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  742. data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
  743. data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
  744. data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
  745. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  746. data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
  747. data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
  748. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  749. data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
  750. data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
  751. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  752. data/generated/google/apis/serviceusage_v1.rb +1 -1
  753. data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
  754. data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
  755. data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
  756. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  757. data/generated/google/apis/sheets_v4/classes.rb +1741 -253
  758. data/generated/google/apis/sheets_v4/representations.rb +283 -0
  759. data/generated/google/apis/sheets_v4/service.rb +9 -11
  760. data/generated/google/apis/sheets_v4.rb +1 -1
  761. data/generated/google/apis/slides_v1/classes.rb +1 -1
  762. data/generated/google/apis/slides_v1/service.rb +1 -1
  763. data/generated/google/apis/slides_v1.rb +1 -1
  764. data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
  765. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  766. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  767. data/generated/google/apis/spanner_v1/classes.rb +706 -71
  768. data/generated/google/apis/spanner_v1/representations.rb +194 -0
  769. data/generated/google/apis/spanner_v1/service.rb +770 -7
  770. data/generated/google/apis/spanner_v1.rb +1 -1
  771. data/generated/google/apis/speech_v1/classes.rb +15 -11
  772. data/generated/google/apis/speech_v1/representations.rb +2 -1
  773. data/generated/google/apis/speech_v1.rb +1 -1
  774. data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
  775. data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
  776. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  777. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
  778. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
  779. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  780. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  781. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
  782. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
  783. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
  784. data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
  785. data/generated/google/apis/storage_v1/classes.rb +73 -7
  786. data/generated/google/apis/storage_v1/representations.rb +10 -0
  787. data/generated/google/apis/storage_v1/service.rb +29 -4
  788. data/generated/google/apis/storage_v1.rb +1 -1
  789. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  790. data/generated/google/apis/storage_v1beta2.rb +1 -1
  791. data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
  792. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  793. data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
  794. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  795. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  796. data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
  797. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  798. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  799. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  800. data/generated/google/apis/tagmanager_v1.rb +1 -1
  801. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  802. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  803. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  804. data/generated/google/apis/tagmanager_v2.rb +1 -1
  805. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  806. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  807. data/generated/google/apis/tasks_v1/service.rb +78 -124
  808. data/generated/google/apis/tasks_v1.rb +3 -3
  809. data/generated/google/apis/testing_v1/classes.rb +187 -1
  810. data/generated/google/apis/testing_v1/representations.rb +93 -0
  811. data/generated/google/apis/testing_v1.rb +1 -1
  812. data/generated/google/apis/texttospeech_v1.rb +1 -1
  813. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  814. data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
  815. data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
  816. data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
  817. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  818. data/generated/google/apis/tpu_v1/classes.rb +3 -4
  819. data/generated/google/apis/tpu_v1.rb +1 -1
  820. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
  821. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  822. data/generated/google/apis/translate_v3/classes.rb +946 -0
  823. data/generated/google/apis/translate_v3/representations.rb +439 -0
  824. data/generated/google/apis/translate_v3/service.rb +781 -0
  825. data/generated/google/apis/translate_v3.rb +37 -0
  826. data/generated/google/apis/translate_v3beta1.rb +1 -1
  827. data/generated/google/apis/vault_v1/classes.rb +10 -7
  828. data/generated/google/apis/vault_v1/service.rb +7 -7
  829. data/generated/google/apis/vault_v1.rb +1 -1
  830. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  831. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  832. data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
  833. data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
  834. data/generated/google/apis/videointelligence_v1.rb +1 -1
  835. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
  836. data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
  837. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  838. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
  839. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
  840. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  841. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
  842. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
  843. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  844. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
  845. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
  846. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  847. data/generated/google/apis/vision_v1/classes.rb +67 -1
  848. data/generated/google/apis/vision_v1/representations.rb +32 -0
  849. data/generated/google/apis/vision_v1/service.rb +1 -1
  850. data/generated/google/apis/vision_v1.rb +1 -1
  851. data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
  852. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  853. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  854. data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
  855. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  856. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  857. data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
  858. data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
  859. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  860. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  861. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  862. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  863. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  864. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
  865. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
  866. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  867. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  868. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  869. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  870. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  871. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  872. data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
  873. data/generated/google/apis/youtube_v3/representations.rb +99 -191
  874. data/generated/google/apis/youtube_v3/service.rb +1829 -2150
  875. data/generated/google/apis/youtube_v3.rb +8 -5
  876. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  877. data/google-api-client.gemspec +6 -3
  878. data/lib/google/apis/core/api_command.rb +7 -0
  879. data/lib/google/apis/core/base_service.rb +1 -1
  880. data/lib/google/apis/core/http_command.rb +11 -10
  881. data/lib/google/apis/core/upload.rb +4 -0
  882. data/lib/google/apis/generator/annotator.rb +1 -1
  883. data/lib/google/apis/version.rb +9 -4
  884. data/rakelib/devsite/devsite_builder.rb +126 -0
  885. data/rakelib/devsite/link_checker.rb +64 -0
  886. data/rakelib/devsite/repo_metadata.rb +56 -0
  887. metadata +193 -110
  888. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  889. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  890. data/generated/google/apis/analytics_v2_4.rb +0 -37
  891. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  892. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  893. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  894. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
  895. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  896. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  897. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  898. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  899. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  900. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  901. data/generated/google/apis/fusiontables_v1.rb +0 -37
  902. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  903. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  904. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
  905. data/generated/google/apis/fusiontables_v2.rb +0 -37
  906. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  907. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  908. data/generated/google/apis/mirror_v1/service.rb +0 -928
  909. data/generated/google/apis/mirror_v1.rb +0 -37
  910. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  911. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  912. data/generated/google/apis/oauth2_v1.rb +0 -40
  913. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  914. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  915. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  916. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  917. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  918. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  919. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  920. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  921. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
  922. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  923. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  924. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  925. data/generated/google/apis/plus_domains_v1.rb +0 -55
  926. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  927. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  928. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
  929. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  930. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  931. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  932. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  933. data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
  934. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  935. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
  936. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  937. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
  938. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
  939. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  940. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  941. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  942. data/generated/google/apis/storage_v1beta1.rb +0 -40
  943. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  944. data/generated/google/apis/surveys_v2.rb +0 -40
  945. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  946. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  947. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
  948. data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -22,7 +22,7 @@ module Google
22
22
  module BooksV1
23
23
  # Books API
24
24
  #
25
- # Searches for books and manages your Google Books library.
25
+ # The Google Books API allows clients to access the Google Books repository.
26
26
  #
27
27
  # @example
28
28
  # require 'google/apis/books_v1'
@@ -30,7 +30,7 @@ module Google
30
30
  # Books = Google::Apis::BooksV1 # Alias the module
31
31
  # service = Books::BooksService.new
32
32
  #
33
- # @see https://developers.google.com/books/docs/v1/getting_started
33
+ # @see https://code.google.com/apis/books/docs/v1/getting_started.html
34
34
  class BooksService < Google::Apis::Core::BaseService
35
35
  # @return [String]
36
36
  # API key. Your API key identifies your project and provides you with API access,
@@ -38,17 +38,13 @@ module Google
38
38
  attr_accessor :key
39
39
 
40
40
  # @return [String]
41
- # An opaque string that represents a user for quota purposes. Must not exceed 40
42
- # 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.
43
43
  attr_accessor :quota_user
44
44
 
45
- # @return [String]
46
- # Deprecated. Please use quotaUser instead.
47
- attr_accessor :user_ip
48
-
49
45
  def initialize
50
- super('https://www.googleapis.com/', 'books/v1/')
51
- @batch_path = 'batch/books/v1'
46
+ super('https://books.googleapis.com/', '')
47
+ @batch_path = 'batch'
52
48
  end
53
49
 
54
50
  # Retrieves metadata for a specific bookshelf for the specified user.
@@ -61,10 +57,8 @@ module Google
61
57
  # @param [String] fields
62
58
  # Selector specifying which fields to include in a partial response.
63
59
  # @param [String] quota_user
64
- # An opaque string that represents a user for quota purposes. Must not exceed 40
65
- # characters.
66
- # @param [String] user_ip
67
- # Deprecated. Please use quotaUser instead.
60
+ # Available to use for quota purposes for server-side applications. Can be any
61
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
68
62
  # @param [Google::Apis::RequestOptions] options
69
63
  # Request-specific options
70
64
  #
@@ -77,8 +71,8 @@ module Google
77
71
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
72
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
73
  # @raise [Google::Apis::AuthorizationError] Authorization is required
80
- def get_bookshelf(user_id, shelf, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
81
- command = make_simple_command(:get, 'users/{userId}/bookshelves/{shelf}', options)
74
+ def get_bookshelf(user_id, shelf, source: nil, fields: nil, quota_user: nil, options: nil, &block)
75
+ command = make_simple_command(:get, 'books/v1/users/{userId}/bookshelves/{shelf}', options)
82
76
  command.response_representation = Google::Apis::BooksV1::Bookshelf::Representation
83
77
  command.response_class = Google::Apis::BooksV1::Bookshelf
84
78
  command.params['userId'] = user_id unless user_id.nil?
@@ -86,7 +80,6 @@ module Google
86
80
  command.query['source'] = source unless source.nil?
87
81
  command.query['fields'] = fields unless fields.nil?
88
82
  command.query['quotaUser'] = quota_user unless quota_user.nil?
89
- command.query['userIp'] = user_ip unless user_ip.nil?
90
83
  execute_or_queue_command(command, &block)
91
84
  end
92
85
 
@@ -98,10 +91,8 @@ module Google
98
91
  # @param [String] fields
99
92
  # Selector specifying which fields to include in a partial response.
100
93
  # @param [String] quota_user
101
- # An opaque string that represents a user for quota purposes. Must not exceed 40
102
- # characters.
103
- # @param [String] user_ip
104
- # Deprecated. Please use quotaUser instead.
94
+ # Available to use for quota purposes for server-side applications. Can be any
95
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
105
96
  # @param [Google::Apis::RequestOptions] options
106
97
  # Request-specific options
107
98
  #
@@ -114,15 +105,14 @@ module Google
114
105
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
115
106
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
116
107
  # @raise [Google::Apis::AuthorizationError] Authorization is required
117
- def list_bookshelves(user_id, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
118
- command = make_simple_command(:get, 'users/{userId}/bookshelves', options)
108
+ def list_bookshelves(user_id, source: nil, fields: nil, quota_user: nil, options: nil, &block)
109
+ command = make_simple_command(:get, 'books/v1/users/{userId}/bookshelves', options)
119
110
  command.response_representation = Google::Apis::BooksV1::Bookshelves::Representation
120
111
  command.response_class = Google::Apis::BooksV1::Bookshelves
121
112
  command.params['userId'] = user_id unless user_id.nil?
122
113
  command.query['source'] = source unless source.nil?
123
114
  command.query['fields'] = fields unless fields.nil?
124
115
  command.query['quotaUser'] = quota_user unless quota_user.nil?
125
- command.query['userIp'] = user_ip unless user_ip.nil?
126
116
  execute_or_queue_command(command, &block)
127
117
  end
128
118
 
@@ -142,10 +132,8 @@ module Google
142
132
  # @param [String] fields
143
133
  # Selector specifying which fields to include in a partial response.
144
134
  # @param [String] quota_user
145
- # An opaque string that represents a user for quota purposes. Must not exceed 40
146
- # characters.
147
- # @param [String] user_ip
148
- # Deprecated. Please use quotaUser instead.
135
+ # Available to use for quota purposes for server-side applications. Can be any
136
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
149
137
  # @param [Google::Apis::RequestOptions] options
150
138
  # Request-specific options
151
139
  #
@@ -158,8 +146,8 @@ module Google
158
146
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
159
147
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
160
148
  # @raise [Google::Apis::AuthorizationError] Authorization is required
161
- def list_bookshelf_volumes(user_id, shelf, max_results: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
162
- command = make_simple_command(:get, 'users/{userId}/bookshelves/{shelf}/volumes', options)
149
+ def list_bookshelf_volumes(user_id, shelf, max_results: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, options: nil, &block)
150
+ command = make_simple_command(:get, 'books/v1/users/{userId}/bookshelves/{shelf}/volumes', options)
163
151
  command.response_representation = Google::Apis::BooksV1::Volumes::Representation
164
152
  command.response_class = Google::Apis::BooksV1::Volumes
165
153
  command.params['userId'] = user_id unless user_id.nil?
@@ -170,11 +158,10 @@ module Google
170
158
  command.query['startIndex'] = start_index unless start_index.nil?
171
159
  command.query['fields'] = fields unless fields.nil?
172
160
  command.query['quotaUser'] = quota_user unless quota_user.nil?
173
- command.query['userIp'] = user_ip unless user_ip.nil?
174
161
  execute_or_queue_command(command, &block)
175
162
  end
176
163
 
177
- #
164
+ # Add a user-upload volume and triggers processing.
178
165
  # @param [String] drive_document_id
179
166
  # A drive document id. The upload_client_token must not be set.
180
167
  # @param [String] mime_type
@@ -182,13 +169,12 @@ module Google
182
169
  # @param [String] name
183
170
  # The document name. It can be set only if the drive_document_id is set.
184
171
  # @param [String] upload_client_token
172
+ # Scotty upload token.
185
173
  # @param [String] fields
186
174
  # Selector specifying which fields to include in a partial response.
187
175
  # @param [String] quota_user
188
- # An opaque string that represents a user for quota purposes. Must not exceed 40
189
- # characters.
190
- # @param [String] user_ip
191
- # Deprecated. Please use quotaUser instead.
176
+ # Available to use for quota purposes for server-side applications. Can be any
177
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
192
178
  # @param [Google::Apis::RequestOptions] options
193
179
  # Request-specific options
194
180
  #
@@ -201,8 +187,8 @@ module Google
201
187
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
202
188
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
203
189
  # @raise [Google::Apis::AuthorizationError] Authorization is required
204
- def add_book(drive_document_id: nil, mime_type: nil, name: nil, upload_client_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
205
- command = make_simple_command(:post, 'cloudloading/addBook', options)
190
+ def add_book(drive_document_id: nil, mime_type: nil, name: nil, upload_client_token: nil, fields: nil, quota_user: nil, options: nil, &block)
191
+ command = make_simple_command(:post, 'books/v1/cloudloading/addBook', options)
206
192
  command.response_representation = Google::Apis::BooksV1::LoadingResource::Representation
207
193
  command.response_class = Google::Apis::BooksV1::LoadingResource
208
194
  command.query['drive_document_id'] = drive_document_id unless drive_document_id.nil?
@@ -211,7 +197,6 @@ module Google
211
197
  command.query['upload_client_token'] = upload_client_token unless upload_client_token.nil?
212
198
  command.query['fields'] = fields unless fields.nil?
213
199
  command.query['quotaUser'] = quota_user unless quota_user.nil?
214
- command.query['userIp'] = user_ip unless user_ip.nil?
215
200
  execute_or_queue_command(command, &block)
216
201
  end
217
202
 
@@ -221,40 +206,37 @@ module Google
221
206
  # @param [String] fields
222
207
  # Selector specifying which fields to include in a partial response.
223
208
  # @param [String] quota_user
224
- # An opaque string that represents a user for quota purposes. Must not exceed 40
225
- # characters.
226
- # @param [String] user_ip
227
- # Deprecated. Please use quotaUser instead.
209
+ # Available to use for quota purposes for server-side applications. Can be any
210
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
228
211
  # @param [Google::Apis::RequestOptions] options
229
212
  # Request-specific options
230
213
  #
231
214
  # @yield [result, err] Result & error if block supplied
232
- # @yieldparam result [NilClass] No result returned for this method
215
+ # @yieldparam result [Google::Apis::BooksV1::Empty] parsed result object
233
216
  # @yieldparam err [StandardError] error object if request failed
234
217
  #
235
- # @return [void]
218
+ # @return [Google::Apis::BooksV1::Empty]
236
219
  #
237
220
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
238
221
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
239
222
  # @raise [Google::Apis::AuthorizationError] Authorization is required
240
- def delete_book(volume_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
241
- command = make_simple_command(:post, 'cloudloading/deleteBook', options)
223
+ def delete_book(volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
224
+ command = make_simple_command(:post, 'books/v1/cloudloading/deleteBook', options)
225
+ command.response_representation = Google::Apis::BooksV1::Empty::Representation
226
+ command.response_class = Google::Apis::BooksV1::Empty
242
227
  command.query['volumeId'] = volume_id unless volume_id.nil?
243
228
  command.query['fields'] = fields unless fields.nil?
244
229
  command.query['quotaUser'] = quota_user unless quota_user.nil?
245
- command.query['userIp'] = user_ip unless user_ip.nil?
246
230
  execute_or_queue_command(command, &block)
247
231
  end
248
232
 
249
- #
233
+ # Updates a user-upload volume.
250
234
  # @param [Google::Apis::BooksV1::LoadingResource] loading_resource_object
251
235
  # @param [String] fields
252
236
  # Selector specifying which fields to include in a partial response.
253
237
  # @param [String] quota_user
254
- # An opaque string that represents a user for quota purposes. Must not exceed 40
255
- # characters.
256
- # @param [String] user_ip
257
- # Deprecated. Please use quotaUser instead.
238
+ # Available to use for quota purposes for server-side applications. Can be any
239
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
258
240
  # @param [Google::Apis::RequestOptions] options
259
241
  # Request-specific options
260
242
  #
@@ -267,15 +249,14 @@ module Google
267
249
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
268
250
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
269
251
  # @raise [Google::Apis::AuthorizationError] Authorization is required
270
- def update_book(loading_resource_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
271
- command = make_simple_command(:post, 'cloudloading/updateBook', options)
252
+ def update_book(loading_resource_object = nil, fields: nil, quota_user: nil, options: nil, &block)
253
+ command = make_simple_command(:post, 'books/v1/cloudloading/updateBook', options)
272
254
  command.request_representation = Google::Apis::BooksV1::LoadingResource::Representation
273
255
  command.request_object = loading_resource_object
274
256
  command.response_representation = Google::Apis::BooksV1::LoadingResource::Representation
275
257
  command.response_class = Google::Apis::BooksV1::LoadingResource
276
258
  command.query['fields'] = fields unless fields.nil?
277
259
  command.query['quotaUser'] = quota_user unless quota_user.nil?
278
- command.query['userIp'] = user_ip unless user_ip.nil?
279
260
  execute_or_queue_command(command, &block)
280
261
  end
281
262
 
@@ -285,10 +266,8 @@ module Google
285
266
  # @param [String] fields
286
267
  # Selector specifying which fields to include in a partial response.
287
268
  # @param [String] quota_user
288
- # An opaque string that represents a user for quota purposes. Must not exceed 40
289
- # characters.
290
- # @param [String] user_ip
291
- # Deprecated. Please use quotaUser instead.
269
+ # Available to use for quota purposes for server-side applications. Can be any
270
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
292
271
  # @param [Google::Apis::RequestOptions] options
293
272
  # Request-specific options
294
273
  #
@@ -301,14 +280,13 @@ module Google
301
280
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
302
281
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
303
282
  # @raise [Google::Apis::AuthorizationError] Authorization is required
304
- def list_offline_metadata_dictionary(cpksver, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
305
- command = make_simple_command(:get, 'dictionary/listOfflineMetadata', options)
283
+ def list_offline_metadata_dictionary(cpksver: nil, fields: nil, quota_user: nil, options: nil, &block)
284
+ command = make_simple_command(:get, 'books/v1/dictionary/listOfflineMetadata', options)
306
285
  command.response_representation = Google::Apis::BooksV1::Metadata::Representation
307
286
  command.response_class = Google::Apis::BooksV1::Metadata
308
287
  command.query['cpksver'] = cpksver unless cpksver.nil?
309
288
  command.query['fields'] = fields unless fields.nil?
310
289
  command.query['quotaUser'] = quota_user unless quota_user.nil?
311
- command.query['userIp'] = user_ip unless user_ip.nil?
312
290
  execute_or_queue_command(command, &block)
313
291
  end
314
292
 
@@ -318,10 +296,8 @@ module Google
318
296
  # @param [String] fields
319
297
  # Selector specifying which fields to include in a partial response.
320
298
  # @param [String] quota_user
321
- # An opaque string that represents a user for quota purposes. Must not exceed 40
322
- # characters.
323
- # @param [String] user_ip
324
- # Deprecated. Please use quotaUser instead.
299
+ # Available to use for quota purposes for server-side applications. Can be any
300
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
325
301
  # @param [Google::Apis::RequestOptions] options
326
302
  # Request-specific options
327
303
  #
@@ -334,14 +310,13 @@ module Google
334
310
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
335
311
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
336
312
  # @raise [Google::Apis::AuthorizationError] Authorization is required
337
- def get_familysharing_family_info(source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
338
- command = make_simple_command(:get, 'familysharing/getFamilyInfo', options)
313
+ def get_familysharing_family_info(source: nil, fields: nil, quota_user: nil, options: nil, &block)
314
+ command = make_simple_command(:get, 'books/v1/familysharing/getFamilyInfo', options)
339
315
  command.response_representation = Google::Apis::BooksV1::FamilyInfo::Representation
340
316
  command.response_class = Google::Apis::BooksV1::FamilyInfo
341
317
  command.query['source'] = source unless source.nil?
342
318
  command.query['fields'] = fields unless fields.nil?
343
319
  command.query['quotaUser'] = quota_user unless quota_user.nil?
344
- command.query['userIp'] = user_ip unless user_ip.nil?
345
320
  execute_or_queue_command(command, &block)
346
321
  end
347
322
 
@@ -356,35 +331,34 @@ module Google
356
331
  # @param [String] fields
357
332
  # Selector specifying which fields to include in a partial response.
358
333
  # @param [String] quota_user
359
- # An opaque string that represents a user for quota purposes. Must not exceed 40
360
- # characters.
361
- # @param [String] user_ip
362
- # Deprecated. Please use quotaUser instead.
334
+ # Available to use for quota purposes for server-side applications. Can be any
335
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
363
336
  # @param [Google::Apis::RequestOptions] options
364
337
  # Request-specific options
365
338
  #
366
339
  # @yield [result, err] Result & error if block supplied
367
- # @yieldparam result [NilClass] No result returned for this method
340
+ # @yieldparam result [Google::Apis::BooksV1::Empty] parsed result object
368
341
  # @yieldparam err [StandardError] error object if request failed
369
342
  #
370
- # @return [void]
343
+ # @return [Google::Apis::BooksV1::Empty]
371
344
  #
372
345
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
373
346
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
374
347
  # @raise [Google::Apis::AuthorizationError] Authorization is required
375
- def share_familysharing(doc_id: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
376
- command = make_simple_command(:post, 'familysharing/share', options)
348
+ def share_familysharing(doc_id: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
349
+ command = make_simple_command(:post, 'books/v1/familysharing/share', options)
350
+ command.response_representation = Google::Apis::BooksV1::Empty::Representation
351
+ command.response_class = Google::Apis::BooksV1::Empty
377
352
  command.query['docId'] = doc_id unless doc_id.nil?
378
353
  command.query['source'] = source unless source.nil?
379
354
  command.query['volumeId'] = volume_id unless volume_id.nil?
380
355
  command.query['fields'] = fields unless fields.nil?
381
356
  command.query['quotaUser'] = quota_user unless quota_user.nil?
382
- command.query['userIp'] = user_ip unless user_ip.nil?
383
357
  execute_or_queue_command(command, &block)
384
358
  end
385
359
 
386
- # Initiates revoking content that has already been shared with the user's family.
387
- # Empty response indicates success.
360
+ # Initiates revoking content that has already been shared with the user's
361
+ # family. Empty response indicates success.
388
362
  # @param [String] doc_id
389
363
  # The docid to unshare.
390
364
  # @param [String] source
@@ -394,30 +368,29 @@ module Google
394
368
  # @param [String] fields
395
369
  # Selector specifying which fields to include in a partial response.
396
370
  # @param [String] quota_user
397
- # An opaque string that represents a user for quota purposes. Must not exceed 40
398
- # characters.
399
- # @param [String] user_ip
400
- # Deprecated. Please use quotaUser instead.
371
+ # Available to use for quota purposes for server-side applications. Can be any
372
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
401
373
  # @param [Google::Apis::RequestOptions] options
402
374
  # Request-specific options
403
375
  #
404
376
  # @yield [result, err] Result & error if block supplied
405
- # @yieldparam result [NilClass] No result returned for this method
377
+ # @yieldparam result [Google::Apis::BooksV1::Empty] parsed result object
406
378
  # @yieldparam err [StandardError] error object if request failed
407
379
  #
408
- # @return [void]
380
+ # @return [Google::Apis::BooksV1::Empty]
409
381
  #
410
382
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
411
383
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
412
384
  # @raise [Google::Apis::AuthorizationError] Authorization is required
413
- def unshare_familysharing(doc_id: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
414
- command = make_simple_command(:post, 'familysharing/unshare', options)
385
+ def unshare_familysharing(doc_id: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
386
+ command = make_simple_command(:post, 'books/v1/familysharing/unshare', options)
387
+ command.response_representation = Google::Apis::BooksV1::Empty::Representation
388
+ command.response_class = Google::Apis::BooksV1::Empty
415
389
  command.query['docId'] = doc_id unless doc_id.nil?
416
390
  command.query['source'] = source unless source.nil?
417
391
  command.query['volumeId'] = volume_id unless volume_id.nil?
418
392
  command.query['fields'] = fields unless fields.nil?
419
393
  command.query['quotaUser'] = quota_user unless quota_user.nil?
420
- command.query['userIp'] = user_ip unless user_ip.nil?
421
394
  execute_or_queue_command(command, &block)
422
395
  end
423
396
 
@@ -433,10 +406,8 @@ module Google
433
406
  # @param [String] fields
434
407
  # Selector specifying which fields to include in a partial response.
435
408
  # @param [String] quota_user
436
- # An opaque string that represents a user for quota purposes. Must not exceed 40
437
- # characters.
438
- # @param [String] user_ip
439
- # Deprecated. Please use quotaUser instead.
409
+ # Available to use for quota purposes for server-side applications. Can be any
410
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
440
411
  # @param [Google::Apis::RequestOptions] options
441
412
  # Request-specific options
442
413
  #
@@ -449,8 +420,8 @@ module Google
449
420
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
450
421
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
451
422
  # @raise [Google::Apis::AuthorizationError] Authorization is required
452
- def get_layer(volume_id, summary_id, content_version: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
453
- command = make_simple_command(:get, 'volumes/{volumeId}/layersummary/{summaryId}', options)
423
+ def get_layer(volume_id, summary_id, content_version: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
424
+ command = make_simple_command(:get, 'books/v1/volumes/{volumeId}/layersummary/{summaryId}', options)
454
425
  command.response_representation = Google::Apis::BooksV1::LayerSummary::Representation
455
426
  command.response_class = Google::Apis::BooksV1::LayerSummary
456
427
  command.params['volumeId'] = volume_id unless volume_id.nil?
@@ -459,7 +430,6 @@ module Google
459
430
  command.query['source'] = source unless source.nil?
460
431
  command.query['fields'] = fields unless fields.nil?
461
432
  command.query['quotaUser'] = quota_user unless quota_user.nil?
462
- command.query['userIp'] = user_ip unless user_ip.nil?
463
433
  execute_or_queue_command(command, &block)
464
434
  end
465
435
 
@@ -477,10 +447,8 @@ module Google
477
447
  # @param [String] fields
478
448
  # Selector specifying which fields to include in a partial response.
479
449
  # @param [String] quota_user
480
- # An opaque string that represents a user for quota purposes. Must not exceed 40
481
- # characters.
482
- # @param [String] user_ip
483
- # Deprecated. Please use quotaUser instead.
450
+ # Available to use for quota purposes for server-side applications. Can be any
451
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
484
452
  # @param [Google::Apis::RequestOptions] options
485
453
  # Request-specific options
486
454
  #
@@ -493,8 +461,8 @@ module Google
493
461
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
494
462
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
495
463
  # @raise [Google::Apis::AuthorizationError] Authorization is required
496
- def list_layers(volume_id, content_version: nil, max_results: nil, page_token: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
497
- command = make_simple_command(:get, 'volumes/{volumeId}/layersummary', options)
464
+ def list_layers(volume_id, content_version: nil, max_results: nil, page_token: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
465
+ command = make_simple_command(:get, 'books/v1/volumes/{volumeId}/layersummary', options)
498
466
  command.response_representation = Google::Apis::BooksV1::LayerSummaries::Representation
499
467
  command.response_class = Google::Apis::BooksV1::LayerSummaries
500
468
  command.params['volumeId'] = volume_id unless volume_id.nil?
@@ -504,7 +472,6 @@ module Google
504
472
  command.query['source'] = source unless source.nil?
505
473
  command.query['fields'] = fields unless fields.nil?
506
474
  command.query['quotaUser'] = quota_user unless quota_user.nil?
507
- command.query['userIp'] = user_ip unless user_ip.nil?
508
475
  execute_or_queue_command(command, &block)
509
476
  end
510
477
 
@@ -515,16 +482,16 @@ module Google
515
482
  # The ID for the layer to get the annotations.
516
483
  # @param [String] annotation_data_id
517
484
  # The ID of the annotation data to retrieve.
518
- # @param [String] content_version
519
- # The content version for the volume you are trying to retrieve.
520
485
  # @param [Boolean] allow_web_definitions
521
486
  # For the dictionary layer. Whether or not to allow web definitions.
487
+ # @param [String] content_version
488
+ # The content version for the volume you are trying to retrieve.
522
489
  # @param [Fixnum] h
523
490
  # The requested pixel height for any images. If height is provided width must
524
491
  # also be provided.
525
492
  # @param [String] locale
526
- # The locale information for the data. ISO-639-1 language and ISO-3166-1 country
527
- # code. Ex: 'en_US'.
493
+ # The locale information for the data. ISO-639-1 language and ISO-3166-1
494
+ # country code. Ex: 'en_US'.
528
495
  # @param [Fixnum] scale
529
496
  # The requested scale for the image.
530
497
  # @param [String] source
@@ -535,26 +502,24 @@ module Google
535
502
  # @param [String] fields
536
503
  # Selector specifying which fields to include in a partial response.
537
504
  # @param [String] quota_user
538
- # An opaque string that represents a user for quota purposes. Must not exceed 40
539
- # characters.
540
- # @param [String] user_ip
541
- # Deprecated. Please use quotaUser instead.
505
+ # Available to use for quota purposes for server-side applications. Can be any
506
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
542
507
  # @param [Google::Apis::RequestOptions] options
543
508
  # Request-specific options
544
509
  #
545
510
  # @yield [result, err] Result & error if block supplied
546
- # @yieldparam result [Google::Apis::BooksV1::AnnotationData] parsed result object
511
+ # @yieldparam result [Google::Apis::BooksV1::DictionaryAnnotationdata] parsed result object
547
512
  # @yieldparam err [StandardError] error object if request failed
548
513
  #
549
- # @return [Google::Apis::BooksV1::AnnotationData]
514
+ # @return [Google::Apis::BooksV1::DictionaryAnnotationdata]
550
515
  #
551
516
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
552
517
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
553
518
  # @raise [Google::Apis::AuthorizationError] Authorization is required
554
- def get_layer_annotation_data(volume_id, layer_id, annotation_data_id, content_version, allow_web_definitions: nil, h: nil, locale: nil, scale: nil, source: nil, w: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
555
- command = make_simple_command(:get, 'volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}', options)
556
- command.response_representation = Google::Apis::BooksV1::AnnotationData::Representation
557
- command.response_class = Google::Apis::BooksV1::AnnotationData
519
+ def get_layer_annotation_data(volume_id, layer_id, annotation_data_id, allow_web_definitions: nil, content_version: nil, h: nil, locale: nil, scale: nil, source: nil, w: nil, fields: nil, quota_user: nil, options: nil, &block)
520
+ command = make_simple_command(:get, 'books/v1/volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}', options)
521
+ command.response_representation = Google::Apis::BooksV1::DictionaryAnnotationdata::Representation
522
+ command.response_class = Google::Apis::BooksV1::DictionaryAnnotationdata
558
523
  command.params['volumeId'] = volume_id unless volume_id.nil?
559
524
  command.params['layerId'] = layer_id unless layer_id.nil?
560
525
  command.params['annotationDataId'] = annotation_data_id unless annotation_data_id.nil?
@@ -567,7 +532,6 @@ module Google
567
532
  command.query['w'] = w unless w.nil?
568
533
  command.query['fields'] = fields unless fields.nil?
569
534
  command.query['quotaUser'] = quota_user unless quota_user.nil?
570
- command.query['userIp'] = user_ip unless user_ip.nil?
571
535
  execute_or_queue_command(command, &block)
572
536
  end
573
537
 
@@ -576,17 +540,17 @@ module Google
576
540
  # The volume to retrieve annotation data for.
577
541
  # @param [String] layer_id
578
542
  # The ID for the layer to get the annotation data.
543
+ # @param [Array<String>, String] annotation_data_id
544
+ # The list of Annotation Data Ids to retrieve. Pagination is ignored if this
545
+ # is set.
579
546
  # @param [String] content_version
580
547
  # The content version for the requested volume.
581
- # @param [Array<String>, String] annotation_data_id
582
- # The list of Annotation Data Ids to retrieve. Pagination is ignored if this is
583
- # set.
584
548
  # @param [Fixnum] h
585
549
  # The requested pixel height for any images. If height is provided width must
586
550
  # also be provided.
587
551
  # @param [String] locale
588
- # The locale information for the data. ISO-639-1 language and ISO-3166-1 country
589
- # code. Ex: 'en_US'.
552
+ # The locale information for the data. ISO-639-1 language and ISO-3166-1
553
+ # country code. Ex: 'en_US'.
590
554
  # @param [Fixnum] max_results
591
555
  # Maximum number of results to return
592
556
  # @param [String] page_token
@@ -596,21 +560,19 @@ module Google
596
560
  # @param [String] source
597
561
  # String to identify the originator of this request.
598
562
  # @param [String] updated_max
599
- # RFC 3339 timestamp to restrict to items updated prior to this timestamp (
600
- # exclusive).
563
+ # RFC 3339 timestamp to restrict to items updated prior to this timestamp
564
+ # (exclusive).
601
565
  # @param [String] updated_min
602
- # RFC 3339 timestamp to restrict to items updated since this timestamp (
603
- # inclusive).
566
+ # RFC 3339 timestamp to restrict to items updated since this timestamp
567
+ # (inclusive).
604
568
  # @param [Fixnum] w
605
569
  # The requested pixel width for any images. If width is provided height must
606
570
  # also be provided.
607
571
  # @param [String] fields
608
572
  # Selector specifying which fields to include in a partial response.
609
573
  # @param [String] quota_user
610
- # An opaque string that represents a user for quota purposes. Must not exceed 40
611
- # characters.
612
- # @param [String] user_ip
613
- # Deprecated. Please use quotaUser instead.
574
+ # Available to use for quota purposes for server-side applications. Can be any
575
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
614
576
  # @param [Google::Apis::RequestOptions] options
615
577
  # Request-specific options
616
578
  #
@@ -623,8 +585,8 @@ module Google
623
585
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
624
586
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
625
587
  # @raise [Google::Apis::AuthorizationError] Authorization is required
626
- def list_layer_annotation_data(volume_id, layer_id, content_version, annotation_data_id: nil, h: nil, locale: nil, max_results: nil, page_token: nil, scale: nil, source: nil, updated_max: nil, updated_min: nil, w: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
627
- command = make_simple_command(:get, 'volumes/{volumeId}/layers/{layerId}/data', options)
588
+ def list_layer_annotation_data(volume_id, layer_id, annotation_data_id: nil, content_version: nil, h: nil, locale: nil, max_results: nil, page_token: nil, scale: nil, source: nil, updated_max: nil, updated_min: nil, w: nil, fields: nil, quota_user: nil, options: nil, &block)
589
+ command = make_simple_command(:get, 'books/v1/volumes/{volumeId}/layers/{layerId}/data', options)
628
590
  command.response_representation = Google::Apis::BooksV1::AnnotationsData::Representation
629
591
  command.response_class = Google::Apis::BooksV1::AnnotationsData
630
592
  command.params['volumeId'] = volume_id unless volume_id.nil?
@@ -642,7 +604,6 @@ module Google
642
604
  command.query['w'] = w unless w.nil?
643
605
  command.query['fields'] = fields unless fields.nil?
644
606
  command.query['quotaUser'] = quota_user unless quota_user.nil?
645
- command.query['userIp'] = user_ip unless user_ip.nil?
646
607
  execute_or_queue_command(command, &block)
647
608
  end
648
609
 
@@ -654,17 +615,15 @@ module Google
654
615
  # @param [String] annotation_id
655
616
  # The ID of the volume annotation to retrieve.
656
617
  # @param [String] locale
657
- # The locale information for the data. ISO-639-1 language and ISO-3166-1 country
658
- # code. Ex: 'en_US'.
618
+ # The locale information for the data. ISO-639-1 language and ISO-3166-1
619
+ # country code. Ex: 'en_US'.
659
620
  # @param [String] source
660
621
  # String to identify the originator of this request.
661
622
  # @param [String] fields
662
623
  # Selector specifying which fields to include in a partial response.
663
624
  # @param [String] quota_user
664
- # An opaque string that represents a user for quota purposes. Must not exceed 40
665
- # characters.
666
- # @param [String] user_ip
667
- # Deprecated. Please use quotaUser instead.
625
+ # Available to use for quota purposes for server-side applications. Can be any
626
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
668
627
  # @param [Google::Apis::RequestOptions] options
669
628
  # Request-specific options
670
629
  #
@@ -677,8 +636,8 @@ module Google
677
636
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
678
637
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
679
638
  # @raise [Google::Apis::AuthorizationError] Authorization is required
680
- def get_layer_volume_annotation(volume_id, layer_id, annotation_id, locale: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
681
- command = make_simple_command(:get, 'volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}', options)
639
+ def get_layer_volume_annotation(volume_id, layer_id, annotation_id, locale: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
640
+ command = make_simple_command(:get, 'books/v1/volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}', options)
682
641
  command.response_representation = Google::Apis::BooksV1::VolumeAnnotation::Representation
683
642
  command.response_class = Google::Apis::BooksV1::VolumeAnnotation
684
643
  command.params['volumeId'] = volume_id unless volume_id.nil?
@@ -688,7 +647,6 @@ module Google
688
647
  command.query['source'] = source unless source.nil?
689
648
  command.query['fields'] = fields unless fields.nil?
690
649
  command.query['quotaUser'] = quota_user unless quota_user.nil?
691
- command.query['userIp'] = user_ip unless user_ip.nil?
692
650
  execute_or_queue_command(command, &block)
693
651
  end
694
652
 
@@ -704,15 +662,15 @@ module Google
704
662
  # @param [String] end_position
705
663
  # The end position to end retrieving data from.
706
664
  # @param [String] locale
707
- # The locale information for the data. ISO-639-1 language and ISO-3166-1 country
708
- # code. Ex: 'en_US'.
665
+ # The locale information for the data. ISO-639-1 language and ISO-3166-1
666
+ # country code. Ex: 'en_US'.
709
667
  # @param [Fixnum] max_results
710
668
  # Maximum number of results to return
711
669
  # @param [String] page_token
712
670
  # The value of the nextToken from the previous page.
713
671
  # @param [Boolean] show_deleted
714
- # Set to true to return deleted annotations. updatedMin must be in the request
715
- # to use this. Defaults to false.
672
+ # Set to true to return deleted annotations. updatedMin must be in the
673
+ # request to use this. Defaults to false.
716
674
  # @param [String] source
717
675
  # String to identify the originator of this request.
718
676
  # @param [String] start_offset
@@ -720,20 +678,18 @@ module Google
720
678
  # @param [String] start_position
721
679
  # The start position to start retrieving data from.
722
680
  # @param [String] updated_max
723
- # RFC 3339 timestamp to restrict to items updated prior to this timestamp (
724
- # exclusive).
681
+ # RFC 3339 timestamp to restrict to items updated prior to this timestamp
682
+ # (exclusive).
725
683
  # @param [String] updated_min
726
- # RFC 3339 timestamp to restrict to items updated since this timestamp (
727
- # inclusive).
684
+ # RFC 3339 timestamp to restrict to items updated since this timestamp
685
+ # (inclusive).
728
686
  # @param [String] volume_annotations_version
729
687
  # The version of the volume annotations that you are requesting.
730
688
  # @param [String] fields
731
689
  # Selector specifying which fields to include in a partial response.
732
690
  # @param [String] quota_user
733
- # An opaque string that represents a user for quota purposes. Must not exceed 40
734
- # characters.
735
- # @param [String] user_ip
736
- # Deprecated. Please use quotaUser instead.
691
+ # Available to use for quota purposes for server-side applications. Can be any
692
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
737
693
  # @param [Google::Apis::RequestOptions] options
738
694
  # Request-specific options
739
695
  #
@@ -746,8 +702,8 @@ module Google
746
702
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
747
703
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
748
704
  # @raise [Google::Apis::AuthorizationError] Authorization is required
749
- def list_layer_volume_annotations(volume_id, layer_id, content_version, end_offset: nil, end_position: nil, locale: nil, max_results: nil, page_token: nil, show_deleted: nil, source: nil, start_offset: nil, start_position: nil, updated_max: nil, updated_min: nil, volume_annotations_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
750
- command = make_simple_command(:get, 'volumes/{volumeId}/layers/{layerId}', options)
705
+ def list_layer_volume_annotations(volume_id, layer_id, content_version: nil, end_offset: nil, end_position: nil, locale: nil, max_results: nil, page_token: nil, show_deleted: nil, source: nil, start_offset: nil, start_position: nil, updated_max: nil, updated_min: nil, volume_annotations_version: nil, fields: nil, quota_user: nil, options: nil, &block)
706
+ command = make_simple_command(:get, 'books/v1/volumes/{volumeId}/layers/{layerId}', options)
751
707
  command.response_representation = Google::Apis::BooksV1::Volumeannotations::Representation
752
708
  command.response_class = Google::Apis::BooksV1::Volumeannotations
753
709
  command.params['volumeId'] = volume_id unless volume_id.nil?
@@ -767,18 +723,17 @@ module Google
767
723
  command.query['volumeAnnotationsVersion'] = volume_annotations_version unless volume_annotations_version.nil?
768
724
  command.query['fields'] = fields unless fields.nil?
769
725
  command.query['quotaUser'] = quota_user unless quota_user.nil?
770
- command.query['userIp'] = user_ip unless user_ip.nil?
771
726
  execute_or_queue_command(command, &block)
772
727
  end
773
728
 
774
729
  # Gets the current settings for the user.
730
+ # @param [String] country
731
+ # Unused. Added only to workaround TEX mandatory request template requirement
775
732
  # @param [String] fields
776
733
  # Selector specifying which fields to include in a partial response.
777
734
  # @param [String] quota_user
778
- # An opaque string that represents a user for quota purposes. Must not exceed 40
779
- # characters.
780
- # @param [String] user_ip
781
- # Deprecated. Please use quotaUser instead.
735
+ # Available to use for quota purposes for server-side applications. Can be any
736
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
782
737
  # @param [Google::Apis::RequestOptions] options
783
738
  # Request-specific options
784
739
  #
@@ -791,32 +746,30 @@ module Google
791
746
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
792
747
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
793
748
  # @raise [Google::Apis::AuthorizationError] Authorization is required
794
- def get_user_settings(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
795
- command = make_simple_command(:get, 'myconfig/getUserSettings', options)
749
+ def get_user_settings(country: nil, fields: nil, quota_user: nil, options: nil, &block)
750
+ command = make_simple_command(:get, 'books/v1/myconfig/getUserSettings', options)
796
751
  command.response_representation = Google::Apis::BooksV1::UserSettings::Representation
797
752
  command.response_class = Google::Apis::BooksV1::UserSettings
753
+ command.query['country'] = country unless country.nil?
798
754
  command.query['fields'] = fields unless fields.nil?
799
755
  command.query['quotaUser'] = quota_user unless quota_user.nil?
800
- command.query['userIp'] = user_ip unless user_ip.nil?
801
756
  execute_or_queue_command(command, &block)
802
757
  end
803
758
 
804
759
  # Release downloaded content access restriction.
805
- # @param [Array<String>, String] volume_ids
806
- # The volume(s) to release restrictions for.
807
760
  # @param [String] cpksver
808
761
  # The device/version ID from which to release the restriction.
809
762
  # @param [String] locale
810
763
  # ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
811
764
  # @param [String] source
812
765
  # String to identify the originator of this request.
766
+ # @param [Array<String>, String] volume_ids
767
+ # The volume(s) to release restrictions for.
813
768
  # @param [String] fields
814
769
  # Selector specifying which fields to include in a partial response.
815
770
  # @param [String] quota_user
816
- # An opaque string that represents a user for quota purposes. Must not exceed 40
817
- # characters.
818
- # @param [String] user_ip
819
- # Deprecated. Please use quotaUser instead.
771
+ # Available to use for quota purposes for server-side applications. Can be any
772
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
820
773
  # @param [Google::Apis::RequestOptions] options
821
774
  # Request-specific options
822
775
  #
@@ -829,8 +782,8 @@ module Google
829
782
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
830
783
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
831
784
  # @raise [Google::Apis::AuthorizationError] Authorization is required
832
- def release_download_access(volume_ids, cpksver, locale: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
833
- command = make_simple_command(:post, 'myconfig/releaseDownloadAccess', options)
785
+ def release_download_access(cpksver: nil, locale: nil, source: nil, volume_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
786
+ command = make_simple_command(:post, 'books/v1/myconfig/releaseDownloadAccess', options)
834
787
  command.response_representation = Google::Apis::BooksV1::DownloadAccesses::Representation
835
788
  command.response_class = Google::Apis::BooksV1::DownloadAccesses
836
789
  command.query['cpksver'] = cpksver unless cpksver.nil?
@@ -839,46 +792,44 @@ module Google
839
792
  command.query['volumeIds'] = volume_ids unless volume_ids.nil?
840
793
  command.query['fields'] = fields unless fields.nil?
841
794
  command.query['quotaUser'] = quota_user unless quota_user.nil?
842
- command.query['userIp'] = user_ip unless user_ip.nil?
843
795
  execute_or_queue_command(command, &block)
844
796
  end
845
797
 
846
798
  # Request concurrent and download access restrictions.
847
- # @param [String] source
848
- # String to identify the originator of this request.
849
- # @param [String] volume_id
850
- # The volume to request concurrent/download restrictions for.
851
- # @param [String] nonce
852
- # The client nonce value.
853
799
  # @param [String] cpksver
854
800
  # The device/version ID from which to request the restrictions.
855
801
  # @param [String] license_types
856
- # The type of access license to request. If not specified, the default is BOTH.
802
+ # The type of access license to request. If not specified, the default is
803
+ # BOTH.
857
804
  # @param [String] locale
858
805
  # ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
806
+ # @param [String] nonce
807
+ # The client nonce value.
808
+ # @param [String] source
809
+ # String to identify the originator of this request.
810
+ # @param [String] volume_id
811
+ # The volume to request concurrent/download restrictions for.
859
812
  # @param [String] fields
860
813
  # Selector specifying which fields to include in a partial response.
861
814
  # @param [String] quota_user
862
- # An opaque string that represents a user for quota purposes. Must not exceed 40
863
- # characters.
864
- # @param [String] user_ip
865
- # Deprecated. Please use quotaUser instead.
815
+ # Available to use for quota purposes for server-side applications. Can be any
816
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
866
817
  # @param [Google::Apis::RequestOptions] options
867
818
  # Request-specific options
868
819
  #
869
820
  # @yield [result, err] Result & error if block supplied
870
- # @yieldparam result [Google::Apis::BooksV1::RequestAccess] parsed result object
821
+ # @yieldparam result [Google::Apis::BooksV1::RequestAccessData] parsed result object
871
822
  # @yieldparam err [StandardError] error object if request failed
872
823
  #
873
- # @return [Google::Apis::BooksV1::RequestAccess]
824
+ # @return [Google::Apis::BooksV1::RequestAccessData]
874
825
  #
875
826
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
876
827
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
877
828
  # @raise [Google::Apis::AuthorizationError] Authorization is required
878
- def request_access(source, volume_id, nonce, cpksver, license_types: nil, locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
879
- command = make_simple_command(:post, 'myconfig/requestAccess', options)
880
- command.response_representation = Google::Apis::BooksV1::RequestAccess::Representation
881
- command.response_class = Google::Apis::BooksV1::RequestAccess
829
+ def request_access(cpksver: nil, license_types: nil, locale: nil, nonce: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
830
+ command = make_simple_command(:post, 'books/v1/myconfig/requestAccess', options)
831
+ command.response_representation = Google::Apis::BooksV1::RequestAccessData::Representation
832
+ command.response_class = Google::Apis::BooksV1::RequestAccessData
882
833
  command.query['cpksver'] = cpksver unless cpksver.nil?
883
834
  command.query['licenseTypes'] = license_types unless license_types.nil?
884
835
  command.query['locale'] = locale unless locale.nil?
@@ -887,15 +838,11 @@ module Google
887
838
  command.query['volumeId'] = volume_id unless volume_id.nil?
888
839
  command.query['fields'] = fields unless fields.nil?
889
840
  command.query['quotaUser'] = quota_user unless quota_user.nil?
890
- command.query['userIp'] = user_ip unless user_ip.nil?
891
841
  execute_or_queue_command(command, &block)
892
842
  end
893
843
 
894
- # Request downloaded content access for specified volumes on the My eBooks shelf.
895
- # @param [String] source
896
- # String to identify the originator of this request.
897
- # @param [String] nonce
898
- # The client nonce value.
844
+ # Request downloaded content access for specified volumes on the My eBooks
845
+ # shelf.
899
846
  # @param [String] cpksver
900
847
  # The device/version ID from which to release the restriction.
901
848
  # @param [Array<String>, String] features
@@ -904,17 +851,19 @@ module Google
904
851
  # Set to true to include non-comics series. Defaults to false.
905
852
  # @param [String] locale
906
853
  # ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
854
+ # @param [String] nonce
855
+ # The client nonce value.
907
856
  # @param [Boolean] show_preorders
908
857
  # Set to true to show pre-ordered books. Defaults to false.
858
+ # @param [String] source
859
+ # String to identify the originator of this request.
909
860
  # @param [Array<String>, String] volume_ids
910
861
  # The volume(s) to request download restrictions for.
911
862
  # @param [String] fields
912
863
  # Selector specifying which fields to include in a partial response.
913
864
  # @param [String] quota_user
914
- # An opaque string that represents a user for quota purposes. Must not exceed 40
915
- # characters.
916
- # @param [String] user_ip
917
- # Deprecated. Please use quotaUser instead.
865
+ # Available to use for quota purposes for server-side applications. Can be any
866
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
918
867
  # @param [Google::Apis::RequestOptions] options
919
868
  # Request-specific options
920
869
  #
@@ -927,8 +876,8 @@ module Google
927
876
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
928
877
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
929
878
  # @raise [Google::Apis::AuthorizationError] Authorization is required
930
- def sync_volume_licenses(source, nonce, cpksver, features: nil, include_non_comics_series: nil, locale: nil, show_preorders: nil, volume_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
931
- command = make_simple_command(:post, 'myconfig/syncVolumeLicenses', options)
879
+ def sync_volume_licenses(cpksver: nil, features: nil, include_non_comics_series: nil, locale: nil, nonce: nil, show_preorders: nil, source: nil, volume_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
880
+ command = make_simple_command(:post, 'books/v1/myconfig/syncVolumeLicenses', options)
932
881
  command.response_representation = Google::Apis::BooksV1::Volumes::Representation
933
882
  command.response_class = Google::Apis::BooksV1::Volumes
934
883
  command.query['cpksver'] = cpksver unless cpksver.nil?
@@ -941,21 +890,18 @@ module Google
941
890
  command.query['volumeIds'] = volume_ids unless volume_ids.nil?
942
891
  command.query['fields'] = fields unless fields.nil?
943
892
  command.query['quotaUser'] = quota_user unless quota_user.nil?
944
- command.query['userIp'] = user_ip unless user_ip.nil?
945
893
  execute_or_queue_command(command, &block)
946
894
  end
947
895
 
948
896
  # Sets the settings for the user. If a sub-object is specified, it will
949
- # overwrite the existing sub-object stored in the server. Unspecified sub-
950
- # objects will retain the existing value.
897
+ # overwrite the existing sub-object stored in the server. Unspecified
898
+ # sub-objects will retain the existing value.
951
899
  # @param [Google::Apis::BooksV1::UserSettings] user_settings_object
952
900
  # @param [String] fields
953
901
  # Selector specifying which fields to include in a partial response.
954
902
  # @param [String] quota_user
955
- # An opaque string that represents a user for quota purposes. Must not exceed 40
956
- # characters.
957
- # @param [String] user_ip
958
- # Deprecated. Please use quotaUser instead.
903
+ # Available to use for quota purposes for server-side applications. Can be any
904
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
959
905
  # @param [Google::Apis::RequestOptions] options
960
906
  # Request-specific options
961
907
  #
@@ -968,15 +914,14 @@ module Google
968
914
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
969
915
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
970
916
  # @raise [Google::Apis::AuthorizationError] Authorization is required
971
- def update_user_settings(user_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
972
- command = make_simple_command(:post, 'myconfig/updateUserSettings', options)
917
+ def update_user_settings(user_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
918
+ command = make_simple_command(:post, 'books/v1/myconfig/updateUserSettings', options)
973
919
  command.request_representation = Google::Apis::BooksV1::UserSettings::Representation
974
920
  command.request_object = user_settings_object
975
921
  command.response_representation = Google::Apis::BooksV1::UserSettings::Representation
976
922
  command.response_class = Google::Apis::BooksV1::UserSettings
977
923
  command.query['fields'] = fields unless fields.nil?
978
924
  command.query['quotaUser'] = quota_user unless quota_user.nil?
979
- command.query['userIp'] = user_ip unless user_ip.nil?
980
925
  execute_or_queue_command(command, &block)
981
926
  end
982
927
 
@@ -988,29 +933,28 @@ module Google
988
933
  # @param [String] fields
989
934
  # Selector specifying which fields to include in a partial response.
990
935
  # @param [String] quota_user
991
- # An opaque string that represents a user for quota purposes. Must not exceed 40
992
- # characters.
993
- # @param [String] user_ip
994
- # Deprecated. Please use quotaUser instead.
936
+ # Available to use for quota purposes for server-side applications. Can be any
937
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
995
938
  # @param [Google::Apis::RequestOptions] options
996
939
  # Request-specific options
997
940
  #
998
941
  # @yield [result, err] Result & error if block supplied
999
- # @yieldparam result [NilClass] No result returned for this method
942
+ # @yieldparam result [Google::Apis::BooksV1::Empty] parsed result object
1000
943
  # @yieldparam err [StandardError] error object if request failed
1001
944
  #
1002
- # @return [void]
945
+ # @return [Google::Apis::BooksV1::Empty]
1003
946
  #
1004
947
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1005
948
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1006
949
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1007
- def delete_my_library_annotation(annotation_id, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1008
- command = make_simple_command(:delete, 'mylibrary/annotations/{annotationId}', options)
950
+ def delete_my_library_annotation(annotation_id, source: nil, fields: nil, quota_user: nil, options: nil, &block)
951
+ command = make_simple_command(:delete, 'books/v1/mylibrary/annotations/{annotationId}', options)
952
+ command.response_representation = Google::Apis::BooksV1::Empty::Representation
953
+ command.response_class = Google::Apis::BooksV1::Empty
1009
954
  command.params['annotationId'] = annotation_id unless annotation_id.nil?
1010
955
  command.query['source'] = source unless source.nil?
1011
956
  command.query['fields'] = fields unless fields.nil?
1012
957
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1013
- command.query['userIp'] = user_ip unless user_ip.nil?
1014
958
  execute_or_queue_command(command, &block)
1015
959
  end
1016
960
 
@@ -1028,10 +972,8 @@ module Google
1028
972
  # @param [String] fields
1029
973
  # Selector specifying which fields to include in a partial response.
1030
974
  # @param [String] quota_user
1031
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1032
- # characters.
1033
- # @param [String] user_ip
1034
- # Deprecated. Please use quotaUser instead.
975
+ # Available to use for quota purposes for server-side applications. Can be any
976
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1035
977
  # @param [Google::Apis::RequestOptions] options
1036
978
  # Request-specific options
1037
979
  #
@@ -1044,8 +986,8 @@ module Google
1044
986
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1045
987
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1046
988
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1047
- def insert_my_library_annotation(annotation_object = nil, annotation_id: nil, country: nil, show_only_summary_in_response: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1048
- command = make_simple_command(:post, 'mylibrary/annotations', options)
989
+ def insert_my_library_annotation(annotation_object = nil, annotation_id: nil, country: nil, show_only_summary_in_response: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
990
+ command = make_simple_command(:post, 'books/v1/mylibrary/annotations', options)
1049
991
  command.request_representation = Google::Apis::BooksV1::Annotation::Representation
1050
992
  command.request_object = annotation_object
1051
993
  command.response_representation = Google::Apis::BooksV1::Annotation::Representation
@@ -1056,7 +998,6 @@ module Google
1056
998
  command.query['source'] = source unless source.nil?
1057
999
  command.query['fields'] = fields unless fields.nil?
1058
1000
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1059
- command.query['userIp'] = user_ip unless user_ip.nil?
1060
1001
  execute_or_queue_command(command, &block)
1061
1002
  end
1062
1003
 
@@ -1072,25 +1013,23 @@ module Google
1072
1013
  # @param [String] page_token
1073
1014
  # The value of the nextToken from the previous page.
1074
1015
  # @param [Boolean] show_deleted
1075
- # Set to true to return deleted annotations. updatedMin must be in the request
1076
- # to use this. Defaults to false.
1016
+ # Set to true to return deleted annotations. updatedMin must be in the
1017
+ # request to use this. Defaults to false.
1077
1018
  # @param [String] source
1078
1019
  # String to identify the originator of this request.
1079
1020
  # @param [String] updated_max
1080
- # RFC 3339 timestamp to restrict to items updated prior to this timestamp (
1081
- # exclusive).
1021
+ # RFC 3339 timestamp to restrict to items updated prior to this timestamp
1022
+ # (exclusive).
1082
1023
  # @param [String] updated_min
1083
- # RFC 3339 timestamp to restrict to items updated since this timestamp (
1084
- # inclusive).
1024
+ # RFC 3339 timestamp to restrict to items updated since this timestamp
1025
+ # (inclusive).
1085
1026
  # @param [String] volume_id
1086
1027
  # The volume to restrict annotations to.
1087
1028
  # @param [String] fields
1088
1029
  # Selector specifying which fields to include in a partial response.
1089
1030
  # @param [String] quota_user
1090
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1091
- # characters.
1092
- # @param [String] user_ip
1093
- # Deprecated. Please use quotaUser instead.
1031
+ # Available to use for quota purposes for server-side applications. Can be any
1032
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1094
1033
  # @param [Google::Apis::RequestOptions] options
1095
1034
  # Request-specific options
1096
1035
  #
@@ -1103,8 +1042,8 @@ module Google
1103
1042
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1104
1043
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1105
1044
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1106
- def list_my_library_annotations(content_version: nil, layer_id: nil, layer_ids: nil, max_results: nil, page_token: nil, show_deleted: nil, source: nil, updated_max: nil, updated_min: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1107
- command = make_simple_command(:get, 'mylibrary/annotations', options)
1045
+ def list_my_library_annotations(content_version: nil, layer_id: nil, layer_ids: nil, max_results: nil, page_token: nil, show_deleted: nil, source: nil, updated_max: nil, updated_min: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1046
+ command = make_simple_command(:get, 'books/v1/mylibrary/annotations', options)
1108
1047
  command.response_representation = Google::Apis::BooksV1::Annotations::Representation
1109
1048
  command.response_class = Google::Apis::BooksV1::Annotations
1110
1049
  command.query['contentVersion'] = content_version unless content_version.nil?
@@ -1119,7 +1058,6 @@ module Google
1119
1058
  command.query['volumeId'] = volume_id unless volume_id.nil?
1120
1059
  command.query['fields'] = fields unless fields.nil?
1121
1060
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1122
- command.query['userIp'] = user_ip unless user_ip.nil?
1123
1061
  execute_or_queue_command(command, &block)
1124
1062
  end
1125
1063
 
@@ -1131,10 +1069,8 @@ module Google
1131
1069
  # @param [String] fields
1132
1070
  # Selector specifying which fields to include in a partial response.
1133
1071
  # @param [String] quota_user
1134
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1135
- # characters.
1136
- # @param [String] user_ip
1137
- # Deprecated. Please use quotaUser instead.
1072
+ # Available to use for quota purposes for server-side applications. Can be any
1073
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1138
1074
  # @param [Google::Apis::RequestOptions] options
1139
1075
  # Request-specific options
1140
1076
  #
@@ -1147,15 +1083,14 @@ module Google
1147
1083
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1148
1084
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1149
1085
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1150
- def summarize_my_library_annotation(layer_ids, volume_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1151
- command = make_simple_command(:post, 'mylibrary/annotations/summary', options)
1086
+ def summarize_my_library_annotation(layer_ids: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1087
+ command = make_simple_command(:post, 'books/v1/mylibrary/annotations/summary', options)
1152
1088
  command.response_representation = Google::Apis::BooksV1::AnnotationsSummary::Representation
1153
1089
  command.response_class = Google::Apis::BooksV1::AnnotationsSummary
1154
1090
  command.query['layerIds'] = layer_ids unless layer_ids.nil?
1155
1091
  command.query['volumeId'] = volume_id unless volume_id.nil?
1156
1092
  command.query['fields'] = fields unless fields.nil?
1157
1093
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1158
- command.query['userIp'] = user_ip unless user_ip.nil?
1159
1094
  execute_or_queue_command(command, &block)
1160
1095
  end
1161
1096
 
@@ -1168,10 +1103,8 @@ module Google
1168
1103
  # @param [String] fields
1169
1104
  # Selector specifying which fields to include in a partial response.
1170
1105
  # @param [String] quota_user
1171
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1172
- # characters.
1173
- # @param [String] user_ip
1174
- # Deprecated. Please use quotaUser instead.
1106
+ # Available to use for quota purposes for server-side applications. Can be any
1107
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1175
1108
  # @param [Google::Apis::RequestOptions] options
1176
1109
  # Request-specific options
1177
1110
  #
@@ -1184,8 +1117,8 @@ module Google
1184
1117
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1185
1118
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1186
1119
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1187
- def update_my_library_annotation(annotation_id, annotation_object = nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1188
- command = make_simple_command(:put, 'mylibrary/annotations/{annotationId}', options)
1120
+ def update_my_library_annotation(annotation_id, annotation_object = nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
1121
+ command = make_simple_command(:put, 'books/v1/mylibrary/annotations/{annotationId}', options)
1189
1122
  command.request_representation = Google::Apis::BooksV1::Annotation::Representation
1190
1123
  command.request_object = annotation_object
1191
1124
  command.response_representation = Google::Apis::BooksV1::Annotation::Representation
@@ -1194,47 +1127,45 @@ module Google
1194
1127
  command.query['source'] = source unless source.nil?
1195
1128
  command.query['fields'] = fields unless fields.nil?
1196
1129
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1197
- command.query['userIp'] = user_ip unless user_ip.nil?
1198
1130
  execute_or_queue_command(command, &block)
1199
1131
  end
1200
1132
 
1201
1133
  # Adds a volume to a bookshelf.
1202
1134
  # @param [String] shelf
1203
1135
  # ID of bookshelf to which to add a volume.
1204
- # @param [String] volume_id
1205
- # ID of volume to add.
1206
1136
  # @param [String] reason
1207
1137
  # The reason for which the book is added to the library.
1208
1138
  # @param [String] source
1209
1139
  # String to identify the originator of this request.
1140
+ # @param [String] volume_id
1141
+ # ID of volume to add.
1210
1142
  # @param [String] fields
1211
1143
  # Selector specifying which fields to include in a partial response.
1212
1144
  # @param [String] quota_user
1213
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1214
- # characters.
1215
- # @param [String] user_ip
1216
- # Deprecated. Please use quotaUser instead.
1145
+ # Available to use for quota purposes for server-side applications. Can be any
1146
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1217
1147
  # @param [Google::Apis::RequestOptions] options
1218
1148
  # Request-specific options
1219
1149
  #
1220
1150
  # @yield [result, err] Result & error if block supplied
1221
- # @yieldparam result [NilClass] No result returned for this method
1151
+ # @yieldparam result [Google::Apis::BooksV1::Empty] parsed result object
1222
1152
  # @yieldparam err [StandardError] error object if request failed
1223
1153
  #
1224
- # @return [void]
1154
+ # @return [Google::Apis::BooksV1::Empty]
1225
1155
  #
1226
1156
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1227
1157
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1228
1158
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1229
- def add_my_library_volume(shelf, volume_id, reason: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1230
- command = make_simple_command(:post, 'mylibrary/bookshelves/{shelf}/addVolume', options)
1159
+ def add_my_library_volume(shelf, reason: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1160
+ command = make_simple_command(:post, 'books/v1/mylibrary/bookshelves/{shelf}/addVolume', options)
1161
+ command.response_representation = Google::Apis::BooksV1::Empty::Representation
1162
+ command.response_class = Google::Apis::BooksV1::Empty
1231
1163
  command.params['shelf'] = shelf unless shelf.nil?
1232
1164
  command.query['reason'] = reason unless reason.nil?
1233
1165
  command.query['source'] = source unless source.nil?
1234
1166
  command.query['volumeId'] = volume_id unless volume_id.nil?
1235
1167
  command.query['fields'] = fields unless fields.nil?
1236
1168
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1237
- command.query['userIp'] = user_ip unless user_ip.nil?
1238
1169
  execute_or_queue_command(command, &block)
1239
1170
  end
1240
1171
 
@@ -1246,29 +1177,28 @@ module Google
1246
1177
  # @param [String] fields
1247
1178
  # Selector specifying which fields to include in a partial response.
1248
1179
  # @param [String] quota_user
1249
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1250
- # characters.
1251
- # @param [String] user_ip
1252
- # Deprecated. Please use quotaUser instead.
1180
+ # Available to use for quota purposes for server-side applications. Can be any
1181
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1253
1182
  # @param [Google::Apis::RequestOptions] options
1254
1183
  # Request-specific options
1255
1184
  #
1256
1185
  # @yield [result, err] Result & error if block supplied
1257
- # @yieldparam result [NilClass] No result returned for this method
1186
+ # @yieldparam result [Google::Apis::BooksV1::Empty] parsed result object
1258
1187
  # @yieldparam err [StandardError] error object if request failed
1259
1188
  #
1260
- # @return [void]
1189
+ # @return [Google::Apis::BooksV1::Empty]
1261
1190
  #
1262
1191
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1263
1192
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1264
1193
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1265
- def clear_my_library_volumes(shelf, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1266
- command = make_simple_command(:post, 'mylibrary/bookshelves/{shelf}/clearVolumes', options)
1194
+ def clear_my_library_volumes(shelf, source: nil, fields: nil, quota_user: nil, options: nil, &block)
1195
+ command = make_simple_command(:post, 'books/v1/mylibrary/bookshelves/{shelf}/clearVolumes', options)
1196
+ command.response_representation = Google::Apis::BooksV1::Empty::Representation
1197
+ command.response_class = Google::Apis::BooksV1::Empty
1267
1198
  command.params['shelf'] = shelf unless shelf.nil?
1268
1199
  command.query['source'] = source unless source.nil?
1269
1200
  command.query['fields'] = fields unless fields.nil?
1270
1201
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1271
- command.query['userIp'] = user_ip unless user_ip.nil?
1272
1202
  execute_or_queue_command(command, &block)
1273
1203
  end
1274
1204
 
@@ -1281,10 +1211,8 @@ module Google
1281
1211
  # @param [String] fields
1282
1212
  # Selector specifying which fields to include in a partial response.
1283
1213
  # @param [String] quota_user
1284
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1285
- # characters.
1286
- # @param [String] user_ip
1287
- # Deprecated. Please use quotaUser instead.
1214
+ # Available to use for quota purposes for server-side applications. Can be any
1215
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1288
1216
  # @param [Google::Apis::RequestOptions] options
1289
1217
  # Request-specific options
1290
1218
  #
@@ -1297,15 +1225,14 @@ module Google
1297
1225
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1298
1226
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1299
1227
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1300
- def get_my_library_bookshelf(shelf, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1301
- command = make_simple_command(:get, 'mylibrary/bookshelves/{shelf}', options)
1228
+ def get_my_library_bookshelf(shelf, source: nil, fields: nil, quota_user: nil, options: nil, &block)
1229
+ command = make_simple_command(:get, 'books/v1/mylibrary/bookshelves/{shelf}', options)
1302
1230
  command.response_representation = Google::Apis::BooksV1::Bookshelf::Representation
1303
1231
  command.response_class = Google::Apis::BooksV1::Bookshelf
1304
1232
  command.params['shelf'] = shelf unless shelf.nil?
1305
1233
  command.query['source'] = source unless source.nil?
1306
1234
  command.query['fields'] = fields unless fields.nil?
1307
1235
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1308
- command.query['userIp'] = user_ip unless user_ip.nil?
1309
1236
  execute_or_queue_command(command, &block)
1310
1237
  end
1311
1238
 
@@ -1315,10 +1242,8 @@ module Google
1315
1242
  # @param [String] fields
1316
1243
  # Selector specifying which fields to include in a partial response.
1317
1244
  # @param [String] quota_user
1318
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1319
- # characters.
1320
- # @param [String] user_ip
1321
- # Deprecated. Please use quotaUser instead.
1245
+ # Available to use for quota purposes for server-side applications. Can be any
1246
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1322
1247
  # @param [Google::Apis::RequestOptions] options
1323
1248
  # Request-specific options
1324
1249
  #
@@ -1331,95 +1256,92 @@ module Google
1331
1256
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1332
1257
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1333
1258
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1334
- def list_my_library_bookshelves(source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1335
- command = make_simple_command(:get, 'mylibrary/bookshelves', options)
1259
+ def list_my_library_bookshelves(source: nil, fields: nil, quota_user: nil, options: nil, &block)
1260
+ command = make_simple_command(:get, 'books/v1/mylibrary/bookshelves', options)
1336
1261
  command.response_representation = Google::Apis::BooksV1::Bookshelves::Representation
1337
1262
  command.response_class = Google::Apis::BooksV1::Bookshelves
1338
1263
  command.query['source'] = source unless source.nil?
1339
1264
  command.query['fields'] = fields unless fields.nil?
1340
1265
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1341
- command.query['userIp'] = user_ip unless user_ip.nil?
1342
1266
  execute_or_queue_command(command, &block)
1343
1267
  end
1344
1268
 
1345
1269
  # Moves a volume within a bookshelf.
1346
1270
  # @param [String] shelf
1347
1271
  # ID of bookshelf with the volume.
1272
+ # @param [String] source
1273
+ # String to identify the originator of this request.
1348
1274
  # @param [String] volume_id
1349
1275
  # ID of volume to move.
1350
1276
  # @param [Fixnum] volume_position
1351
- # Position on shelf to move the item (0 puts the item before the current first
1352
- # item, 1 puts it between the first and the second and so on.)
1353
- # @param [String] source
1354
- # String to identify the originator of this request.
1277
+ # Position on shelf to move the item (0 puts the item before the current
1278
+ # first item, 1 puts it between the first and the second and so on.)
1355
1279
  # @param [String] fields
1356
1280
  # Selector specifying which fields to include in a partial response.
1357
1281
  # @param [String] quota_user
1358
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1359
- # characters.
1360
- # @param [String] user_ip
1361
- # Deprecated. Please use quotaUser instead.
1282
+ # Available to use for quota purposes for server-side applications. Can be any
1283
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1362
1284
  # @param [Google::Apis::RequestOptions] options
1363
1285
  # Request-specific options
1364
1286
  #
1365
1287
  # @yield [result, err] Result & error if block supplied
1366
- # @yieldparam result [NilClass] No result returned for this method
1288
+ # @yieldparam result [Google::Apis::BooksV1::Empty] parsed result object
1367
1289
  # @yieldparam err [StandardError] error object if request failed
1368
1290
  #
1369
- # @return [void]
1291
+ # @return [Google::Apis::BooksV1::Empty]
1370
1292
  #
1371
1293
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1372
1294
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1373
1295
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1374
- def move_my_library_volume(shelf, volume_id, volume_position, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1375
- command = make_simple_command(:post, 'mylibrary/bookshelves/{shelf}/moveVolume', options)
1296
+ def move_my_library_volume(shelf, source: nil, volume_id: nil, volume_position: nil, fields: nil, quota_user: nil, options: nil, &block)
1297
+ command = make_simple_command(:post, 'books/v1/mylibrary/bookshelves/{shelf}/moveVolume', options)
1298
+ command.response_representation = Google::Apis::BooksV1::Empty::Representation
1299
+ command.response_class = Google::Apis::BooksV1::Empty
1376
1300
  command.params['shelf'] = shelf unless shelf.nil?
1377
1301
  command.query['source'] = source unless source.nil?
1378
1302
  command.query['volumeId'] = volume_id unless volume_id.nil?
1379
1303
  command.query['volumePosition'] = volume_position unless volume_position.nil?
1380
1304
  command.query['fields'] = fields unless fields.nil?
1381
1305
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1382
- command.query['userIp'] = user_ip unless user_ip.nil?
1383
1306
  execute_or_queue_command(command, &block)
1384
1307
  end
1385
1308
 
1386
1309
  # Removes a volume from a bookshelf.
1387
1310
  # @param [String] shelf
1388
1311
  # ID of bookshelf from which to remove a volume.
1389
- # @param [String] volume_id
1390
- # ID of volume to remove.
1391
1312
  # @param [String] reason
1392
1313
  # The reason for which the book is removed from the library.
1393
1314
  # @param [String] source
1394
1315
  # String to identify the originator of this request.
1316
+ # @param [String] volume_id
1317
+ # ID of volume to remove.
1395
1318
  # @param [String] fields
1396
1319
  # Selector specifying which fields to include in a partial response.
1397
1320
  # @param [String] quota_user
1398
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1399
- # characters.
1400
- # @param [String] user_ip
1401
- # Deprecated. Please use quotaUser instead.
1321
+ # Available to use for quota purposes for server-side applications. Can be any
1322
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1402
1323
  # @param [Google::Apis::RequestOptions] options
1403
1324
  # Request-specific options
1404
1325
  #
1405
1326
  # @yield [result, err] Result & error if block supplied
1406
- # @yieldparam result [NilClass] No result returned for this method
1327
+ # @yieldparam result [Google::Apis::BooksV1::Empty] parsed result object
1407
1328
  # @yieldparam err [StandardError] error object if request failed
1408
1329
  #
1409
- # @return [void]
1330
+ # @return [Google::Apis::BooksV1::Empty]
1410
1331
  #
1411
1332
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1412
1333
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1413
1334
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1414
- def remove_my_library_volume(shelf, volume_id, reason: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1415
- command = make_simple_command(:post, 'mylibrary/bookshelves/{shelf}/removeVolume', options)
1335
+ def remove_my_library_volume(shelf, reason: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1336
+ command = make_simple_command(:post, 'books/v1/mylibrary/bookshelves/{shelf}/removeVolume', options)
1337
+ command.response_representation = Google::Apis::BooksV1::Empty::Representation
1338
+ command.response_class = Google::Apis::BooksV1::Empty
1416
1339
  command.params['shelf'] = shelf unless shelf.nil?
1417
1340
  command.query['reason'] = reason unless reason.nil?
1418
1341
  command.query['source'] = source unless source.nil?
1419
1342
  command.query['volumeId'] = volume_id unless volume_id.nil?
1420
1343
  command.query['fields'] = fields unless fields.nil?
1421
1344
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1422
- command.query['userIp'] = user_ip unless user_ip.nil?
1423
1345
  execute_or_queue_command(command, &block)
1424
1346
  end
1425
1347
 
@@ -1443,10 +1365,8 @@ module Google
1443
1365
  # @param [String] fields
1444
1366
  # Selector specifying which fields to include in a partial response.
1445
1367
  # @param [String] quota_user
1446
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1447
- # characters.
1448
- # @param [String] user_ip
1449
- # Deprecated. Please use quotaUser instead.
1368
+ # Available to use for quota purposes for server-side applications. Can be any
1369
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1450
1370
  # @param [Google::Apis::RequestOptions] options
1451
1371
  # Request-specific options
1452
1372
  #
@@ -1459,8 +1379,8 @@ module Google
1459
1379
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1460
1380
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1461
1381
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1462
- def list_my_library_volumes(shelf, country: nil, max_results: nil, projection: nil, q: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1463
- command = make_simple_command(:get, 'mylibrary/bookshelves/{shelf}/volumes', options)
1382
+ def list_my_library_volumes(shelf, country: nil, max_results: nil, projection: nil, q: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, options: nil, &block)
1383
+ command = make_simple_command(:get, 'books/v1/mylibrary/bookshelves/{shelf}/volumes', options)
1464
1384
  command.response_representation = Google::Apis::BooksV1::Volumes::Representation
1465
1385
  command.response_class = Google::Apis::BooksV1::Volumes
1466
1386
  command.params['shelf'] = shelf unless shelf.nil?
@@ -1473,7 +1393,6 @@ module Google
1473
1393
  command.query['startIndex'] = start_index unless start_index.nil?
1474
1394
  command.query['fields'] = fields unless fields.nil?
1475
1395
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1476
- command.query['userIp'] = user_ip unless user_ip.nil?
1477
1396
  execute_or_queue_command(command, &block)
1478
1397
  end
1479
1398
 
@@ -1487,10 +1406,8 @@ module Google
1487
1406
  # @param [String] fields
1488
1407
  # Selector specifying which fields to include in a partial response.
1489
1408
  # @param [String] quota_user
1490
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1491
- # characters.
1492
- # @param [String] user_ip
1493
- # Deprecated. Please use quotaUser instead.
1409
+ # Available to use for quota purposes for server-side applications. Can be any
1410
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1494
1411
  # @param [Google::Apis::RequestOptions] options
1495
1412
  # Request-specific options
1496
1413
  #
@@ -1503,8 +1420,8 @@ module Google
1503
1420
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1504
1421
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1505
1422
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1506
- def get_my_library_reading_position(volume_id, content_version: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1507
- command = make_simple_command(:get, 'mylibrary/readingpositions/{volumeId}', options)
1423
+ def get_my_library_reading_position(volume_id, content_version: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
1424
+ command = make_simple_command(:get, 'books/v1/mylibrary/readingpositions/{volumeId}', options)
1508
1425
  command.response_representation = Google::Apis::BooksV1::ReadingPosition::Representation
1509
1426
  command.response_class = Google::Apis::BooksV1::ReadingPosition
1510
1427
  command.params['volumeId'] = volume_id unless volume_id.nil?
@@ -1512,46 +1429,45 @@ module Google
1512
1429
  command.query['source'] = source unless source.nil?
1513
1430
  command.query['fields'] = fields unless fields.nil?
1514
1431
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1515
- command.query['userIp'] = user_ip unless user_ip.nil?
1516
1432
  execute_or_queue_command(command, &block)
1517
1433
  end
1518
1434
 
1519
1435
  # Sets my reading position information for a volume.
1520
1436
  # @param [String] volume_id
1521
1437
  # ID of volume for which to update the reading position.
1522
- # @param [String] timestamp
1523
- # RFC 3339 UTC format timestamp associated with this reading position.
1524
- # @param [String] position
1525
- # Position string for the new volume reading position.
1526
1438
  # @param [String] action
1527
1439
  # Action that caused this reading position to be set.
1528
1440
  # @param [String] content_version
1529
1441
  # Volume content version for which this reading position applies.
1530
1442
  # @param [String] device_cookie
1531
1443
  # Random persistent device cookie optional on set position.
1444
+ # @param [String] position
1445
+ # Position string for the new volume reading position.
1532
1446
  # @param [String] source
1533
1447
  # String to identify the originator of this request.
1448
+ # @param [String] timestamp
1449
+ # RFC 3339 UTC format timestamp associated with this reading position.
1534
1450
  # @param [String] fields
1535
1451
  # Selector specifying which fields to include in a partial response.
1536
1452
  # @param [String] quota_user
1537
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1538
- # characters.
1539
- # @param [String] user_ip
1540
- # Deprecated. Please use quotaUser instead.
1453
+ # Available to use for quota purposes for server-side applications. Can be any
1454
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1541
1455
  # @param [Google::Apis::RequestOptions] options
1542
1456
  # Request-specific options
1543
1457
  #
1544
1458
  # @yield [result, err] Result & error if block supplied
1545
- # @yieldparam result [NilClass] No result returned for this method
1459
+ # @yieldparam result [Google::Apis::BooksV1::Empty] parsed result object
1546
1460
  # @yieldparam err [StandardError] error object if request failed
1547
1461
  #
1548
- # @return [void]
1462
+ # @return [Google::Apis::BooksV1::Empty]
1549
1463
  #
1550
1464
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1551
1465
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1552
1466
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1553
- def set_my_library_reading_position(volume_id, timestamp, position, action: nil, content_version: nil, device_cookie: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1554
- command = make_simple_command(:post, 'mylibrary/readingpositions/{volumeId}/setPosition', options)
1467
+ def set_my_library_reading_position(volume_id, action: nil, content_version: nil, device_cookie: nil, position: nil, source: nil, timestamp: nil, fields: nil, quota_user: nil, options: nil, &block)
1468
+ command = make_simple_command(:post, 'books/v1/mylibrary/readingpositions/{volumeId}/setPosition', options)
1469
+ command.response_representation = Google::Apis::BooksV1::Empty::Representation
1470
+ command.response_class = Google::Apis::BooksV1::Empty
1555
1471
  command.params['volumeId'] = volume_id unless volume_id.nil?
1556
1472
  command.query['action'] = action unless action.nil?
1557
1473
  command.query['contentVersion'] = content_version unless content_version.nil?
@@ -1561,25 +1477,22 @@ module Google
1561
1477
  command.query['timestamp'] = timestamp unless timestamp.nil?
1562
1478
  command.query['fields'] = fields unless fields.nil?
1563
1479
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1564
- command.query['userIp'] = user_ip unless user_ip.nil?
1565
1480
  execute_or_queue_command(command, &block)
1566
1481
  end
1567
1482
 
1568
1483
  # Returns notification details for a given notification id.
1569
- # @param [String] notification_id
1570
- # String to identify the notification.
1571
1484
  # @param [String] locale
1572
1485
  # ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
1573
1486
  # generating notification title and body.
1487
+ # @param [String] notification_id
1488
+ # String to identify the notification.
1574
1489
  # @param [String] source
1575
1490
  # String to identify the originator of this request.
1576
1491
  # @param [String] fields
1577
1492
  # Selector specifying which fields to include in a partial response.
1578
1493
  # @param [String] quota_user
1579
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1580
- # characters.
1581
- # @param [String] user_ip
1582
- # Deprecated. Please use quotaUser instead.
1494
+ # Available to use for quota purposes for server-side applications. Can be any
1495
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1583
1496
  # @param [Google::Apis::RequestOptions] options
1584
1497
  # Request-specific options
1585
1498
  #
@@ -1592,8 +1505,8 @@ module Google
1592
1505
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1593
1506
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1594
1507
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1595
- def get_notification(notification_id, locale: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1596
- command = make_simple_command(:get, 'notification/get', options)
1508
+ def get_notification(locale: nil, notification_id: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
1509
+ command = make_simple_command(:get, 'books/v1/notification/get', options)
1597
1510
  command.response_representation = Google::Apis::BooksV1::Notification::Representation
1598
1511
  command.response_class = Google::Apis::BooksV1::Notification
1599
1512
  command.query['locale'] = locale unless locale.nil?
@@ -1601,7 +1514,6 @@ module Google
1601
1514
  command.query['source'] = source unless source.nil?
1602
1515
  command.query['fields'] = fields unless fields.nil?
1603
1516
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1604
- command.query['userIp'] = user_ip unless user_ip.nil?
1605
1517
  execute_or_queue_command(command, &block)
1606
1518
  end
1607
1519
 
@@ -1611,10 +1523,8 @@ module Google
1611
1523
  # @param [String] fields
1612
1524
  # Selector specifying which fields to include in a partial response.
1613
1525
  # @param [String] quota_user
1614
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1615
- # characters.
1616
- # @param [String] user_ip
1617
- # Deprecated. Please use quotaUser instead.
1526
+ # Available to use for quota purposes for server-side applications. Can be any
1527
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1618
1528
  # @param [Google::Apis::RequestOptions] options
1619
1529
  # Request-specific options
1620
1530
  #
@@ -1627,14 +1537,13 @@ module Google
1627
1537
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1628
1538
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1629
1539
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1630
- def list_onboarding_categories(locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1631
- command = make_simple_command(:get, 'onboarding/listCategories', options)
1540
+ def list_onboarding_categories(locale: nil, fields: nil, quota_user: nil, options: nil, &block)
1541
+ command = make_simple_command(:get, 'books/v1/onboarding/listCategories', options)
1632
1542
  command.response_representation = Google::Apis::BooksV1::Category::Representation
1633
1543
  command.response_class = Google::Apis::BooksV1::Category
1634
1544
  command.query['locale'] = locale unless locale.nil?
1635
1545
  command.query['fields'] = fields unless fields.nil?
1636
1546
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1637
- command.query['userIp'] = user_ip unless user_ip.nil?
1638
1547
  execute_or_queue_command(command, &block)
1639
1548
  end
1640
1549
 
@@ -1644,8 +1553,8 @@ module Google
1644
1553
  # @param [String] locale
1645
1554
  # ISO-639-1 language and ISO-3166-1 country code. Default is en-US if unset.
1646
1555
  # @param [String] max_allowed_maturity_rating
1647
- # The maximum allowed maturity rating of returned volumes. Books with a higher
1648
- # maturity rating are filtered out.
1556
+ # The maximum allowed maturity rating of returned volumes. Books with a
1557
+ # higher maturity rating are filtered out.
1649
1558
  # @param [Fixnum] page_size
1650
1559
  # Number of maximum results per page to be included in the response.
1651
1560
  # @param [String] page_token
@@ -1653,10 +1562,8 @@ module Google
1653
1562
  # @param [String] fields
1654
1563
  # Selector specifying which fields to include in a partial response.
1655
1564
  # @param [String] quota_user
1656
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1657
- # characters.
1658
- # @param [String] user_ip
1659
- # Deprecated. Please use quotaUser instead.
1565
+ # Available to use for quota purposes for server-side applications. Can be any
1566
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1660
1567
  # @param [Google::Apis::RequestOptions] options
1661
1568
  # Request-specific options
1662
1569
  #
@@ -1669,8 +1576,8 @@ module Google
1669
1576
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1670
1577
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1671
1578
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1672
- def list_onboarding_category_volumes(category_id: nil, locale: nil, max_allowed_maturity_rating: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1673
- command = make_simple_command(:get, 'onboarding/listCategoryVolumes', options)
1579
+ def list_onboarding_category_volumes(category_id: nil, locale: nil, max_allowed_maturity_rating: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1580
+ command = make_simple_command(:get, 'books/v1/onboarding/listCategoryVolumes', options)
1674
1581
  command.response_representation = Google::Apis::BooksV1::Volume2::Representation
1675
1582
  command.response_class = Google::Apis::BooksV1::Volume2
1676
1583
  command.query['categoryId'] = category_id unless category_id.nil?
@@ -1680,7 +1587,6 @@ module Google
1680
1587
  command.query['pageToken'] = page_token unless page_token.nil?
1681
1588
  command.query['fields'] = fields unless fields.nil?
1682
1589
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1683
- command.query['userIp'] = user_ip unless user_ip.nil?
1684
1590
  execute_or_queue_command(command, &block)
1685
1591
  end
1686
1592
 
@@ -1689,17 +1595,15 @@ module Google
1689
1595
  # ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
1690
1596
  # generating recommendations.
1691
1597
  # @param [String] max_allowed_maturity_rating
1692
- # The maximum allowed maturity rating of returned recommendations. Books with a
1693
- # higher maturity rating are filtered out.
1598
+ # The maximum allowed maturity rating of returned recommendations. Books with
1599
+ # a higher maturity rating are filtered out.
1694
1600
  # @param [String] source
1695
1601
  # String to identify the originator of this request.
1696
1602
  # @param [String] fields
1697
1603
  # Selector specifying which fields to include in a partial response.
1698
1604
  # @param [String] quota_user
1699
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1700
- # characters.
1701
- # @param [String] user_ip
1702
- # Deprecated. Please use quotaUser instead.
1605
+ # Available to use for quota purposes for server-side applications. Can be any
1606
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1703
1607
  # @param [Google::Apis::RequestOptions] options
1704
1608
  # Request-specific options
1705
1609
  #
@@ -1712,8 +1616,8 @@ module Google
1712
1616
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1713
1617
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1714
1618
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1715
- def get_personalizedstream(locale: nil, max_allowed_maturity_rating: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1716
- command = make_simple_command(:get, 'personalizedstream/get', options)
1619
+ def get_personalizedstream(locale: nil, max_allowed_maturity_rating: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
1620
+ command = make_simple_command(:get, 'books/v1/personalizedstream/get', options)
1717
1621
  command.response_representation = Google::Apis::BooksV1::Discoveryclusters::Representation
1718
1622
  command.response_class = Google::Apis::BooksV1::Discoveryclusters
1719
1623
  command.query['locale'] = locale unless locale.nil?
@@ -1721,11 +1625,10 @@ module Google
1721
1625
  command.query['source'] = source unless source.nil?
1722
1626
  command.query['fields'] = fields unless fields.nil?
1723
1627
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1724
- command.query['userIp'] = user_ip unless user_ip.nil?
1725
1628
  execute_or_queue_command(command, &block)
1726
1629
  end
1727
1630
 
1728
- #
1631
+ # Accepts the promo offer.
1729
1632
  # @param [String] android_id
1730
1633
  # device android_id
1731
1634
  # @param [String] device
@@ -1744,24 +1647,24 @@ module Google
1744
1647
  # @param [String] fields
1745
1648
  # Selector specifying which fields to include in a partial response.
1746
1649
  # @param [String] quota_user
1747
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1748
- # characters.
1749
- # @param [String] user_ip
1750
- # Deprecated. Please use quotaUser instead.
1650
+ # Available to use for quota purposes for server-side applications. Can be any
1651
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1751
1652
  # @param [Google::Apis::RequestOptions] options
1752
1653
  # Request-specific options
1753
1654
  #
1754
1655
  # @yield [result, err] Result & error if block supplied
1755
- # @yieldparam result [NilClass] No result returned for this method
1656
+ # @yieldparam result [Google::Apis::BooksV1::Empty] parsed result object
1756
1657
  # @yieldparam err [StandardError] error object if request failed
1757
1658
  #
1758
- # @return [void]
1659
+ # @return [Google::Apis::BooksV1::Empty]
1759
1660
  #
1760
1661
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1761
1662
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1762
1663
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1763
- def accept_promo_offer(android_id: nil, device: nil, manufacturer: nil, model: nil, offer_id: nil, product: nil, serial: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1764
- command = make_simple_command(:post, 'promooffer/accept', options)
1664
+ def accept_promo_offer(android_id: nil, device: nil, manufacturer: nil, model: nil, offer_id: nil, product: nil, serial: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1665
+ command = make_simple_command(:post, 'books/v1/promooffer/accept', options)
1666
+ command.response_representation = Google::Apis::BooksV1::Empty::Representation
1667
+ command.response_class = Google::Apis::BooksV1::Empty
1765
1668
  command.query['androidId'] = android_id unless android_id.nil?
1766
1669
  command.query['device'] = device unless device.nil?
1767
1670
  command.query['manufacturer'] = manufacturer unless manufacturer.nil?
@@ -1772,11 +1675,10 @@ module Google
1772
1675
  command.query['volumeId'] = volume_id unless volume_id.nil?
1773
1676
  command.query['fields'] = fields unless fields.nil?
1774
1677
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1775
- command.query['userIp'] = user_ip unless user_ip.nil?
1776
1678
  execute_or_queue_command(command, &block)
1777
1679
  end
1778
1680
 
1779
- #
1681
+ # Marks the promo offer as dismissed.
1780
1682
  # @param [String] android_id
1781
1683
  # device android_id
1782
1684
  # @param [String] device
@@ -1794,24 +1696,24 @@ module Google
1794
1696
  # @param [String] fields
1795
1697
  # Selector specifying which fields to include in a partial response.
1796
1698
  # @param [String] quota_user
1797
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1798
- # characters.
1799
- # @param [String] user_ip
1800
- # Deprecated. Please use quotaUser instead.
1699
+ # Available to use for quota purposes for server-side applications. Can be any
1700
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1801
1701
  # @param [Google::Apis::RequestOptions] options
1802
1702
  # Request-specific options
1803
1703
  #
1804
1704
  # @yield [result, err] Result & error if block supplied
1805
- # @yieldparam result [NilClass] No result returned for this method
1705
+ # @yieldparam result [Google::Apis::BooksV1::Empty] parsed result object
1806
1706
  # @yieldparam err [StandardError] error object if request failed
1807
1707
  #
1808
- # @return [void]
1708
+ # @return [Google::Apis::BooksV1::Empty]
1809
1709
  #
1810
1710
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1811
1711
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1812
1712
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1813
- def dismiss_promo_offer(android_id: nil, device: nil, manufacturer: nil, model: nil, offer_id: nil, product: nil, serial: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1814
- command = make_simple_command(:post, 'promooffer/dismiss', options)
1713
+ def dismiss_promo_offer(android_id: nil, device: nil, manufacturer: nil, model: nil, offer_id: nil, product: nil, serial: nil, fields: nil, quota_user: nil, options: nil, &block)
1714
+ command = make_simple_command(:post, 'books/v1/promooffer/dismiss', options)
1715
+ command.response_representation = Google::Apis::BooksV1::Empty::Representation
1716
+ command.response_class = Google::Apis::BooksV1::Empty
1815
1717
  command.query['androidId'] = android_id unless android_id.nil?
1816
1718
  command.query['device'] = device unless device.nil?
1817
1719
  command.query['manufacturer'] = manufacturer unless manufacturer.nil?
@@ -1821,7 +1723,6 @@ module Google
1821
1723
  command.query['serial'] = serial unless serial.nil?
1822
1724
  command.query['fields'] = fields unless fields.nil?
1823
1725
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1824
- command.query['userIp'] = user_ip unless user_ip.nil?
1825
1726
  execute_or_queue_command(command, &block)
1826
1727
  end
1827
1728
 
@@ -1841,10 +1742,8 @@ module Google
1841
1742
  # @param [String] fields
1842
1743
  # Selector specifying which fields to include in a partial response.
1843
1744
  # @param [String] quota_user
1844
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1845
- # characters.
1846
- # @param [String] user_ip
1847
- # Deprecated. Please use quotaUser instead.
1745
+ # Available to use for quota purposes for server-side applications. Can be any
1746
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1848
1747
  # @param [Google::Apis::RequestOptions] options
1849
1748
  # Request-specific options
1850
1749
  #
@@ -1857,8 +1756,8 @@ module Google
1857
1756
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1858
1757
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1859
1758
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1860
- def get_promo_offer(android_id: nil, device: nil, manufacturer: nil, model: nil, product: nil, serial: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1861
- command = make_simple_command(:get, 'promooffer/get', options)
1759
+ def get_promo_offer(android_id: nil, device: nil, manufacturer: nil, model: nil, product: nil, serial: nil, fields: nil, quota_user: nil, options: nil, &block)
1760
+ command = make_simple_command(:get, 'books/v1/promooffer/get', options)
1862
1761
  command.response_representation = Google::Apis::BooksV1::Offers::Representation
1863
1762
  command.response_class = Google::Apis::BooksV1::Offers
1864
1763
  command.query['androidId'] = android_id unless android_id.nil?
@@ -1869,7 +1768,6 @@ module Google
1869
1768
  command.query['serial'] = serial unless serial.nil?
1870
1769
  command.query['fields'] = fields unless fields.nil?
1871
1770
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1872
- command.query['userIp'] = user_ip unless user_ip.nil?
1873
1771
  execute_or_queue_command(command, &block)
1874
1772
  end
1875
1773
 
@@ -1879,10 +1777,8 @@ module Google
1879
1777
  # @param [String] fields
1880
1778
  # Selector specifying which fields to include in a partial response.
1881
1779
  # @param [String] quota_user
1882
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1883
- # characters.
1884
- # @param [String] user_ip
1885
- # Deprecated. Please use quotaUser instead.
1780
+ # Available to use for quota purposes for server-side applications. Can be any
1781
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1886
1782
  # @param [Google::Apis::RequestOptions] options
1887
1783
  # Request-specific options
1888
1784
  #
@@ -1895,31 +1791,28 @@ module Google
1895
1791
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1896
1792
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1897
1793
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1898
- def get_series(series_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1899
- command = make_simple_command(:get, 'series/get', options)
1794
+ def get_series(series_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1795
+ command = make_simple_command(:get, 'books/v1/series/get', options)
1900
1796
  command.response_representation = Google::Apis::BooksV1::Series::Representation
1901
1797
  command.response_class = Google::Apis::BooksV1::Series
1902
1798
  command.query['series_id'] = series_id unless series_id.nil?
1903
1799
  command.query['fields'] = fields unless fields.nil?
1904
1800
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1905
- command.query['userIp'] = user_ip unless user_ip.nil?
1906
1801
  execute_or_queue_command(command, &block)
1907
1802
  end
1908
1803
 
1909
1804
  # Returns Series membership data given the series id.
1910
- # @param [String] series_id
1911
- # String that identifies the series
1912
1805
  # @param [Fixnum] page_size
1913
1806
  # Number of maximum results per page to be included in the response.
1914
1807
  # @param [String] page_token
1915
1808
  # The value of the nextToken from the previous page.
1809
+ # @param [String] series_id
1810
+ # String that identifies the series
1916
1811
  # @param [String] fields
1917
1812
  # Selector specifying which fields to include in a partial response.
1918
1813
  # @param [String] quota_user
1919
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1920
- # characters.
1921
- # @param [String] user_ip
1922
- # 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.
1923
1816
  # @param [Google::Apis::RequestOptions] options
1924
1817
  # Request-specific options
1925
1818
  #
@@ -1932,8 +1825,8 @@ module Google
1932
1825
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1933
1826
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1934
1827
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1935
- def get_series_membership(series_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1936
- command = make_simple_command(:get, 'series/membership/get', options)
1828
+ def get_series_membership(page_size: nil, page_token: nil, series_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1829
+ command = make_simple_command(:get, 'books/v1/series/membership/get', options)
1937
1830
  command.response_representation = Google::Apis::BooksV1::SeriesMembership::Representation
1938
1831
  command.response_class = Google::Apis::BooksV1::SeriesMembership
1939
1832
  command.query['page_size'] = page_size unless page_size.nil?
@@ -1941,7 +1834,6 @@ module Google
1941
1834
  command.query['series_id'] = series_id unless series_id.nil?
1942
1835
  command.query['fields'] = fields unless fields.nil?
1943
1836
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1944
- command.query['userIp'] = user_ip unless user_ip.nil?
1945
1837
  execute_or_queue_command(command, &block)
1946
1838
  end
1947
1839
 
@@ -1957,15 +1849,13 @@ module Google
1957
1849
  # @param [String] projection
1958
1850
  # Restrict information returned to a set of selected fields.
1959
1851
  # @param [String] source
1960
- # String to identify the originator of this request.
1852
+ # string to identify the originator of this request.
1961
1853
  # @param [Boolean] user_library_consistent_read
1962
1854
  # @param [String] fields
1963
1855
  # Selector specifying which fields to include in a partial response.
1964
1856
  # @param [String] quota_user
1965
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1966
- # characters.
1967
- # @param [String] user_ip
1968
- # Deprecated. Please use quotaUser instead.
1857
+ # Available to use for quota purposes for server-side applications. Can be any
1858
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1969
1859
  # @param [Google::Apis::RequestOptions] options
1970
1860
  # Request-specific options
1971
1861
  #
@@ -1978,8 +1868,8 @@ module Google
1978
1868
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1979
1869
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1980
1870
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1981
- def get_volume(volume_id, country: nil, include_non_comics_series: nil, partner: nil, projection: nil, source: nil, user_library_consistent_read: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1982
- command = make_simple_command(:get, 'volumes/{volumeId}', options)
1871
+ def get_volume(volume_id, country: nil, include_non_comics_series: nil, partner: nil, projection: nil, source: nil, user_library_consistent_read: nil, fields: nil, quota_user: nil, options: nil, &block)
1872
+ command = make_simple_command(:get, 'books/v1/volumes/{volumeId}', options)
1983
1873
  command.response_representation = Google::Apis::BooksV1::Volume::Representation
1984
1874
  command.response_class = Google::Apis::BooksV1::Volume
1985
1875
  command.params['volumeId'] = volume_id unless volume_id.nil?
@@ -1991,13 +1881,10 @@ module Google
1991
1881
  command.query['user_library_consistent_read'] = user_library_consistent_read unless user_library_consistent_read.nil?
1992
1882
  command.query['fields'] = fields unless fields.nil?
1993
1883
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1994
- command.query['userIp'] = user_ip unless user_ip.nil?
1995
1884
  execute_or_queue_command(command, &block)
1996
1885
  end
1997
1886
 
1998
1887
  # Performs a book search.
1999
- # @param [String] q
2000
- # Full-text search query string.
2001
1888
  # @param [String] download
2002
1889
  # Restrict to volumes by download availability.
2003
1890
  # @param [String] filter
@@ -2007,8 +1894,8 @@ module Google
2007
1894
  # @param [String] library_restrict
2008
1895
  # Restrict search to this user's library.
2009
1896
  # @param [String] max_allowed_maturity_rating
2010
- # The maximum allowed maturity rating of returned recommendations. Books with a
2011
- # higher maturity rating are filtered out.
1897
+ # The maximum allowed maturity rating of returned recommendations. Books with
1898
+ # a higher maturity rating are filtered out.
2012
1899
  # @param [Fixnum] max_results
2013
1900
  # Maximum number of results to return.
2014
1901
  # @param [String] order_by
@@ -2019,6 +1906,8 @@ module Google
2019
1906
  # Restrict to books or magazines.
2020
1907
  # @param [String] projection
2021
1908
  # Restrict information returned to a set of selected fields.
1909
+ # @param [String] q
1910
+ # Full-text search query string.
2022
1911
  # @param [Boolean] show_preorders
2023
1912
  # Set to true to show books available for preorder. Defaults to false.
2024
1913
  # @param [String] source
@@ -2028,10 +1917,8 @@ module Google
2028
1917
  # @param [String] fields
2029
1918
  # Selector specifying which fields to include in a partial response.
2030
1919
  # @param [String] quota_user
2031
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2032
- # characters.
2033
- # @param [String] user_ip
2034
- # Deprecated. Please use quotaUser instead.
1920
+ # Available to use for quota purposes for server-side applications. Can be any
1921
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2035
1922
  # @param [Google::Apis::RequestOptions] options
2036
1923
  # Request-specific options
2037
1924
  #
@@ -2044,8 +1931,8 @@ module Google
2044
1931
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2045
1932
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2046
1933
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2047
- def list_volumes(q, download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_allowed_maturity_rating: nil, max_results: nil, order_by: nil, partner: nil, print_type: nil, projection: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2048
- command = make_simple_command(:get, 'volumes', options)
1934
+ def list_volumes(download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_allowed_maturity_rating: nil, max_results: nil, order_by: nil, partner: nil, print_type: nil, projection: nil, q: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, options: nil, &block)
1935
+ command = make_simple_command(:get, 'books/v1/volumes', options)
2049
1936
  command.response_representation = Google::Apis::BooksV1::Volumes::Representation
2050
1937
  command.response_class = Google::Apis::BooksV1::Volumes
2051
1938
  command.query['download'] = download unless download.nil?
@@ -2064,7 +1951,6 @@ module Google
2064
1951
  command.query['startIndex'] = start_index unless start_index.nil?
2065
1952
  command.query['fields'] = fields unless fields.nil?
2066
1953
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2067
- command.query['userIp'] = user_ip unless user_ip.nil?
2068
1954
  execute_or_queue_command(command, &block)
2069
1955
  end
2070
1956
 
@@ -2077,17 +1963,15 @@ module Google
2077
1963
  # ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
2078
1964
  # generating recommendations.
2079
1965
  # @param [String] max_allowed_maturity_rating
2080
- # The maximum allowed maturity rating of returned recommendations. Books with a
2081
- # higher maturity rating are filtered out.
1966
+ # The maximum allowed maturity rating of returned recommendations. Books with
1967
+ # a higher maturity rating are filtered out.
2082
1968
  # @param [String] source
2083
1969
  # String to identify the originator of this request.
2084
1970
  # @param [String] fields
2085
1971
  # Selector specifying which fields to include in a partial response.
2086
1972
  # @param [String] quota_user
2087
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2088
- # characters.
2089
- # @param [String] user_ip
2090
- # Deprecated. Please use quotaUser instead.
1973
+ # Available to use for quota purposes for server-side applications. Can be any
1974
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2091
1975
  # @param [Google::Apis::RequestOptions] options
2092
1976
  # Request-specific options
2093
1977
  #
@@ -2100,8 +1984,8 @@ module Google
2100
1984
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2101
1985
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2102
1986
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2103
- def list_associated_volumes(volume_id, association: nil, locale: nil, max_allowed_maturity_rating: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2104
- command = make_simple_command(:get, 'volumes/{volumeId}/associated', options)
1987
+ def list_associated_volumes(volume_id, association: nil, locale: nil, max_allowed_maturity_rating: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
1988
+ command = make_simple_command(:get, 'books/v1/volumes/{volumeId}/associated', options)
2105
1989
  command.response_representation = Google::Apis::BooksV1::Volumes::Representation
2106
1990
  command.response_class = Google::Apis::BooksV1::Volumes
2107
1991
  command.params['volumeId'] = volume_id unless volume_id.nil?
@@ -2111,7 +1995,6 @@ module Google
2111
1995
  command.query['source'] = source unless source.nil?
2112
1996
  command.query['fields'] = fields unless fields.nil?
2113
1997
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2114
- command.query['userIp'] = user_ip unless user_ip.nil?
2115
1998
  execute_or_queue_command(command, &block)
2116
1999
  end
2117
2000
 
@@ -2126,8 +2009,8 @@ module Google
2126
2009
  # @param [Fixnum] max_results
2127
2010
  # Maximum number of results to return.
2128
2011
  # @param [Array<String>, String] processing_state
2129
- # The processing state of the user uploaded volumes to be returned. Applicable
2130
- # only if the UPLOADED is specified in the acquireMethod.
2012
+ # The processing state of the user uploaded volumes to be returned.
2013
+ # Applicable only if the UPLOADED is specified in the acquireMethod.
2131
2014
  # @param [String] source
2132
2015
  # String to identify the originator of this request.
2133
2016
  # @param [Fixnum] start_index
@@ -2135,10 +2018,8 @@ module Google
2135
2018
  # @param [String] fields
2136
2019
  # Selector specifying which fields to include in a partial response.
2137
2020
  # @param [String] quota_user
2138
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2139
- # characters.
2140
- # @param [String] user_ip
2141
- # Deprecated. Please use quotaUser instead.
2021
+ # Available to use for quota purposes for server-side applications. Can be any
2022
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2142
2023
  # @param [Google::Apis::RequestOptions] options
2143
2024
  # Request-specific options
2144
2025
  #
@@ -2151,8 +2032,8 @@ module Google
2151
2032
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2152
2033
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2153
2034
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2154
- def list_my_books(acquire_method: nil, country: nil, locale: nil, max_results: nil, processing_state: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2155
- command = make_simple_command(:get, 'volumes/mybooks', options)
2035
+ def list_my_books(acquire_method: nil, country: nil, locale: nil, max_results: nil, processing_state: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, options: nil, &block)
2036
+ command = make_simple_command(:get, 'books/v1/volumes/mybooks', options)
2156
2037
  command.response_representation = Google::Apis::BooksV1::Volumes::Representation
2157
2038
  command.response_class = Google::Apis::BooksV1::Volumes
2158
2039
  command.query['acquireMethod'] = acquire_method unless acquire_method.nil?
@@ -2164,7 +2045,6 @@ module Google
2164
2045
  command.query['startIndex'] = start_index unless start_index.nil?
2165
2046
  command.query['fields'] = fields unless fields.nil?
2166
2047
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2167
- command.query['userIp'] = user_ip unless user_ip.nil?
2168
2048
  execute_or_queue_command(command, &block)
2169
2049
  end
2170
2050
 
@@ -2173,17 +2053,15 @@ module Google
2173
2053
  # ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
2174
2054
  # generating recommendations.
2175
2055
  # @param [String] max_allowed_maturity_rating
2176
- # The maximum allowed maturity rating of returned recommendations. Books with a
2177
- # higher maturity rating are filtered out.
2056
+ # The maximum allowed maturity rating of returned recommendations. Books with
2057
+ # a higher maturity rating are filtered out.
2178
2058
  # @param [String] source
2179
2059
  # String to identify the originator of this request.
2180
2060
  # @param [String] fields
2181
2061
  # Selector specifying which fields to include in a partial response.
2182
2062
  # @param [String] quota_user
2183
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2184
- # characters.
2185
- # @param [String] user_ip
2186
- # Deprecated. Please use quotaUser instead.
2063
+ # Available to use for quota purposes for server-side applications. Can be any
2064
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2187
2065
  # @param [Google::Apis::RequestOptions] options
2188
2066
  # Request-specific options
2189
2067
  #
@@ -2196,8 +2074,8 @@ module Google
2196
2074
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2197
2075
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2198
2076
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2199
- def list_recommended_volumes(locale: nil, max_allowed_maturity_rating: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2200
- command = make_simple_command(:get, 'volumes/recommended', options)
2077
+ def list_recommended_volumes(locale: nil, max_allowed_maturity_rating: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
2078
+ command = make_simple_command(:get, 'books/v1/volumes/recommended', options)
2201
2079
  command.response_representation = Google::Apis::BooksV1::Volumes::Representation
2202
2080
  command.response_class = Google::Apis::BooksV1::Volumes
2203
2081
  command.query['locale'] = locale unless locale.nil?
@@ -2205,27 +2083,24 @@ module Google
2205
2083
  command.query['source'] = source unless source.nil?
2206
2084
  command.query['fields'] = fields unless fields.nil?
2207
2085
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2208
- command.query['userIp'] = user_ip unless user_ip.nil?
2209
2086
  execute_or_queue_command(command, &block)
2210
2087
  end
2211
2088
 
2212
2089
  # Rate a recommended book for the current user.
2213
- # @param [String] rating
2214
- # Rating to be given to the volume.
2215
- # @param [String] volume_id
2216
- # ID of the source volume.
2217
2090
  # @param [String] locale
2218
2091
  # ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
2219
2092
  # generating recommendations.
2093
+ # @param [String] rating
2094
+ # Rating to be given to the volume.
2220
2095
  # @param [String] source
2221
2096
  # String to identify the originator of this request.
2097
+ # @param [String] volume_id
2098
+ # ID of the source volume.
2222
2099
  # @param [String] fields
2223
2100
  # Selector specifying which fields to include in a partial response.
2224
2101
  # @param [String] quota_user
2225
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2226
- # characters.
2227
- # @param [String] user_ip
2228
- # Deprecated. Please use quotaUser instead.
2102
+ # Available to use for quota purposes for server-side applications. Can be any
2103
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2229
2104
  # @param [Google::Apis::RequestOptions] options
2230
2105
  # Request-specific options
2231
2106
  #
@@ -2238,8 +2113,8 @@ module Google
2238
2113
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2239
2114
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2240
2115
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2241
- def rate_recommended_volume(rating, volume_id, locale: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2242
- command = make_simple_command(:post, 'volumes/recommended/rate', options)
2116
+ def rate_recommended_volume(locale: nil, rating: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2117
+ command = make_simple_command(:post, 'books/v1/volumes/recommended/rate', options)
2243
2118
  command.response_representation = Google::Apis::BooksV1::RateRecommendedVolumeResponse::Representation
2244
2119
  command.response_class = Google::Apis::BooksV1::RateRecommendedVolumeResponse
2245
2120
  command.query['locale'] = locale unless locale.nil?
@@ -2248,7 +2123,6 @@ module Google
2248
2123
  command.query['volumeId'] = volume_id unless volume_id.nil?
2249
2124
  command.query['fields'] = fields unless fields.nil?
2250
2125
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2251
- command.query['userIp'] = user_ip unless user_ip.nil?
2252
2126
  execute_or_queue_command(command, &block)
2253
2127
  end
2254
2128
 
@@ -2270,10 +2144,8 @@ module Google
2270
2144
  # @param [String] fields
2271
2145
  # Selector specifying which fields to include in a partial response.
2272
2146
  # @param [String] quota_user
2273
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2274
- # characters.
2275
- # @param [String] user_ip
2276
- # Deprecated. Please use quotaUser instead.
2147
+ # Available to use for quota purposes for server-side applications. Can be any
2148
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2277
2149
  # @param [Google::Apis::RequestOptions] options
2278
2150
  # Request-specific options
2279
2151
  #
@@ -2286,8 +2158,8 @@ module Google
2286
2158
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2287
2159
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2288
2160
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2289
- def list_user_uploaded_volumes(locale: nil, max_results: nil, processing_state: nil, source: nil, start_index: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2290
- command = make_simple_command(:get, 'volumes/useruploaded', options)
2161
+ def list_user_uploaded_volumes(locale: nil, max_results: nil, processing_state: nil, source: nil, start_index: nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2162
+ command = make_simple_command(:get, 'books/v1/volumes/useruploaded', options)
2291
2163
  command.response_representation = Google::Apis::BooksV1::Volumes::Representation
2292
2164
  command.response_class = Google::Apis::BooksV1::Volumes
2293
2165
  command.query['locale'] = locale unless locale.nil?
@@ -2298,7 +2170,6 @@ module Google
2298
2170
  command.query['volumeId'] = volume_id unless volume_id.nil?
2299
2171
  command.query['fields'] = fields unless fields.nil?
2300
2172
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2301
- command.query['userIp'] = user_ip unless user_ip.nil?
2302
2173
  execute_or_queue_command(command, &block)
2303
2174
  end
2304
2175
 
@@ -2307,7 +2178,6 @@ module Google
2307
2178
  def apply_command_defaults(command)
2308
2179
  command.query['key'] = key unless key.nil?
2309
2180
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2310
- command.query['userIp'] = user_ip unless user_ip.nil?
2311
2181
  end
2312
2182
  end
2313
2183
  end