google-api-client 0.8.6 → 0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (497) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +20 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +7 -0
  5. data/.rubocop_todo.yml +63 -0
  6. data/.travis.yml +22 -0
  7. data/.yardopts +12 -0
  8. data/CHANGELOG.md +41 -2
  9. data/CONTRIBUTING.md +31 -0
  10. data/Gemfile +32 -2
  11. data/MIGRATING.md +171 -0
  12. data/README.md +181 -148
  13. data/Rakefile +1 -40
  14. data/api_names.yaml +1036 -0
  15. data/api_names_out.yaml +26053 -0
  16. data/bin/generate-api +95 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1335 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +446 -0
  20. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +872 -0
  21. data/generated/google/apis/adexchangeseller_v2_0.rb +38 -0
  22. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
  23. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +309 -0
  24. data/generated/google/apis/adexchangeseller_v2_0/service.rb +668 -0
  25. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  26. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  27. data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
  28. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  29. data/generated/google/apis/admin_directory_v1.rb +113 -0
  30. data/generated/google/apis/admin_directory_v1/classes.rb +3141 -0
  31. data/generated/google/apis/admin_directory_v1/representations.rb +1029 -0
  32. data/generated/google/apis/admin_directory_v1/service.rb +3818 -0
  33. data/generated/google/apis/admin_reports_v1.rb +38 -0
  34. data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
  35. data/generated/google/apis/admin_reports_v1/representations.rb +231 -0
  36. data/generated/google/apis/admin_reports_v1/service.rb +336 -0
  37. data/generated/google/apis/adsense_v1_4.rb +38 -0
  38. data/generated/google/apis/adsense_v1_4/classes.rb +1285 -0
  39. data/generated/google/apis/adsense_v1_4/representations.rb +494 -0
  40. data/generated/google/apis/adsense_v1_4/service.rb +1714 -0
  41. data/generated/google/apis/adsensehost_v4_1.rb +35 -0
  42. data/generated/google/apis/adsensehost_v4_1/classes.rb +834 -0
  43. data/generated/google/apis/adsensehost_v4_1/representations.rb +327 -0
  44. data/generated/google/apis/adsensehost_v4_1/service.rb +1164 -0
  45. data/generated/google/apis/analytics_v3.rb +49 -0
  46. data/generated/google/apis/analytics_v3/classes.rb +5118 -0
  47. data/generated/google/apis/analytics_v3/representations.rb +1662 -0
  48. data/generated/google/apis/analytics_v3/service.rb +3568 -0
  49. data/generated/google/apis/androidenterprise_v1.rb +35 -0
  50. data/generated/google/apis/androidenterprise_v1/classes.rb +1443 -0
  51. data/generated/google/apis/androidenterprise_v1/representations.rb +538 -0
  52. data/generated/google/apis/androidenterprise_v1/service.rb +2602 -0
  53. data/generated/google/apis/androidpublisher_v2.rb +34 -0
  54. data/generated/google/apis/androidpublisher_v2/classes.rb +1411 -0
  55. data/generated/google/apis/androidpublisher_v2/representations.rb +646 -0
  56. data/generated/google/apis/androidpublisher_v2/service.rb +2338 -0
  57. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  58. data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
  59. data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
  60. data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
  61. data/generated/google/apis/appsactivity_v1.rb +46 -0
  62. data/generated/google/apis/appsactivity_v1/classes.rb +392 -0
  63. data/generated/google/apis/appsactivity_v1/representations.rb +184 -0
  64. data/generated/google/apis/appsactivity_v1/service.rb +128 -0
  65. data/generated/google/apis/appstate_v1.rb +34 -0
  66. data/generated/google/apis/appstate_v1/classes.rb +154 -0
  67. data/generated/google/apis/appstate_v1/representations.rb +79 -0
  68. data/generated/google/apis/appstate_v1/service.rb +260 -0
  69. data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
  70. data/generated/google/apis/autoscaler_v1beta2/classes.rb +747 -0
  71. data/generated/google/apis/autoscaler_v1beta2/representations.rb +281 -0
  72. data/generated/google/apis/autoscaler_v1beta2/service.rb +478 -0
  73. data/generated/google/apis/bigquery_v2.rb +52 -0
  74. data/generated/google/apis/bigquery_v2/classes.rb +2471 -0
  75. data/generated/google/apis/bigquery_v2/representations.rb +816 -0
  76. data/generated/google/apis/bigquery_v2/service.rb +982 -0
  77. data/generated/google/apis/blogger_v3.rb +37 -0
  78. data/generated/google/apis/blogger_v3/classes.rb +1354 -0
  79. data/generated/google/apis/blogger_v3/representations.rb +562 -0
  80. data/generated/google/apis/blogger_v3/service.rb +1587 -0
  81. data/generated/google/apis/books_v1.rb +34 -0
  82. data/generated/google/apis/books_v1/classes.rb +3956 -0
  83. data/generated/google/apis/books_v1/representations.rb +1538 -0
  84. data/generated/google/apis/books_v1/service.rb +2290 -0
  85. data/generated/google/apis/calendar_v3.rb +37 -0
  86. data/generated/google/apis/calendar_v3/classes.rb +1742 -0
  87. data/generated/google/apis/calendar_v3/representations.rb +567 -0
  88. data/generated/google/apis/calendar_v3/service.rb +1968 -0
  89. data/{lib/google/api_client/service_account.rb → generated/google/apis/civicinfo_v2.rb} +18 -8
  90. data/generated/google/apis/civicinfo_v2/classes.rb +1127 -0
  91. data/generated/google/apis/civicinfo_v2/representations.rb +383 -0
  92. data/generated/google/apis/civicinfo_v2/service.rb +279 -0
  93. data/generated/google/apis/classroom_v1.rb +49 -0
  94. data/generated/google/apis/classroom_v1/classes.rb +512 -0
  95. data/generated/google/apis/classroom_v1/representations.rb +217 -0
  96. data/generated/google/apis/classroom_v1/service.rb +970 -0
  97. data/generated/google/apis/classroom_v1beta1.rb +49 -0
  98. data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
  99. data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
  100. data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
  101. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  102. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  103. data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
  104. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  105. data/generated/google/apis/clouddebugger_v2.rb +41 -0
  106. data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
  107. data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
  108. data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
  109. data/generated/google/apis/cloudmonitoring_v2beta2.rb +37 -0
  110. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
  111. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +311 -0
  112. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +452 -0
  113. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
  114. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +437 -0
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +188 -0
  116. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +623 -0
  117. data/generated/google/apis/cloudtrace_v1.rb +35 -0
  118. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  119. data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
  120. data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
  121. data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
  122. data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
  123. data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
  124. data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
  125. data/generated/google/apis/compute_beta.rb +49 -0
  126. data/generated/google/apis/compute_beta/classes.rb +9128 -0
  127. data/generated/google/apis/compute_beta/representations.rb +3048 -0
  128. data/generated/google/apis/compute_beta/service.rb +10154 -0
  129. data/generated/google/apis/compute_v1.rb +49 -0
  130. data/generated/google/apis/compute_v1/classes.rb +8681 -0
  131. data/generated/google/apis/compute_v1/representations.rb +2895 -0
  132. data/generated/google/apis/compute_v1/service.rb +9252 -0
  133. data/generated/google/apis/container_v1.rb +35 -0
  134. data/generated/google/apis/container_v1/classes.rb +463 -0
  135. data/generated/google/apis/container_v1/representations.rb +175 -0
  136. data/generated/google/apis/container_v1/service.rb +367 -0
  137. data/generated/google/apis/container_v1beta1.rb +35 -0
  138. data/generated/google/apis/container_v1beta1/classes.rb +466 -0
  139. data/generated/google/apis/container_v1beta1/representations.rb +177 -0
  140. data/generated/google/apis/container_v1beta1/service.rb +394 -0
  141. data/generated/google/apis/content_v2.rb +35 -0
  142. data/generated/google/apis/content_v2/classes.rb +5986 -0
  143. data/generated/google/apis/content_v2/representations.rb +2288 -0
  144. data/generated/google/apis/content_v2/service.rb +2338 -0
  145. data/generated/google/apis/coordinate_v1.rb +37 -0
  146. data/generated/google/apis/coordinate_v1/classes.rb +669 -0
  147. data/generated/google/apis/coordinate_v1/representations.rb +285 -0
  148. data/generated/google/apis/coordinate_v1/service.rb +678 -0
  149. data/{lib/google/api_client/auth/compute_service_account.rb → generated/google/apis/customsearch_v1.rb} +13 -10
  150. data/generated/google/apis/customsearch_v1/classes.rb +771 -0
  151. data/generated/google/apis/customsearch_v1/representations.rb +276 -0
  152. data/generated/google/apis/customsearch_v1/service.rb +207 -0
  153. data/generated/google/apis/datastore_v1beta2.rb +40 -0
  154. data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
  155. data/generated/google/apis/datastore_v1beta2/representations.rb +526 -0
  156. data/generated/google/apis/datastore_v1beta2/service.rb +294 -0
  157. data/generated/google/apis/deploymentmanager_v2.rb +44 -0
  158. data/generated/google/apis/deploymentmanager_v2/classes.rb +1091 -0
  159. data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
  160. data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
  161. data/generated/google/apis/deploymentmanager_v2beta2.rb +44 -0
  162. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +843 -0
  163. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +306 -0
  164. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +689 -0
  165. data/generated/google/apis/dfareporting_v2_1.rb +37 -0
  166. data/generated/google/apis/dfareporting_v2_1/classes.rb +10770 -0
  167. data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
  168. data/generated/google/apis/dfareporting_v2_1/service.rb +8585 -0
  169. data/generated/google/apis/discovery_v1.rb +32 -0
  170. data/generated/google/apis/discovery_v1/classes.rb +961 -0
  171. data/generated/google/apis/discovery_v1/representations.rb +357 -0
  172. data/generated/google/apis/discovery_v1/service.rb +142 -0
  173. data/generated/google/apis/dns_v1.rb +44 -0
  174. data/generated/google/apis/dns_v1/classes.rb +406 -0
  175. data/generated/google/apis/dns_v1/representations.rb +151 -0
  176. data/generated/google/apis/dns_v1/service.rb +454 -0
  177. data/generated/google/apis/doubleclickbidmanager_v1.rb +31 -0
  178. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +716 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +298 -0
  180. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +341 -0
  181. data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
  182. data/generated/google/apis/doubleclicksearch_v2/classes.rb +956 -0
  183. data/generated/google/apis/doubleclicksearch_v2/representations.rb +316 -0
  184. data/generated/google/apis/doubleclicksearch_v2/service.rb +480 -0
  185. data/generated/google/apis/drive_v2.rb +58 -0
  186. data/generated/google/apis/drive_v2/classes.rb +2562 -0
  187. data/generated/google/apis/drive_v2/representations.rb +795 -0
  188. data/generated/google/apis/drive_v2/service.rb +2696 -0
  189. data/generated/google/apis/drive_v3.rb +55 -0
  190. data/generated/google/apis/drive_v3/classes.rb +1534 -0
  191. data/generated/google/apis/drive_v3/representations.rb +497 -0
  192. data/generated/google/apis/drive_v3/service.rb +1541 -0
  193. data/generated/google/apis/fitness_v1.rb +49 -0
  194. data/generated/google/apis/fitness_v1/classes.rb +885 -0
  195. data/generated/google/apis/fitness_v1/representations.rb +320 -0
  196. data/generated/google/apis/fitness_v1/service.rb +675 -0
  197. data/generated/google/apis/fusiontables_v2.rb +37 -0
  198. data/generated/google/apis/fusiontables_v2/classes.rb +1048 -0
  199. data/generated/google/apis/fusiontables_v2/representations.rb +409 -0
  200. data/generated/google/apis/fusiontables_v2/service.rb +1463 -0
  201. data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
  202. data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
  203. data/generated/google/apis/games_configuration_v1configuration/representations.rb +206 -0
  204. data/generated/google/apis/games_configuration_v1configuration/service.rb +565 -0
  205. data/generated/google/apis/games_management_v1management.rb +37 -0
  206. data/generated/google/apis/games_management_v1management/classes.rb +524 -0
  207. data/generated/google/apis/games_management_v1management/representations.rb +231 -0
  208. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  209. data/generated/google/apis/games_v1.rb +40 -0
  210. data/generated/google/apis/games_v1/classes.rb +4617 -0
  211. data/generated/google/apis/games_v1/representations.rb +1584 -0
  212. data/generated/google/apis/games_v1/service.rb +2290 -0
  213. data/generated/google/apis/gan_v1beta1.rb +31 -0
  214. data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
  215. data/generated/google/apis/gan_v1beta1/representations.rb +428 -0
  216. data/generated/google/apis/gan_v1beta1/service.rb +682 -0
  217. data/generated/google/apis/genomics_v1.rb +49 -0
  218. data/generated/google/apis/genomics_v1/classes.rb +2609 -0
  219. data/generated/google/apis/genomics_v1/representations.rb +909 -0
  220. data/generated/google/apis/genomics_v1/service.rb +1676 -0
  221. data/generated/google/apis/genomics_v1beta2.rb +46 -0
  222. data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
  223. data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
  224. data/generated/google/apis/genomics_v1beta2/service.rb +2392 -0
  225. data/generated/google/apis/gmail_v1.rb +52 -0
  226. data/generated/google/apis/gmail_v1/classes.rb +794 -0
  227. data/generated/google/apis/gmail_v1/representations.rb +339 -0
  228. data/generated/google/apis/gmail_v1/service.rb +1470 -0
  229. data/generated/google/apis/groupsmigration_v1.rb +34 -0
  230. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  231. data/generated/google/apis/groupsmigration_v1/representations.rb +38 -0
  232. data/generated/google/apis/groupsmigration_v1/service.rb +110 -0
  233. data/generated/google/apis/groupssettings_v1.rb +34 -0
  234. data/generated/google/apis/groupssettings_v1/classes.rb +221 -0
  235. data/generated/google/apis/groupssettings_v1/representations.rb +64 -0
  236. data/generated/google/apis/groupssettings_v1/service.rb +179 -0
  237. data/generated/google/apis/identitytoolkit_v3.rb +31 -0
  238. data/generated/google/apis/identitytoolkit_v3/classes.rb +1466 -0
  239. data/generated/google/apis/identitytoolkit_v3/representations.rb +509 -0
  240. data/generated/google/apis/identitytoolkit_v3/service.rb +581 -0
  241. data/{spec/google/api_client/request_spec.rb → generated/google/apis/kgsearch_v1.rb} +16 -13
  242. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  243. data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
  244. data/generated/google/apis/kgsearch_v1/service.rb +111 -0
  245. data/generated/google/apis/licensing_v1.rb +34 -0
  246. data/generated/google/apis/licensing_v1/classes.rb +132 -0
  247. data/generated/google/apis/licensing_v1/representations.rb +68 -0
  248. data/generated/google/apis/licensing_v1/service.rb +369 -0
  249. data/generated/google/apis/logging_v1beta3.rb +47 -0
  250. data/generated/google/apis/logging_v1beta3/classes.rb +1079 -0
  251. data/generated/google/apis/logging_v1beta3/representations.rb +366 -0
  252. data/generated/google/apis/logging_v1beta3/service.rb +1001 -0
  253. data/generated/google/apis/manager_v1beta2.rb +53 -0
  254. data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
  255. data/generated/google/apis/manager_v1beta2/representations.rb +536 -0
  256. data/generated/google/apis/manager_v1beta2/service.rb +372 -0
  257. data/generated/google/apis/mapsengine_v1.rb +38 -0
  258. data/generated/google/apis/mapsengine_v1/classes.rb +2873 -0
  259. data/generated/google/apis/mapsengine_v1/representations.rb +1235 -0
  260. data/generated/google/apis/mapsengine_v1/service.rb +3388 -0
  261. data/generated/google/apis/mirror_v1.rb +37 -0
  262. data/generated/google/apis/mirror_v1/classes.rb +1072 -0
  263. data/generated/google/apis/mirror_v1/representations.rb +350 -0
  264. data/generated/google/apis/mirror_v1/service.rb +977 -0
  265. data/generated/google/apis/oauth2_v2.rb +43 -0
  266. data/generated/google/apis/oauth2_v2/classes.rb +245 -0
  267. data/generated/google/apis/oauth2_v2/representations.rb +94 -0
  268. data/generated/google/apis/oauth2_v2/service.rb +199 -0
  269. data/generated/google/apis/pagespeedonline_v2.rb +32 -0
  270. data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
  271. data/generated/google/apis/pagespeedonline_v2/representations.rb +244 -0
  272. data/generated/google/apis/pagespeedonline_v2/service.rb +119 -0
  273. data/generated/google/apis/partners_v2.rb +32 -0
  274. data/generated/google/apis/partners_v2/classes.rb +942 -0
  275. data/generated/google/apis/partners_v2/representations.rb +402 -0
  276. data/generated/google/apis/partners_v2/service.rb +400 -0
  277. data/generated/google/apis/plus_domains_v1.rb +61 -0
  278. data/generated/google/apis/plus_domains_v1/classes.rb +2609 -0
  279. data/generated/google/apis/plus_domains_v1/representations.rb +987 -0
  280. data/generated/google/apis/plus_domains_v1/service.rb +904 -0
  281. data/generated/google/apis/plus_v1.rb +43 -0
  282. data/generated/google/apis/plus_v1/classes.rb +2094 -0
  283. data/generated/google/apis/plus_v1/representations.rb +805 -0
  284. data/generated/google/apis/plus_v1/service.rb +470 -0
  285. data/generated/google/apis/prediction_v1_6.rb +44 -0
  286. data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
  287. data/generated/google/apis/prediction_v1_6/representations.rb +327 -0
  288. data/generated/google/apis/prediction_v1_6/service.rb +380 -0
  289. data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
  290. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
  291. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
  292. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
  293. data/generated/google/apis/pubsub_v1.rb +37 -0
  294. data/generated/google/apis/pubsub_v1/classes.rb +614 -0
  295. data/generated/google/apis/pubsub_v1/representations.rb +281 -0
  296. data/generated/google/apis/pubsub_v1/service.rb +774 -0
  297. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  298. data/generated/google/apis/pubsub_v1beta2/classes.rb +620 -0
  299. data/generated/google/apis/pubsub_v1beta2/representations.rb +282 -0
  300. data/generated/google/apis/pubsub_v1beta2/service.rb +774 -0
  301. data/generated/google/apis/qpx_express_v1.rb +31 -0
  302. data/generated/google/apis/qpx_express_v1/classes.rb +1268 -0
  303. data/generated/google/apis/qpx_express_v1/representations.rb +424 -0
  304. data/generated/google/apis/qpx_express_v1/service.rb +100 -0
  305. data/generated/google/apis/replicapool_v1beta2.rb +44 -0
  306. data/generated/google/apis/replicapool_v1beta2/classes.rb +631 -0
  307. data/generated/google/apis/replicapool_v1beta2/representations.rb +236 -0
  308. data/generated/google/apis/replicapool_v1beta2/service.rb +608 -0
  309. data/generated/google/apis/replicapoolupdater_v1beta1.rb +44 -0
  310. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +733 -0
  311. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +264 -0
  312. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +508 -0
  313. data/generated/google/apis/reseller_v1.rb +37 -0
  314. data/generated/google/apis/reseller_v1/classes.rb +520 -0
  315. data/generated/google/apis/reseller_v1/representations.rb +200 -0
  316. data/generated/google/apis/reseller_v1/service.rb +623 -0
  317. data/generated/google/apis/resourceviews_v1beta2.rb +50 -0
  318. data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
  319. data/generated/google/apis/resourceviews_v1beta2/representations.rb +269 -0
  320. data/generated/google/apis/resourceviews_v1beta2/service.rb +563 -0
  321. data/generated/google/apis/script_v1.rb +61 -0
  322. data/generated/google/apis/script_v1/classes.rb +259 -0
  323. data/generated/google/apis/script_v1/representations.rb +106 -0
  324. data/generated/google/apis/script_v1/service.rb +98 -0
  325. data/generated/google/apis/site_verification_v1.rb +37 -0
  326. data/generated/google/apis/site_verification_v1/classes.rb +185 -0
  327. data/generated/google/apis/site_verification_v1/representations.rb +101 -0
  328. data/generated/google/apis/site_verification_v1/service.rb +315 -0
  329. data/generated/google/apis/sqladmin_v1beta4.rb +37 -0
  330. data/generated/google/apis/sqladmin_v1beta4/classes.rb +2001 -0
  331. data/generated/google/apis/sqladmin_v1beta4/representations.rb +758 -0
  332. data/generated/google/apis/sqladmin_v1beta4/service.rb +1625 -0
  333. data/generated/google/apis/storage_v1.rb +46 -0
  334. data/generated/google/apis/storage_v1/classes.rb +1222 -0
  335. data/generated/google/apis/storage_v1/representations.rb +445 -0
  336. data/generated/google/apis/storage_v1/service.rb +1903 -0
  337. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  338. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  339. data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
  340. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  341. data/generated/google/apis/tagmanager_v1.rb +52 -0
  342. data/generated/google/apis/tagmanager_v1/classes.rb +1384 -0
  343. data/generated/google/apis/tagmanager_v1/representations.rb +515 -0
  344. data/generated/google/apis/tagmanager_v1/service.rb +1817 -0
  345. data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
  346. data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
  347. data/generated/google/apis/taskqueue_v1beta2/representations.rb +114 -0
  348. data/generated/google/apis/taskqueue_v1beta2/service.rb +408 -0
  349. data/generated/google/apis/tasks_v1.rb +37 -0
  350. data/generated/google/apis/tasks_v1/classes.rb +296 -0
  351. data/generated/google/apis/tasks_v1/representations.rb +115 -0
  352. data/generated/google/apis/tasks_v1/service.rb +643 -0
  353. data/generated/google/apis/translate_v2.rb +31 -0
  354. data/generated/google/apis/translate_v2/classes.rb +168 -0
  355. data/generated/google/apis/translate_v2/representations.rb +109 -0
  356. data/generated/google/apis/translate_v2/service.rb +182 -0
  357. data/generated/google/apis/urlshortener_v1.rb +34 -0
  358. data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
  359. data/generated/google/apis/urlshortener_v1/representations.rb +111 -0
  360. data/generated/google/apis/urlshortener_v1/service.rb +176 -0
  361. data/generated/google/apis/webmasters_v3.rb +37 -0
  362. data/generated/google/apis/webmasters_v3/classes.rb +563 -0
  363. data/generated/google/apis/webmasters_v3/representations.rb +250 -0
  364. data/generated/google/apis/webmasters_v3/service.rb +573 -0
  365. data/generated/google/apis/youtube_analytics_v1.rb +46 -0
  366. data/generated/google/apis/youtube_analytics_v1/classes.rb +546 -0
  367. data/generated/google/apis/youtube_analytics_v1/representations.rb +243 -0
  368. data/generated/google/apis/youtube_analytics_v1/service.rb +562 -0
  369. data/generated/google/apis/youtube_v3.rb +49 -0
  370. data/generated/google/apis/youtube_v3/classes.rb +8136 -0
  371. data/generated/google/apis/youtube_v3/representations.rb +2838 -0
  372. data/generated/google/apis/youtube_v3/service.rb +4403 -0
  373. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  374. data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
  375. data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
  376. data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
  377. data/google-api-client.gemspec +27 -39
  378. data/lib/google/api_client/auth/installed_app.rb +7 -5
  379. data/lib/google/api_client/auth/key_utils.rb +1 -0
  380. data/lib/google/api_client/auth/storage.rb +4 -2
  381. data/lib/google/api_client/auth/storages/file_store.rb +2 -3
  382. data/lib/google/api_client/auth/storages/redis_store.rb +7 -2
  383. data/lib/google/api_client/client_secrets.rb +4 -5
  384. data/lib/google/apis.rb +48 -0
  385. data/lib/google/apis/core/api_command.rb +135 -0
  386. data/lib/google/apis/core/base_service.rb +317 -0
  387. data/lib/google/apis/core/batch.rb +239 -0
  388. data/lib/google/apis/core/download.rb +94 -0
  389. data/lib/google/apis/core/hashable.rb +44 -0
  390. data/lib/google/apis/core/http_client_adapter.rb +82 -0
  391. data/lib/google/apis/core/http_command.rb +312 -0
  392. data/lib/google/apis/core/json_representation.rb +127 -0
  393. data/lib/google/{api_client/version.rb → apis/core/logging.rb} +12 -8
  394. data/lib/google/apis/core/multipart.rb +187 -0
  395. data/lib/google/apis/core/upload.rb +288 -0
  396. data/lib/google/{api_client → apis}/errors.rb +39 -28
  397. data/lib/google/apis/generator.rb +70 -0
  398. data/lib/google/apis/generator/annotator.rb +295 -0
  399. data/lib/google/apis/generator/helpers.rb +74 -0
  400. data/lib/google/apis/generator/model.rb +143 -0
  401. data/lib/google/apis/generator/template.rb +124 -0
  402. data/lib/google/apis/generator/templates/_class.tmpl +40 -0
  403. data/lib/google/apis/generator/templates/_method.tmpl +92 -0
  404. data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
  405. data/lib/google/apis/generator/templates/_representation_stub.tmpl +15 -0
  406. data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
  407. data/lib/google/{api_client/reference.rb → apis/generator/templates/classes.rb.tmpl} +11 -9
  408. data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
  409. data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
  410. data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
  411. data/lib/google/apis/options.rb +85 -0
  412. data/lib/google/apis/version.rb +39 -0
  413. data/rakelib/metrics.rake +22 -0
  414. data/rakelib/rubocop.rake +10 -0
  415. data/rakelib/spec.rake +11 -0
  416. data/rakelib/yard.rake +11 -0
  417. data/samples/Gemfile +7 -0
  418. data/samples/README.md +51 -0
  419. data/samples/google-api-samples +32 -0
  420. data/samples/lib/base_cli.rb +94 -0
  421. data/samples/lib/samples/analytics.rb +62 -0
  422. data/samples/lib/samples/calendar.rb +83 -0
  423. data/samples/lib/samples/drive.rb +82 -0
  424. data/samples/lib/samples/gmail.rb +50 -0
  425. data/samples/lib/samples/pubsub.rb +114 -0
  426. data/samples/lib/samples/translate.rb +44 -0
  427. data/samples/lib/samples/you_tube.rb +44 -0
  428. data/script/generate +95 -0
  429. data/script/package +8 -0
  430. data/script/release +15 -0
  431. data/spec/fixtures/files/api_names.yaml +3 -0
  432. data/spec/fixtures/files/auth_stored_credentials.json +8 -0
  433. data/spec/fixtures/files/child/.gitignore +0 -0
  434. data/spec/fixtures/files/client_secrets.json +1 -0
  435. data/spec/fixtures/files/invalid.json +1 -0
  436. data/spec/fixtures/files/test.blah +1 -0
  437. data/spec/fixtures/files/test.txt +1 -0
  438. data/spec/fixtures/files/test_api.json +440 -0
  439. data/spec/google/api_client/auth/storage_spec.rb +1 -3
  440. data/spec/google/api_client/auth/storages/file_store_spec.rb +1 -2
  441. data/spec/google/api_client/auth/storages/redis_store_spec.rb +1 -3
  442. data/spec/google/api_client/client_secrets_spec.rb +38 -1
  443. data/spec/google/apis/core/api_command_spec.rb +209 -0
  444. data/spec/google/apis/core/batch_spec.rb +142 -0
  445. data/spec/google/apis/core/download_spec.rb +103 -0
  446. data/spec/google/apis/core/hashable_spec.rb +60 -0
  447. data/spec/google/apis/core/http_command_spec.rb +284 -0
  448. data/spec/google/apis/core/json_representation_spec.rb +192 -0
  449. data/spec/google/apis/core/service_spec.rb +247 -0
  450. data/spec/google/apis/core/upload_spec.rb +300 -0
  451. data/{lib/google/api_client/discovery.rb → spec/google/apis/generated_spec.rb} +13 -5
  452. data/spec/google/apis/generator/generator_spec.rb +272 -0
  453. data/spec/google/apis/logging_spec.rb +45 -0
  454. data/spec/google/apis/options_spec.rb +40 -0
  455. data/spec/integration_tests/adsense_spec.rb +29 -0
  456. data/spec/integration_tests/drive_spec.rb +35 -0
  457. data/spec/integration_tests/pubsub_spec.rb +48 -0
  458. data/spec/integration_tests/url_shortener_spec.rb +45 -0
  459. data/spec/spec_helper.rb +131 -44
  460. data/spec/spec_helper/load_path_spec.rb +33 -0
  461. data/third_party/hurley_patches.rb +103 -0
  462. metadata +533 -170
  463. data/lib/compat/multi_json.rb +0 -19
  464. data/lib/google/api_client.rb +0 -750
  465. data/lib/google/api_client/auth/file_storage.rb +0 -59
  466. data/lib/google/api_client/auth/jwt_asserter.rb +0 -126
  467. data/lib/google/api_client/auth/pkcs12.rb +0 -41
  468. data/lib/google/api_client/batch.rb +0 -326
  469. data/lib/google/api_client/charset.rb +0 -33
  470. data/lib/google/api_client/discovery/api.rb +0 -310
  471. data/lib/google/api_client/discovery/media.rb +0 -77
  472. data/lib/google/api_client/discovery/method.rb +0 -363
  473. data/lib/google/api_client/discovery/resource.rb +0 -156
  474. data/lib/google/api_client/discovery/schema.rb +0 -117
  475. data/lib/google/api_client/environment.rb +0 -42
  476. data/lib/google/api_client/gzip.rb +0 -28
  477. data/lib/google/api_client/logging.rb +0 -32
  478. data/lib/google/api_client/media.rb +0 -259
  479. data/lib/google/api_client/railtie.rb +0 -18
  480. data/lib/google/api_client/request.rb +0 -350
  481. data/lib/google/api_client/result.rb +0 -255
  482. data/lib/google/api_client/service.rb +0 -233
  483. data/lib/google/api_client/service/batch.rb +0 -110
  484. data/lib/google/api_client/service/request.rb +0 -144
  485. data/lib/google/api_client/service/resource.rb +0 -40
  486. data/lib/google/api_client/service/result.rb +0 -162
  487. data/lib/google/api_client/service/simple_file_store.rb +0 -151
  488. data/lib/google/api_client/service/stub_generator.rb +0 -61
  489. data/spec/google/api_client/batch_spec.rb +0 -248
  490. data/spec/google/api_client/discovery_spec.rb +0 -708
  491. data/spec/google/api_client/gzip_spec.rb +0 -98
  492. data/spec/google/api_client/media_spec.rb +0 -178
  493. data/spec/google/api_client/result_spec.rb +0 -207
  494. data/spec/google/api_client/service_account_spec.rb +0 -169
  495. data/spec/google/api_client/service_spec.rb +0 -618
  496. data/spec/google/api_client/simple_file_store_spec.rb +0 -133
  497. data/spec/google/api_client_spec.rb +0 -352
@@ -0,0 +1,1538 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module BooksV1
24
+
25
+ class Annotation
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ class ClientVersionRanges
29
+ class Representation < Google::Apis::Core::JsonRepresentation; end
30
+ end
31
+
32
+ class CurrentVersionRanges
33
+ class Representation < Google::Apis::Core::JsonRepresentation; end
34
+ end
35
+
36
+ class LayerSummary
37
+ class Representation < Google::Apis::Core::JsonRepresentation; end
38
+ end
39
+ end
40
+
41
+ class AnnotationData
42
+ class Representation < Google::Apis::Core::JsonRepresentation; end
43
+ end
44
+
45
+ class Annotations
46
+ class Representation < Google::Apis::Core::JsonRepresentation; end
47
+ end
48
+
49
+ class AnnotationsSummary
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ class Layer
53
+ class Representation < Google::Apis::Core::JsonRepresentation; end
54
+ end
55
+ end
56
+
57
+ class AnnotationsData
58
+ class Representation < Google::Apis::Core::JsonRepresentation; end
59
+ end
60
+
61
+ class AnnotatinsRange
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+ end
64
+
65
+ class LoadingResource
66
+ class Representation < Google::Apis::Core::JsonRepresentation; end
67
+ end
68
+
69
+ class RateRecommendedVolumeResponse
70
+ class Representation < Google::Apis::Core::JsonRepresentation; end
71
+ end
72
+
73
+ class Bookshelf
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+ end
76
+
77
+ class Bookshelves
78
+ class Representation < Google::Apis::Core::JsonRepresentation; end
79
+ end
80
+
81
+ class Category
82
+ class Representation < Google::Apis::Core::JsonRepresentation; end
83
+
84
+ class Item
85
+ class Representation < Google::Apis::Core::JsonRepresentation; end
86
+ end
87
+ end
88
+
89
+ class ConcurrentAccessRestriction
90
+ class Representation < Google::Apis::Core::JsonRepresentation; end
91
+ end
92
+
93
+ class DictLayerData
94
+ class Representation < Google::Apis::Core::JsonRepresentation; end
95
+
96
+ class Common
97
+ class Representation < Google::Apis::Core::JsonRepresentation; end
98
+ end
99
+
100
+ class Dict
101
+ class Representation < Google::Apis::Core::JsonRepresentation; end
102
+
103
+ class Source
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+ end
106
+
107
+ class Word
108
+ class Representation < Google::Apis::Core::JsonRepresentation; end
109
+
110
+ class Derivative
111
+ class Representation < Google::Apis::Core::JsonRepresentation; end
112
+
113
+ class Source
114
+ class Representation < Google::Apis::Core::JsonRepresentation; end
115
+ end
116
+ end
117
+
118
+ class Example
119
+ class Representation < Google::Apis::Core::JsonRepresentation; end
120
+
121
+ class Source
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+ end
124
+ end
125
+
126
+ class Sense
127
+ class Representation < Google::Apis::Core::JsonRepresentation; end
128
+
129
+ class Conjugation
130
+ class Representation < Google::Apis::Core::JsonRepresentation; end
131
+ end
132
+
133
+ class Definition
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ class Example
137
+ class Representation < Google::Apis::Core::JsonRepresentation; end
138
+
139
+ class Source
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+ end
142
+ end
143
+ end
144
+
145
+ class Source
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+ end
148
+
149
+ class Synonym
150
+ class Representation < Google::Apis::Core::JsonRepresentation; end
151
+
152
+ class Source
153
+ class Representation < Google::Apis::Core::JsonRepresentation; end
154
+ end
155
+ end
156
+ end
157
+
158
+ class Source
159
+ class Representation < Google::Apis::Core::JsonRepresentation; end
160
+ end
161
+ end
162
+ end
163
+ end
164
+
165
+ class Discoveryclusters
166
+ class Representation < Google::Apis::Core::JsonRepresentation; end
167
+
168
+ class Cluster
169
+ class Representation < Google::Apis::Core::JsonRepresentation; end
170
+
171
+ class BannerWithContentContainer
172
+ class Representation < Google::Apis::Core::JsonRepresentation; end
173
+ end
174
+ end
175
+ end
176
+
177
+ class DownloadAccessRestriction
178
+ class Representation < Google::Apis::Core::JsonRepresentation; end
179
+ end
180
+
181
+ class DownloadAccesses
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+ end
184
+
185
+ class GeoLayerData
186
+ class Representation < Google::Apis::Core::JsonRepresentation; end
187
+
188
+ class Common
189
+ class Representation < Google::Apis::Core::JsonRepresentation; end
190
+ end
191
+
192
+ class Geo
193
+ class Representation < Google::Apis::Core::JsonRepresentation; end
194
+
195
+ class Boundary
196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
197
+ end
198
+
199
+ class Viewport
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ class Hi
203
+ class Representation < Google::Apis::Core::JsonRepresentation; end
204
+ end
205
+
206
+ class Lo
207
+ class Representation < Google::Apis::Core::JsonRepresentation; end
208
+ end
209
+ end
210
+ end
211
+ end
212
+
213
+ class LayerSummaries
214
+ class Representation < Google::Apis::Core::JsonRepresentation; end
215
+ end
216
+
217
+ class LayerSummary
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+ end
220
+
221
+ class Metadata
222
+ class Representation < Google::Apis::Core::JsonRepresentation; end
223
+
224
+ class Item
225
+ class Representation < Google::Apis::Core::JsonRepresentation; end
226
+ end
227
+ end
228
+
229
+ class Notification
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+ end
232
+
233
+ class Offers
234
+ class Representation < Google::Apis::Core::JsonRepresentation; end
235
+
236
+ class Item
237
+ class Representation < Google::Apis::Core::JsonRepresentation; end
238
+
239
+ class Item
240
+ class Representation < Google::Apis::Core::JsonRepresentation; end
241
+ end
242
+ end
243
+ end
244
+
245
+ class ReadingPosition
246
+ class Representation < Google::Apis::Core::JsonRepresentation; end
247
+ end
248
+
249
+ class RequestAccess
250
+ class Representation < Google::Apis::Core::JsonRepresentation; end
251
+ end
252
+
253
+ class Review
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ class Author
257
+ class Representation < Google::Apis::Core::JsonRepresentation; end
258
+ end
259
+
260
+ class Source
261
+ class Representation < Google::Apis::Core::JsonRepresentation; end
262
+ end
263
+ end
264
+
265
+ class Series
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ class Series
269
+ class Representation < Google::Apis::Core::JsonRepresentation; end
270
+ end
271
+ end
272
+
273
+ class SeriesMembership
274
+ class Representation < Google::Apis::Core::JsonRepresentation; end
275
+ end
276
+
277
+ class UserSettings
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ class NotesExport
281
+ class Representation < Google::Apis::Core::JsonRepresentation; end
282
+ end
283
+
284
+ class Notification
285
+ class Representation < Google::Apis::Core::JsonRepresentation; end
286
+
287
+ class MoreFromAuthors
288
+ class Representation < Google::Apis::Core::JsonRepresentation; end
289
+ end
290
+ end
291
+ end
292
+
293
+ class Volume
294
+ class Representation < Google::Apis::Core::JsonRepresentation; end
295
+
296
+ class AccessInfo
297
+ class Representation < Google::Apis::Core::JsonRepresentation; end
298
+
299
+ class Epub
300
+ class Representation < Google::Apis::Core::JsonRepresentation; end
301
+ end
302
+
303
+ class Pdf
304
+ class Representation < Google::Apis::Core::JsonRepresentation; end
305
+ end
306
+ end
307
+
308
+ class LayerInfo
309
+ class Representation < Google::Apis::Core::JsonRepresentation; end
310
+
311
+ class Layer
312
+ class Representation < Google::Apis::Core::JsonRepresentation; end
313
+ end
314
+ end
315
+
316
+ class RecommendedInfo
317
+ class Representation < Google::Apis::Core::JsonRepresentation; end
318
+ end
319
+
320
+ class SaleInfo
321
+ class Representation < Google::Apis::Core::JsonRepresentation; end
322
+
323
+ class ListPrice
324
+ class Representation < Google::Apis::Core::JsonRepresentation; end
325
+ end
326
+
327
+ class Offer
328
+ class Representation < Google::Apis::Core::JsonRepresentation; end
329
+
330
+ class ListPrice
331
+ class Representation < Google::Apis::Core::JsonRepresentation; end
332
+ end
333
+
334
+ class RentalDuration
335
+ class Representation < Google::Apis::Core::JsonRepresentation; end
336
+ end
337
+
338
+ class RetailPrice
339
+ class Representation < Google::Apis::Core::JsonRepresentation; end
340
+ end
341
+ end
342
+
343
+ class RetailPrice
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+ end
346
+ end
347
+
348
+ class SearchInfo
349
+ class Representation < Google::Apis::Core::JsonRepresentation; end
350
+ end
351
+
352
+ class UserInfo
353
+ class Representation < Google::Apis::Core::JsonRepresentation; end
354
+
355
+ class Copy
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+ end
358
+
359
+ class RentalPeriod
360
+ class Representation < Google::Apis::Core::JsonRepresentation; end
361
+ end
362
+
363
+ class UserUploadedVolumeInfo
364
+ class Representation < Google::Apis::Core::JsonRepresentation; end
365
+ end
366
+ end
367
+
368
+ class VolumeInfo
369
+ class Representation < Google::Apis::Core::JsonRepresentation; end
370
+
371
+ class Dimensions
372
+ class Representation < Google::Apis::Core::JsonRepresentation; end
373
+ end
374
+
375
+ class ImageLinks
376
+ class Representation < Google::Apis::Core::JsonRepresentation; end
377
+ end
378
+
379
+ class IndustryIdentifier
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+ end
382
+ end
383
+ end
384
+
385
+ class Volume2
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+ end
388
+
389
+ class VolumeAnnotation
390
+ class Representation < Google::Apis::Core::JsonRepresentation; end
391
+
392
+ class ContentRanges
393
+ class Representation < Google::Apis::Core::JsonRepresentation; end
394
+ end
395
+ end
396
+
397
+ class Volumeannotations
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+ end
400
+
401
+ class Volumes
402
+ class Representation < Google::Apis::Core::JsonRepresentation; end
403
+ end
404
+
405
+ class Volumeseriesinfo
406
+ class Representation < Google::Apis::Core::JsonRepresentation; end
407
+
408
+ class VolumeSeries
409
+ class Representation < Google::Apis::Core::JsonRepresentation; end
410
+
411
+ class Issue
412
+ class Representation < Google::Apis::Core::JsonRepresentation; end
413
+ end
414
+ end
415
+ end
416
+
417
+ class Annotation
418
+ # @private
419
+ class Representation < Google::Apis::Core::JsonRepresentation
420
+ property :after_selected_text, as: 'afterSelectedText'
421
+ property :before_selected_text, as: 'beforeSelectedText'
422
+ property :client_version_ranges, as: 'clientVersionRanges', class: Google::Apis::BooksV1::Annotation::ClientVersionRanges, decorator: Google::Apis::BooksV1::Annotation::ClientVersionRanges::Representation
423
+
424
+ property :created, as: 'created', type: DateTime
425
+
426
+ property :current_version_ranges, as: 'currentVersionRanges', class: Google::Apis::BooksV1::Annotation::CurrentVersionRanges, decorator: Google::Apis::BooksV1::Annotation::CurrentVersionRanges::Representation
427
+
428
+ property :data, as: 'data'
429
+ property :deleted, as: 'deleted'
430
+ property :highlight_style, as: 'highlightStyle'
431
+ property :id, as: 'id'
432
+ property :kind, as: 'kind'
433
+ property :layer_id, as: 'layerId'
434
+ property :layer_summary, as: 'layerSummary', class: Google::Apis::BooksV1::Annotation::LayerSummary, decorator: Google::Apis::BooksV1::Annotation::LayerSummary::Representation
435
+
436
+ collection :page_ids, as: 'pageIds'
437
+ property :selected_text, as: 'selectedText'
438
+ property :self_link, as: 'selfLink'
439
+ property :updated, as: 'updated', type: DateTime
440
+
441
+ property :volume_id, as: 'volumeId'
442
+ end
443
+
444
+ class ClientVersionRanges
445
+ # @private
446
+ class Representation < Google::Apis::Core::JsonRepresentation
447
+ property :cfi_range, as: 'cfiRange', class: Google::Apis::BooksV1::AnnotatinsRange, decorator: Google::Apis::BooksV1::AnnotatinsRange::Representation
448
+
449
+ property :content_version, as: 'contentVersion'
450
+ property :gb_image_range, as: 'gbImageRange', class: Google::Apis::BooksV1::AnnotatinsRange, decorator: Google::Apis::BooksV1::AnnotatinsRange::Representation
451
+
452
+ property :gb_text_range, as: 'gbTextRange', class: Google::Apis::BooksV1::AnnotatinsRange, decorator: Google::Apis::BooksV1::AnnotatinsRange::Representation
453
+
454
+ property :image_cfi_range, as: 'imageCfiRange', class: Google::Apis::BooksV1::AnnotatinsRange, decorator: Google::Apis::BooksV1::AnnotatinsRange::Representation
455
+
456
+ end
457
+ end
458
+
459
+ class CurrentVersionRanges
460
+ # @private
461
+ class Representation < Google::Apis::Core::JsonRepresentation
462
+ property :cfi_range, as: 'cfiRange', class: Google::Apis::BooksV1::AnnotatinsRange, decorator: Google::Apis::BooksV1::AnnotatinsRange::Representation
463
+
464
+ property :content_version, as: 'contentVersion'
465
+ property :gb_image_range, as: 'gbImageRange', class: Google::Apis::BooksV1::AnnotatinsRange, decorator: Google::Apis::BooksV1::AnnotatinsRange::Representation
466
+
467
+ property :gb_text_range, as: 'gbTextRange', class: Google::Apis::BooksV1::AnnotatinsRange, decorator: Google::Apis::BooksV1::AnnotatinsRange::Representation
468
+
469
+ property :image_cfi_range, as: 'imageCfiRange', class: Google::Apis::BooksV1::AnnotatinsRange, decorator: Google::Apis::BooksV1::AnnotatinsRange::Representation
470
+
471
+ end
472
+ end
473
+
474
+ class LayerSummary
475
+ # @private
476
+ class Representation < Google::Apis::Core::JsonRepresentation
477
+ property :allowed_character_count, as: 'allowedCharacterCount'
478
+ property :limit_type, as: 'limitType'
479
+ property :remaining_character_count, as: 'remainingCharacterCount'
480
+ end
481
+ end
482
+ end
483
+
484
+ class AnnotationData
485
+ # @private
486
+ class Representation < Google::Apis::Core::JsonRepresentation
487
+ property :annotation_type, as: 'annotationType'
488
+ property :data, as: 'data'
489
+ property :encoded_data, :base64 => true, as: 'encoded_data'
490
+ property :id, as: 'id'
491
+ property :kind, as: 'kind'
492
+ property :layer_id, as: 'layerId'
493
+ property :self_link, as: 'selfLink'
494
+ property :updated, as: 'updated', type: DateTime
495
+
496
+ property :volume_id, as: 'volumeId'
497
+ end
498
+ end
499
+
500
+ class Annotations
501
+ # @private
502
+ class Representation < Google::Apis::Core::JsonRepresentation
503
+ collection :items, as: 'items', class: Google::Apis::BooksV1::Annotation, decorator: Google::Apis::BooksV1::Annotation::Representation
504
+
505
+ property :kind, as: 'kind'
506
+ property :next_page_token, as: 'nextPageToken'
507
+ property :total_items, as: 'totalItems'
508
+ end
509
+ end
510
+
511
+ class AnnotationsSummary
512
+ # @private
513
+ class Representation < Google::Apis::Core::JsonRepresentation
514
+ property :kind, as: 'kind'
515
+ collection :layers, as: 'layers', class: Google::Apis::BooksV1::AnnotationsSummary::Layer, decorator: Google::Apis::BooksV1::AnnotationsSummary::Layer::Representation
516
+
517
+ end
518
+
519
+ class Layer
520
+ # @private
521
+ class Representation < Google::Apis::Core::JsonRepresentation
522
+ property :allowed_character_count, as: 'allowedCharacterCount'
523
+ property :layer_id, as: 'layerId'
524
+ property :limit_type, as: 'limitType'
525
+ property :remaining_character_count, as: 'remainingCharacterCount'
526
+ property :updated, as: 'updated', type: DateTime
527
+
528
+ end
529
+ end
530
+ end
531
+
532
+ class AnnotationsData
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ collection :items, as: 'items', class: Google::Apis::BooksV1::AnnotationData, decorator: Google::Apis::BooksV1::AnnotationData::Representation
536
+
537
+ property :kind, as: 'kind'
538
+ property :next_page_token, as: 'nextPageToken'
539
+ property :total_items, as: 'totalItems'
540
+ end
541
+ end
542
+
543
+ class AnnotatinsRange
544
+ # @private
545
+ class Representation < Google::Apis::Core::JsonRepresentation
546
+ property :end_offset, as: 'endOffset'
547
+ property :end_position, as: 'endPosition'
548
+ property :start_offset, as: 'startOffset'
549
+ property :start_position, as: 'startPosition'
550
+ end
551
+ end
552
+
553
+ class LoadingResource
554
+ # @private
555
+ class Representation < Google::Apis::Core::JsonRepresentation
556
+ property :author, as: 'author'
557
+ property :processing_state, as: 'processingState'
558
+ property :title, as: 'title'
559
+ property :volume_id, as: 'volumeId'
560
+ end
561
+ end
562
+
563
+ class RateRecommendedVolumeResponse
564
+ # @private
565
+ class Representation < Google::Apis::Core::JsonRepresentation
566
+ property :consistency_token, as: 'consistency_token'
567
+ end
568
+ end
569
+
570
+ class Bookshelf
571
+ # @private
572
+ class Representation < Google::Apis::Core::JsonRepresentation
573
+ property :access, as: 'access'
574
+ property :created, as: 'created', type: DateTime
575
+
576
+ property :description, as: 'description'
577
+ property :id, as: 'id'
578
+ property :kind, as: 'kind'
579
+ property :self_link, as: 'selfLink'
580
+ property :title, as: 'title'
581
+ property :updated, as: 'updated', type: DateTime
582
+
583
+ property :volume_count, as: 'volumeCount'
584
+ property :volumes_last_updated, as: 'volumesLastUpdated', type: DateTime
585
+
586
+ end
587
+ end
588
+
589
+ class Bookshelves
590
+ # @private
591
+ class Representation < Google::Apis::Core::JsonRepresentation
592
+ collection :items, as: 'items', class: Google::Apis::BooksV1::Bookshelf, decorator: Google::Apis::BooksV1::Bookshelf::Representation
593
+
594
+ property :kind, as: 'kind'
595
+ end
596
+ end
597
+
598
+ class Category
599
+ # @private
600
+ class Representation < Google::Apis::Core::JsonRepresentation
601
+ collection :items, as: 'items', class: Google::Apis::BooksV1::Category::Item, decorator: Google::Apis::BooksV1::Category::Item::Representation
602
+
603
+ property :kind, as: 'kind'
604
+ end
605
+
606
+ class Item
607
+ # @private
608
+ class Representation < Google::Apis::Core::JsonRepresentation
609
+ property :badge_url, as: 'badgeUrl'
610
+ property :category_id, as: 'categoryId'
611
+ property :name, as: 'name'
612
+ end
613
+ end
614
+ end
615
+
616
+ class ConcurrentAccessRestriction
617
+ # @private
618
+ class Representation < Google::Apis::Core::JsonRepresentation
619
+ property :device_allowed, as: 'deviceAllowed'
620
+ property :kind, as: 'kind'
621
+ property :max_concurrent_devices, as: 'maxConcurrentDevices'
622
+ property :message, as: 'message'
623
+ property :nonce, as: 'nonce'
624
+ property :reason_code, as: 'reasonCode'
625
+ property :restricted, as: 'restricted'
626
+ property :signature, as: 'signature'
627
+ property :source, as: 'source'
628
+ property :time_window_seconds, as: 'timeWindowSeconds'
629
+ property :volume_id, as: 'volumeId'
630
+ end
631
+ end
632
+
633
+ class DictLayerData
634
+ # @private
635
+ class Representation < Google::Apis::Core::JsonRepresentation
636
+ property :common, as: 'common', class: Google::Apis::BooksV1::DictLayerData::Common, decorator: Google::Apis::BooksV1::DictLayerData::Common::Representation
637
+
638
+ property :dict, as: 'dict', class: Google::Apis::BooksV1::DictLayerData::Dict, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Representation
639
+
640
+ property :kind, as: 'kind'
641
+ end
642
+
643
+ class Common
644
+ # @private
645
+ class Representation < Google::Apis::Core::JsonRepresentation
646
+ property :title, as: 'title'
647
+ end
648
+ end
649
+
650
+ class Dict
651
+ # @private
652
+ class Representation < Google::Apis::Core::JsonRepresentation
653
+ property :source, as: 'source', class: Google::Apis::BooksV1::DictLayerData::Dict::Source, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Source::Representation
654
+
655
+ collection :words, as: 'words', class: Google::Apis::BooksV1::DictLayerData::Dict::Word, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Word::Representation
656
+
657
+ end
658
+
659
+ class Source
660
+ # @private
661
+ class Representation < Google::Apis::Core::JsonRepresentation
662
+ property :attribution, as: 'attribution'
663
+ property :url, as: 'url'
664
+ end
665
+ end
666
+
667
+ class Word
668
+ # @private
669
+ class Representation < Google::Apis::Core::JsonRepresentation
670
+ collection :derivatives, as: 'derivatives', class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Derivative, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Word::Derivative::Representation
671
+
672
+ collection :examples, as: 'examples', class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Example, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Word::Example::Representation
673
+
674
+ collection :senses, as: 'senses', class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Representation
675
+
676
+ property :source, as: 'source', class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Source, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Word::Source::Representation
677
+
678
+ end
679
+
680
+ class Derivative
681
+ # @private
682
+ class Representation < Google::Apis::Core::JsonRepresentation
683
+ property :source, as: 'source', class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Derivative::Source, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Word::Derivative::Source::Representation
684
+
685
+ property :text, as: 'text'
686
+ end
687
+
688
+ class Source
689
+ # @private
690
+ class Representation < Google::Apis::Core::JsonRepresentation
691
+ property :attribution, as: 'attribution'
692
+ property :url, as: 'url'
693
+ end
694
+ end
695
+ end
696
+
697
+ class Example
698
+ # @private
699
+ class Representation < Google::Apis::Core::JsonRepresentation
700
+ property :source, as: 'source', class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Example::Source, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Word::Example::Source::Representation
701
+
702
+ property :text, as: 'text'
703
+ end
704
+
705
+ class Source
706
+ # @private
707
+ class Representation < Google::Apis::Core::JsonRepresentation
708
+ property :attribution, as: 'attribution'
709
+ property :url, as: 'url'
710
+ end
711
+ end
712
+ end
713
+
714
+ class Sense
715
+ # @private
716
+ class Representation < Google::Apis::Core::JsonRepresentation
717
+ collection :conjugations, as: 'conjugations', class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Conjugation, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Conjugation::Representation
718
+
719
+ collection :definitions, as: 'definitions', class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Definition, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Definition::Representation
720
+
721
+ property :part_of_speech, as: 'partOfSpeech'
722
+ property :pronunciation, as: 'pronunciation'
723
+ property :pronunciation_url, as: 'pronunciationUrl'
724
+ property :source, as: 'source', class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Source, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Source::Representation
725
+
726
+ property :syllabification, as: 'syllabification'
727
+ collection :synonyms, as: 'synonyms', class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Synonym, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Synonym::Representation
728
+
729
+ end
730
+
731
+ class Conjugation
732
+ # @private
733
+ class Representation < Google::Apis::Core::JsonRepresentation
734
+ property :type, as: 'type'
735
+ property :value, as: 'value'
736
+ end
737
+ end
738
+
739
+ class Definition
740
+ # @private
741
+ class Representation < Google::Apis::Core::JsonRepresentation
742
+ property :definition, as: 'definition'
743
+ collection :examples, as: 'examples', class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Definition::Example, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Definition::Example::Representation
744
+
745
+ end
746
+
747
+ class Example
748
+ # @private
749
+ class Representation < Google::Apis::Core::JsonRepresentation
750
+ property :source, as: 'source', class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Definition::Example::Source, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Definition::Example::Source::Representation
751
+
752
+ property :text, as: 'text'
753
+ end
754
+
755
+ class Source
756
+ # @private
757
+ class Representation < Google::Apis::Core::JsonRepresentation
758
+ property :attribution, as: 'attribution'
759
+ property :url, as: 'url'
760
+ end
761
+ end
762
+ end
763
+ end
764
+
765
+ class Source
766
+ # @private
767
+ class Representation < Google::Apis::Core::JsonRepresentation
768
+ property :attribution, as: 'attribution'
769
+ property :url, as: 'url'
770
+ end
771
+ end
772
+
773
+ class Synonym
774
+ # @private
775
+ class Representation < Google::Apis::Core::JsonRepresentation
776
+ property :source, as: 'source', class: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Synonym::Source, decorator: Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Synonym::Source::Representation
777
+
778
+ property :text, as: 'text'
779
+ end
780
+
781
+ class Source
782
+ # @private
783
+ class Representation < Google::Apis::Core::JsonRepresentation
784
+ property :attribution, as: 'attribution'
785
+ property :url, as: 'url'
786
+ end
787
+ end
788
+ end
789
+ end
790
+
791
+ class Source
792
+ # @private
793
+ class Representation < Google::Apis::Core::JsonRepresentation
794
+ property :attribution, as: 'attribution'
795
+ property :url, as: 'url'
796
+ end
797
+ end
798
+ end
799
+ end
800
+ end
801
+
802
+ class Discoveryclusters
803
+ # @private
804
+ class Representation < Google::Apis::Core::JsonRepresentation
805
+ collection :clusters, as: 'clusters', class: Google::Apis::BooksV1::Discoveryclusters::Cluster, decorator: Google::Apis::BooksV1::Discoveryclusters::Cluster::Representation
806
+
807
+ property :kind, as: 'kind'
808
+ property :total_clusters, as: 'totalClusters'
809
+ end
810
+
811
+ class Cluster
812
+ # @private
813
+ class Representation < Google::Apis::Core::JsonRepresentation
814
+ property :banner_with_content_container, as: 'banner_with_content_container', class: Google::Apis::BooksV1::Discoveryclusters::Cluster::BannerWithContentContainer, decorator: Google::Apis::BooksV1::Discoveryclusters::Cluster::BannerWithContentContainer::Representation
815
+
816
+ property :sub_title, as: 'subTitle'
817
+ property :title, as: 'title'
818
+ property :total_volumes, as: 'totalVolumes'
819
+ property :uid, as: 'uid'
820
+ collection :volumes, as: 'volumes', class: Google::Apis::BooksV1::Volume, decorator: Google::Apis::BooksV1::Volume::Representation
821
+
822
+ end
823
+
824
+ class BannerWithContentContainer
825
+ # @private
826
+ class Representation < Google::Apis::Core::JsonRepresentation
827
+ property :fill_color_argb, as: 'fillColorArgb'
828
+ property :image_url, as: 'imageUrl'
829
+ property :mask_color_argb, as: 'maskColorArgb'
830
+ property :more_button_text, as: 'moreButtonText'
831
+ property :more_button_url, as: 'moreButtonUrl'
832
+ property :text_color_argb, as: 'textColorArgb'
833
+ end
834
+ end
835
+ end
836
+ end
837
+
838
+ class DownloadAccessRestriction
839
+ # @private
840
+ class Representation < Google::Apis::Core::JsonRepresentation
841
+ property :device_allowed, as: 'deviceAllowed'
842
+ property :downloads_acquired, as: 'downloadsAcquired'
843
+ property :just_acquired, as: 'justAcquired'
844
+ property :kind, as: 'kind'
845
+ property :max_download_devices, as: 'maxDownloadDevices'
846
+ property :message, as: 'message'
847
+ property :nonce, as: 'nonce'
848
+ property :reason_code, as: 'reasonCode'
849
+ property :restricted, as: 'restricted'
850
+ property :signature, as: 'signature'
851
+ property :source, as: 'source'
852
+ property :volume_id, as: 'volumeId'
853
+ end
854
+ end
855
+
856
+ class DownloadAccesses
857
+ # @private
858
+ class Representation < Google::Apis::Core::JsonRepresentation
859
+ collection :download_access_list, as: 'downloadAccessList', class: Google::Apis::BooksV1::DownloadAccessRestriction, decorator: Google::Apis::BooksV1::DownloadAccessRestriction::Representation
860
+
861
+ property :kind, as: 'kind'
862
+ end
863
+ end
864
+
865
+ class GeoLayerData
866
+ # @private
867
+ class Representation < Google::Apis::Core::JsonRepresentation
868
+ property :common, as: 'common', class: Google::Apis::BooksV1::GeoLayerData::Common, decorator: Google::Apis::BooksV1::GeoLayerData::Common::Representation
869
+
870
+ property :geo, as: 'geo', class: Google::Apis::BooksV1::GeoLayerData::Geo, decorator: Google::Apis::BooksV1::GeoLayerData::Geo::Representation
871
+
872
+ property :kind, as: 'kind'
873
+ end
874
+
875
+ class Common
876
+ # @private
877
+ class Representation < Google::Apis::Core::JsonRepresentation
878
+ property :lang, as: 'lang'
879
+ property :preview_image_url, as: 'previewImageUrl'
880
+ property :snippet, as: 'snippet'
881
+ property :snippet_url, as: 'snippetUrl'
882
+ property :title, as: 'title'
883
+ end
884
+ end
885
+
886
+ class Geo
887
+ # @private
888
+ class Representation < Google::Apis::Core::JsonRepresentation
889
+ collection :boundary, as: 'boundary', :class => Array do
890
+ include Representable::JSON::Collection
891
+ items class: Google::Apis::BooksV1::GeoLayerData::Geo::Boundary, decorator: Google::Apis::BooksV1::GeoLayerData::Geo::Boundary::Representation
892
+
893
+ end
894
+
895
+ property :cache_policy, as: 'cachePolicy'
896
+ property :country_code, as: 'countryCode'
897
+ property :latitude, as: 'latitude'
898
+ property :longitude, as: 'longitude'
899
+ property :map_type, as: 'mapType'
900
+ property :viewport, as: 'viewport', class: Google::Apis::BooksV1::GeoLayerData::Geo::Viewport, decorator: Google::Apis::BooksV1::GeoLayerData::Geo::Viewport::Representation
901
+
902
+ property :zoom, as: 'zoom'
903
+ end
904
+
905
+ class Boundary
906
+ # @private
907
+ class Representation < Google::Apis::Core::JsonRepresentation
908
+ property :latitude, as: 'latitude'
909
+ property :longitude, as: 'longitude'
910
+ end
911
+ end
912
+
913
+ class Viewport
914
+ # @private
915
+ class Representation < Google::Apis::Core::JsonRepresentation
916
+ property :hi, as: 'hi', class: Google::Apis::BooksV1::GeoLayerData::Geo::Viewport::Hi, decorator: Google::Apis::BooksV1::GeoLayerData::Geo::Viewport::Hi::Representation
917
+
918
+ property :lo, as: 'lo', class: Google::Apis::BooksV1::GeoLayerData::Geo::Viewport::Lo, decorator: Google::Apis::BooksV1::GeoLayerData::Geo::Viewport::Lo::Representation
919
+
920
+ end
921
+
922
+ class Hi
923
+ # @private
924
+ class Representation < Google::Apis::Core::JsonRepresentation
925
+ property :latitude, as: 'latitude'
926
+ property :longitude, as: 'longitude'
927
+ end
928
+ end
929
+
930
+ class Lo
931
+ # @private
932
+ class Representation < Google::Apis::Core::JsonRepresentation
933
+ property :latitude, as: 'latitude'
934
+ property :longitude, as: 'longitude'
935
+ end
936
+ end
937
+ end
938
+ end
939
+ end
940
+
941
+ class LayerSummaries
942
+ # @private
943
+ class Representation < Google::Apis::Core::JsonRepresentation
944
+ collection :items, as: 'items', class: Google::Apis::BooksV1::LayerSummary, decorator: Google::Apis::BooksV1::LayerSummary::Representation
945
+
946
+ property :kind, as: 'kind'
947
+ property :total_items, as: 'totalItems'
948
+ end
949
+ end
950
+
951
+ class LayerSummary
952
+ # @private
953
+ class Representation < Google::Apis::Core::JsonRepresentation
954
+ property :annotation_count, as: 'annotationCount'
955
+ collection :annotation_types, as: 'annotationTypes'
956
+ property :annotations_data_link, as: 'annotationsDataLink'
957
+ property :annotations_link, as: 'annotationsLink'
958
+ property :content_version, as: 'contentVersion'
959
+ property :data_count, as: 'dataCount'
960
+ property :id, as: 'id'
961
+ property :kind, as: 'kind'
962
+ property :layer_id, as: 'layerId'
963
+ property :self_link, as: 'selfLink'
964
+ property :updated, as: 'updated', type: DateTime
965
+
966
+ property :volume_annotations_version, as: 'volumeAnnotationsVersion'
967
+ property :volume_id, as: 'volumeId'
968
+ end
969
+ end
970
+
971
+ class Metadata
972
+ # @private
973
+ class Representation < Google::Apis::Core::JsonRepresentation
974
+ collection :items, as: 'items', class: Google::Apis::BooksV1::Metadata::Item, decorator: Google::Apis::BooksV1::Metadata::Item::Representation
975
+
976
+ property :kind, as: 'kind'
977
+ end
978
+
979
+ class Item
980
+ # @private
981
+ class Representation < Google::Apis::Core::JsonRepresentation
982
+ property :download_url, as: 'download_url'
983
+ property :encrypted_key, as: 'encrypted_key'
984
+ property :language, as: 'language'
985
+ property :size, as: 'size'
986
+ property :version, as: 'version'
987
+ end
988
+ end
989
+ end
990
+
991
+ class Notification
992
+ # @private
993
+ class Representation < Google::Apis::Core::JsonRepresentation
994
+ property :body, as: 'body'
995
+ property :icon_url, as: 'iconUrl'
996
+ property :kind, as: 'kind'
997
+ property :notification_type, as: 'notification_type'
998
+ property :show_notification_settings_action, as: 'show_notification_settings_action'
999
+ property :target_url, as: 'targetUrl'
1000
+ property :title, as: 'title'
1001
+ end
1002
+ end
1003
+
1004
+ class Offers
1005
+ # @private
1006
+ class Representation < Google::Apis::Core::JsonRepresentation
1007
+ collection :items, as: 'items', class: Google::Apis::BooksV1::Offers::Item, decorator: Google::Apis::BooksV1::Offers::Item::Representation
1008
+
1009
+ property :kind, as: 'kind'
1010
+ end
1011
+
1012
+ class Item
1013
+ # @private
1014
+ class Representation < Google::Apis::Core::JsonRepresentation
1015
+ property :art_url, as: 'artUrl'
1016
+ property :gservices_key, as: 'gservicesKey'
1017
+ property :id, as: 'id'
1018
+ collection :items, as: 'items', class: Google::Apis::BooksV1::Offers::Item::Item, decorator: Google::Apis::BooksV1::Offers::Item::Item::Representation
1019
+
1020
+ end
1021
+
1022
+ class Item
1023
+ # @private
1024
+ class Representation < Google::Apis::Core::JsonRepresentation
1025
+ property :author, as: 'author'
1026
+ property :canonical_volume_link, as: 'canonicalVolumeLink'
1027
+ property :cover_url, as: 'coverUrl'
1028
+ property :description, as: 'description'
1029
+ property :title, as: 'title'
1030
+ property :volume_id, as: 'volumeId'
1031
+ end
1032
+ end
1033
+ end
1034
+ end
1035
+
1036
+ class ReadingPosition
1037
+ # @private
1038
+ class Representation < Google::Apis::Core::JsonRepresentation
1039
+ property :epub_cfi_position, as: 'epubCfiPosition'
1040
+ property :gb_image_position, as: 'gbImagePosition'
1041
+ property :gb_text_position, as: 'gbTextPosition'
1042
+ property :kind, as: 'kind'
1043
+ property :pdf_position, as: 'pdfPosition'
1044
+ property :updated, as: 'updated', type: DateTime
1045
+
1046
+ property :volume_id, as: 'volumeId'
1047
+ end
1048
+ end
1049
+
1050
+ class RequestAccess
1051
+ # @private
1052
+ class Representation < Google::Apis::Core::JsonRepresentation
1053
+ property :concurrent_access, as: 'concurrentAccess', class: Google::Apis::BooksV1::ConcurrentAccessRestriction, decorator: Google::Apis::BooksV1::ConcurrentAccessRestriction::Representation
1054
+
1055
+ property :download_access, as: 'downloadAccess', class: Google::Apis::BooksV1::DownloadAccessRestriction, decorator: Google::Apis::BooksV1::DownloadAccessRestriction::Representation
1056
+
1057
+ property :kind, as: 'kind'
1058
+ end
1059
+ end
1060
+
1061
+ class Review
1062
+ # @private
1063
+ class Representation < Google::Apis::Core::JsonRepresentation
1064
+ property :author, as: 'author', class: Google::Apis::BooksV1::Review::Author, decorator: Google::Apis::BooksV1::Review::Author::Representation
1065
+
1066
+ property :content, as: 'content'
1067
+ property :date, as: 'date'
1068
+ property :full_text_url, as: 'fullTextUrl'
1069
+ property :kind, as: 'kind'
1070
+ property :rating, as: 'rating'
1071
+ property :source, as: 'source', class: Google::Apis::BooksV1::Review::Source, decorator: Google::Apis::BooksV1::Review::Source::Representation
1072
+
1073
+ property :title, as: 'title'
1074
+ property :type, as: 'type'
1075
+ property :volume_id, as: 'volumeId'
1076
+ end
1077
+
1078
+ class Author
1079
+ # @private
1080
+ class Representation < Google::Apis::Core::JsonRepresentation
1081
+ property :display_name, as: 'displayName'
1082
+ end
1083
+ end
1084
+
1085
+ class Source
1086
+ # @private
1087
+ class Representation < Google::Apis::Core::JsonRepresentation
1088
+ property :description, as: 'description'
1089
+ property :extra_description, as: 'extraDescription'
1090
+ property :url, as: 'url'
1091
+ end
1092
+ end
1093
+ end
1094
+
1095
+ class Series
1096
+ # @private
1097
+ class Representation < Google::Apis::Core::JsonRepresentation
1098
+ property :kind, as: 'kind'
1099
+ collection :series, as: 'series', class: Google::Apis::BooksV1::Series::Series, decorator: Google::Apis::BooksV1::Series::Series::Representation
1100
+
1101
+ end
1102
+
1103
+ class Series
1104
+ # @private
1105
+ class Representation < Google::Apis::Core::JsonRepresentation
1106
+ property :banner_image_url, as: 'bannerImageUrl'
1107
+ property :image_url, as: 'imageUrl'
1108
+ property :series_id, as: 'seriesId'
1109
+ property :title, as: 'title'
1110
+ end
1111
+ end
1112
+ end
1113
+
1114
+ class SeriesMembership
1115
+ # @private
1116
+ class Representation < Google::Apis::Core::JsonRepresentation
1117
+ property :kind, as: 'kind'
1118
+ collection :member, as: 'member', class: Google::Apis::BooksV1::Volume, decorator: Google::Apis::BooksV1::Volume::Representation
1119
+
1120
+ property :next_page_token, as: 'nextPageToken'
1121
+ end
1122
+ end
1123
+
1124
+ class UserSettings
1125
+ # @private
1126
+ class Representation < Google::Apis::Core::JsonRepresentation
1127
+ property :kind, as: 'kind'
1128
+ property :notes_export, as: 'notesExport', class: Google::Apis::BooksV1::UserSettings::NotesExport, decorator: Google::Apis::BooksV1::UserSettings::NotesExport::Representation
1129
+
1130
+ property :notification, as: 'notification', class: Google::Apis::BooksV1::UserSettings::Notification, decorator: Google::Apis::BooksV1::UserSettings::Notification::Representation
1131
+
1132
+ end
1133
+
1134
+ class NotesExport
1135
+ # @private
1136
+ class Representation < Google::Apis::Core::JsonRepresentation
1137
+ property :folder_name, as: 'folderName'
1138
+ property :is_enabled, as: 'isEnabled'
1139
+ end
1140
+ end
1141
+
1142
+ class Notification
1143
+ # @private
1144
+ class Representation < Google::Apis::Core::JsonRepresentation
1145
+ property :more_from_authors, as: 'moreFromAuthors', class: Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors, decorator: Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors::Representation
1146
+
1147
+ end
1148
+
1149
+ class MoreFromAuthors
1150
+ # @private
1151
+ class Representation < Google::Apis::Core::JsonRepresentation
1152
+ property :opted_state, as: 'opted_state'
1153
+ end
1154
+ end
1155
+ end
1156
+ end
1157
+
1158
+ class Volume
1159
+ # @private
1160
+ class Representation < Google::Apis::Core::JsonRepresentation
1161
+ property :access_info, as: 'accessInfo', class: Google::Apis::BooksV1::Volume::AccessInfo, decorator: Google::Apis::BooksV1::Volume::AccessInfo::Representation
1162
+
1163
+ property :etag, as: 'etag'
1164
+ property :id, as: 'id'
1165
+ property :kind, as: 'kind'
1166
+ property :layer_info, as: 'layerInfo', class: Google::Apis::BooksV1::Volume::LayerInfo, decorator: Google::Apis::BooksV1::Volume::LayerInfo::Representation
1167
+
1168
+ property :recommended_info, as: 'recommendedInfo', class: Google::Apis::BooksV1::Volume::RecommendedInfo, decorator: Google::Apis::BooksV1::Volume::RecommendedInfo::Representation
1169
+
1170
+ property :sale_info, as: 'saleInfo', class: Google::Apis::BooksV1::Volume::SaleInfo, decorator: Google::Apis::BooksV1::Volume::SaleInfo::Representation
1171
+
1172
+ property :search_info, as: 'searchInfo', class: Google::Apis::BooksV1::Volume::SearchInfo, decorator: Google::Apis::BooksV1::Volume::SearchInfo::Representation
1173
+
1174
+ property :self_link, as: 'selfLink'
1175
+ property :user_info, as: 'userInfo', class: Google::Apis::BooksV1::Volume::UserInfo, decorator: Google::Apis::BooksV1::Volume::UserInfo::Representation
1176
+
1177
+ property :volume_info, as: 'volumeInfo', class: Google::Apis::BooksV1::Volume::VolumeInfo, decorator: Google::Apis::BooksV1::Volume::VolumeInfo::Representation
1178
+
1179
+ end
1180
+
1181
+ class AccessInfo
1182
+ # @private
1183
+ class Representation < Google::Apis::Core::JsonRepresentation
1184
+ property :access_view_status, as: 'accessViewStatus'
1185
+ property :country, as: 'country'
1186
+ property :download_access, as: 'downloadAccess', class: Google::Apis::BooksV1::DownloadAccessRestriction, decorator: Google::Apis::BooksV1::DownloadAccessRestriction::Representation
1187
+
1188
+ property :drive_imported_content_link, as: 'driveImportedContentLink'
1189
+ property :embeddable, as: 'embeddable'
1190
+ property :epub, as: 'epub', class: Google::Apis::BooksV1::Volume::AccessInfo::Epub, decorator: Google::Apis::BooksV1::Volume::AccessInfo::Epub::Representation
1191
+
1192
+ property :explicit_offline_license_management, as: 'explicitOfflineLicenseManagement'
1193
+ property :pdf, as: 'pdf', class: Google::Apis::BooksV1::Volume::AccessInfo::Pdf, decorator: Google::Apis::BooksV1::Volume::AccessInfo::Pdf::Representation
1194
+
1195
+ property :public_domain, as: 'publicDomain'
1196
+ property :quote_sharing_allowed, as: 'quoteSharingAllowed'
1197
+ property :text_to_speech_permission, as: 'textToSpeechPermission'
1198
+ property :view_order_url, as: 'viewOrderUrl'
1199
+ property :viewability, as: 'viewability'
1200
+ property :web_reader_link, as: 'webReaderLink'
1201
+ end
1202
+
1203
+ class Epub
1204
+ # @private
1205
+ class Representation < Google::Apis::Core::JsonRepresentation
1206
+ property :acs_token_link, as: 'acsTokenLink'
1207
+ property :download_link, as: 'downloadLink'
1208
+ property :is_available, as: 'isAvailable'
1209
+ end
1210
+ end
1211
+
1212
+ class Pdf
1213
+ # @private
1214
+ class Representation < Google::Apis::Core::JsonRepresentation
1215
+ property :acs_token_link, as: 'acsTokenLink'
1216
+ property :download_link, as: 'downloadLink'
1217
+ property :is_available, as: 'isAvailable'
1218
+ end
1219
+ end
1220
+ end
1221
+
1222
+ class LayerInfo
1223
+ # @private
1224
+ class Representation < Google::Apis::Core::JsonRepresentation
1225
+ collection :layers, as: 'layers', class: Google::Apis::BooksV1::Volume::LayerInfo::Layer, decorator: Google::Apis::BooksV1::Volume::LayerInfo::Layer::Representation
1226
+
1227
+ end
1228
+
1229
+ class Layer
1230
+ # @private
1231
+ class Representation < Google::Apis::Core::JsonRepresentation
1232
+ property :layer_id, as: 'layerId'
1233
+ property :volume_annotations_version, as: 'volumeAnnotationsVersion'
1234
+ end
1235
+ end
1236
+ end
1237
+
1238
+ class RecommendedInfo
1239
+ # @private
1240
+ class Representation < Google::Apis::Core::JsonRepresentation
1241
+ property :explanation, as: 'explanation'
1242
+ end
1243
+ end
1244
+
1245
+ class SaleInfo
1246
+ # @private
1247
+ class Representation < Google::Apis::Core::JsonRepresentation
1248
+ property :buy_link, as: 'buyLink'
1249
+ property :country, as: 'country'
1250
+ property :is_ebook, as: 'isEbook'
1251
+ property :list_price, as: 'listPrice', class: Google::Apis::BooksV1::Volume::SaleInfo::ListPrice, decorator: Google::Apis::BooksV1::Volume::SaleInfo::ListPrice::Representation
1252
+
1253
+ collection :offers, as: 'offers', class: Google::Apis::BooksV1::Volume::SaleInfo::Offer, decorator: Google::Apis::BooksV1::Volume::SaleInfo::Offer::Representation
1254
+
1255
+ property :on_sale_date, as: 'onSaleDate', type: DateTime
1256
+
1257
+ property :retail_price, as: 'retailPrice', class: Google::Apis::BooksV1::Volume::SaleInfo::RetailPrice, decorator: Google::Apis::BooksV1::Volume::SaleInfo::RetailPrice::Representation
1258
+
1259
+ property :saleability, as: 'saleability'
1260
+ end
1261
+
1262
+ class ListPrice
1263
+ # @private
1264
+ class Representation < Google::Apis::Core::JsonRepresentation
1265
+ property :amount, as: 'amount'
1266
+ property :currency_code, as: 'currencyCode'
1267
+ end
1268
+ end
1269
+
1270
+ class Offer
1271
+ # @private
1272
+ class Representation < Google::Apis::Core::JsonRepresentation
1273
+ property :finsky_offer_type, as: 'finskyOfferType'
1274
+ property :list_price, as: 'listPrice', class: Google::Apis::BooksV1::Volume::SaleInfo::Offer::ListPrice, decorator: Google::Apis::BooksV1::Volume::SaleInfo::Offer::ListPrice::Representation
1275
+
1276
+ property :rental_duration, as: 'rentalDuration', class: Google::Apis::BooksV1::Volume::SaleInfo::Offer::RentalDuration, decorator: Google::Apis::BooksV1::Volume::SaleInfo::Offer::RentalDuration::Representation
1277
+
1278
+ property :retail_price, as: 'retailPrice', class: Google::Apis::BooksV1::Volume::SaleInfo::Offer::RetailPrice, decorator: Google::Apis::BooksV1::Volume::SaleInfo::Offer::RetailPrice::Representation
1279
+
1280
+ end
1281
+
1282
+ class ListPrice
1283
+ # @private
1284
+ class Representation < Google::Apis::Core::JsonRepresentation
1285
+ property :amount_in_micros, as: 'amountInMicros'
1286
+ property :currency_code, as: 'currencyCode'
1287
+ end
1288
+ end
1289
+
1290
+ class RentalDuration
1291
+ # @private
1292
+ class Representation < Google::Apis::Core::JsonRepresentation
1293
+ property :count, as: 'count'
1294
+ property :unit, as: 'unit'
1295
+ end
1296
+ end
1297
+
1298
+ class RetailPrice
1299
+ # @private
1300
+ class Representation < Google::Apis::Core::JsonRepresentation
1301
+ property :amount_in_micros, as: 'amountInMicros'
1302
+ property :currency_code, as: 'currencyCode'
1303
+ end
1304
+ end
1305
+ end
1306
+
1307
+ class RetailPrice
1308
+ # @private
1309
+ class Representation < Google::Apis::Core::JsonRepresentation
1310
+ property :amount, as: 'amount'
1311
+ property :currency_code, as: 'currencyCode'
1312
+ end
1313
+ end
1314
+ end
1315
+
1316
+ class SearchInfo
1317
+ # @private
1318
+ class Representation < Google::Apis::Core::JsonRepresentation
1319
+ property :text_snippet, as: 'textSnippet'
1320
+ end
1321
+ end
1322
+
1323
+ class UserInfo
1324
+ # @private
1325
+ class Representation < Google::Apis::Core::JsonRepresentation
1326
+ property :acquisition_type, as: 'acquisitionType'
1327
+ property :copy, as: 'copy', class: Google::Apis::BooksV1::Volume::UserInfo::Copy, decorator: Google::Apis::BooksV1::Volume::UserInfo::Copy::Representation
1328
+
1329
+ property :entitlement_type, as: 'entitlementType'
1330
+ property :is_in_my_books, as: 'isInMyBooks'
1331
+ property :is_preordered, as: 'isPreordered'
1332
+ property :is_purchased, as: 'isPurchased'
1333
+ property :is_uploaded, as: 'isUploaded'
1334
+ property :reading_position, as: 'readingPosition', class: Google::Apis::BooksV1::ReadingPosition, decorator: Google::Apis::BooksV1::ReadingPosition::Representation
1335
+
1336
+ property :rental_period, as: 'rentalPeriod', class: Google::Apis::BooksV1::Volume::UserInfo::RentalPeriod, decorator: Google::Apis::BooksV1::Volume::UserInfo::RentalPeriod::Representation
1337
+
1338
+ property :rental_state, as: 'rentalState'
1339
+ property :review, as: 'review', class: Google::Apis::BooksV1::Review, decorator: Google::Apis::BooksV1::Review::Representation
1340
+
1341
+ property :updated, as: 'updated', type: DateTime
1342
+
1343
+ property :user_uploaded_volume_info, as: 'userUploadedVolumeInfo', class: Google::Apis::BooksV1::Volume::UserInfo::UserUploadedVolumeInfo, decorator: Google::Apis::BooksV1::Volume::UserInfo::UserUploadedVolumeInfo::Representation
1344
+
1345
+ end
1346
+
1347
+ class Copy
1348
+ # @private
1349
+ class Representation < Google::Apis::Core::JsonRepresentation
1350
+ property :allowed_character_count, as: 'allowedCharacterCount'
1351
+ property :limit_type, as: 'limitType'
1352
+ property :remaining_character_count, as: 'remainingCharacterCount'
1353
+ property :updated, as: 'updated', type: DateTime
1354
+
1355
+ end
1356
+ end
1357
+
1358
+ class RentalPeriod
1359
+ # @private
1360
+ class Representation < Google::Apis::Core::JsonRepresentation
1361
+ property :end_utc_sec, as: 'endUtcSec'
1362
+ property :start_utc_sec, as: 'startUtcSec'
1363
+ end
1364
+ end
1365
+
1366
+ class UserUploadedVolumeInfo
1367
+ # @private
1368
+ class Representation < Google::Apis::Core::JsonRepresentation
1369
+ property :processing_state, as: 'processingState'
1370
+ end
1371
+ end
1372
+ end
1373
+
1374
+ class VolumeInfo
1375
+ # @private
1376
+ class Representation < Google::Apis::Core::JsonRepresentation
1377
+ property :allow_anon_logging, as: 'allowAnonLogging'
1378
+ collection :authors, as: 'authors'
1379
+ property :average_rating, as: 'averageRating'
1380
+ property :canonical_volume_link, as: 'canonicalVolumeLink'
1381
+ collection :categories, as: 'categories'
1382
+ property :content_version, as: 'contentVersion'
1383
+ property :description, as: 'description'
1384
+ property :dimensions, as: 'dimensions', class: Google::Apis::BooksV1::Volume::VolumeInfo::Dimensions, decorator: Google::Apis::BooksV1::Volume::VolumeInfo::Dimensions::Representation
1385
+
1386
+ property :image_links, as: 'imageLinks', class: Google::Apis::BooksV1::Volume::VolumeInfo::ImageLinks, decorator: Google::Apis::BooksV1::Volume::VolumeInfo::ImageLinks::Representation
1387
+
1388
+ collection :industry_identifiers, as: 'industryIdentifiers', class: Google::Apis::BooksV1::Volume::VolumeInfo::IndustryIdentifier, decorator: Google::Apis::BooksV1::Volume::VolumeInfo::IndustryIdentifier::Representation
1389
+
1390
+ property :info_link, as: 'infoLink'
1391
+ property :language, as: 'language'
1392
+ property :main_category, as: 'mainCategory'
1393
+ property :maturity_rating, as: 'maturityRating'
1394
+ property :page_count, as: 'pageCount'
1395
+ property :preview_link, as: 'previewLink'
1396
+ property :print_type, as: 'printType'
1397
+ property :printed_page_count, as: 'printedPageCount'
1398
+ property :published_date, as: 'publishedDate'
1399
+ property :publisher, as: 'publisher'
1400
+ property :ratings_count, as: 'ratingsCount'
1401
+ property :reading_modes, as: 'readingModes'
1402
+ property :sample_page_count, as: 'samplePageCount'
1403
+ property :series_info, as: 'seriesInfo', class: Google::Apis::BooksV1::Volumeseriesinfo, decorator: Google::Apis::BooksV1::Volumeseriesinfo::Representation
1404
+
1405
+ property :subtitle, as: 'subtitle'
1406
+ property :title, as: 'title'
1407
+ end
1408
+
1409
+ class Dimensions
1410
+ # @private
1411
+ class Representation < Google::Apis::Core::JsonRepresentation
1412
+ property :height, as: 'height'
1413
+ property :thickness, as: 'thickness'
1414
+ property :width, as: 'width'
1415
+ end
1416
+ end
1417
+
1418
+ class ImageLinks
1419
+ # @private
1420
+ class Representation < Google::Apis::Core::JsonRepresentation
1421
+ property :extra_large, as: 'extraLarge'
1422
+ property :large, as: 'large'
1423
+ property :medium, as: 'medium'
1424
+ property :small, as: 'small'
1425
+ property :small_thumbnail, as: 'smallThumbnail'
1426
+ property :thumbnail, as: 'thumbnail'
1427
+ end
1428
+ end
1429
+
1430
+ class IndustryIdentifier
1431
+ # @private
1432
+ class Representation < Google::Apis::Core::JsonRepresentation
1433
+ property :identifier, as: 'identifier'
1434
+ property :type, as: 'type'
1435
+ end
1436
+ end
1437
+ end
1438
+ end
1439
+
1440
+ class Volume2
1441
+ # @private
1442
+ class Representation < Google::Apis::Core::JsonRepresentation
1443
+ collection :items, as: 'items', class: Google::Apis::BooksV1::Volume, decorator: Google::Apis::BooksV1::Volume::Representation
1444
+
1445
+ property :kind, as: 'kind'
1446
+ property :next_page_token, as: 'nextPageToken'
1447
+ end
1448
+ end
1449
+
1450
+ class VolumeAnnotation
1451
+ # @private
1452
+ class Representation < Google::Apis::Core::JsonRepresentation
1453
+ property :annotation_data_id, as: 'annotationDataId'
1454
+ property :annotation_data_link, as: 'annotationDataLink'
1455
+ property :annotation_type, as: 'annotationType'
1456
+ property :content_ranges, as: 'contentRanges', class: Google::Apis::BooksV1::VolumeAnnotation::ContentRanges, decorator: Google::Apis::BooksV1::VolumeAnnotation::ContentRanges::Representation
1457
+
1458
+ property :data, as: 'data'
1459
+ property :deleted, as: 'deleted'
1460
+ property :id, as: 'id'
1461
+ property :kind, as: 'kind'
1462
+ property :layer_id, as: 'layerId'
1463
+ collection :page_ids, as: 'pageIds'
1464
+ property :selected_text, as: 'selectedText'
1465
+ property :self_link, as: 'selfLink'
1466
+ property :updated, as: 'updated', type: DateTime
1467
+
1468
+ property :volume_id, as: 'volumeId'
1469
+ end
1470
+
1471
+ class ContentRanges
1472
+ # @private
1473
+ class Representation < Google::Apis::Core::JsonRepresentation
1474
+ property :cfi_range, as: 'cfiRange', class: Google::Apis::BooksV1::AnnotatinsRange, decorator: Google::Apis::BooksV1::AnnotatinsRange::Representation
1475
+
1476
+ property :content_version, as: 'contentVersion'
1477
+ property :gb_image_range, as: 'gbImageRange', class: Google::Apis::BooksV1::AnnotatinsRange, decorator: Google::Apis::BooksV1::AnnotatinsRange::Representation
1478
+
1479
+ property :gb_text_range, as: 'gbTextRange', class: Google::Apis::BooksV1::AnnotatinsRange, decorator: Google::Apis::BooksV1::AnnotatinsRange::Representation
1480
+
1481
+ end
1482
+ end
1483
+ end
1484
+
1485
+ class Volumeannotations
1486
+ # @private
1487
+ class Representation < Google::Apis::Core::JsonRepresentation
1488
+ collection :items, as: 'items', class: Google::Apis::BooksV1::VolumeAnnotation, decorator: Google::Apis::BooksV1::VolumeAnnotation::Representation
1489
+
1490
+ property :kind, as: 'kind'
1491
+ property :next_page_token, as: 'nextPageToken'
1492
+ property :total_items, as: 'totalItems'
1493
+ property :version, as: 'version'
1494
+ end
1495
+ end
1496
+
1497
+ class Volumes
1498
+ # @private
1499
+ class Representation < Google::Apis::Core::JsonRepresentation
1500
+ collection :items, as: 'items', class: Google::Apis::BooksV1::Volume, decorator: Google::Apis::BooksV1::Volume::Representation
1501
+
1502
+ property :kind, as: 'kind'
1503
+ property :total_items, as: 'totalItems'
1504
+ end
1505
+ end
1506
+
1507
+ class Volumeseriesinfo
1508
+ # @private
1509
+ class Representation < Google::Apis::Core::JsonRepresentation
1510
+ property :book_display_number, as: 'bookDisplayNumber'
1511
+ property :kind, as: 'kind'
1512
+ property :short_series_book_title, as: 'shortSeriesBookTitle'
1513
+ collection :volume_series, as: 'volumeSeries', class: Google::Apis::BooksV1::Volumeseriesinfo::VolumeSeries, decorator: Google::Apis::BooksV1::Volumeseriesinfo::VolumeSeries::Representation
1514
+
1515
+ end
1516
+
1517
+ class VolumeSeries
1518
+ # @private
1519
+ class Representation < Google::Apis::Core::JsonRepresentation
1520
+ collection :issue, as: 'issue', class: Google::Apis::BooksV1::Volumeseriesinfo::VolumeSeries::Issue, decorator: Google::Apis::BooksV1::Volumeseriesinfo::VolumeSeries::Issue::Representation
1521
+
1522
+ property :order_number, as: 'orderNumber'
1523
+ property :series_book_type, as: 'seriesBookType'
1524
+ property :series_id, as: 'seriesId'
1525
+ end
1526
+
1527
+ class Issue
1528
+ # @private
1529
+ class Representation < Google::Apis::Core::JsonRepresentation
1530
+ property :issue_display_number, as: 'issueDisplayNumber'
1531
+ property :issue_order_number, as: 'issueOrderNumber'
1532
+ end
1533
+ end
1534
+ end
1535
+ end
1536
+ end
1537
+ end
1538
+ end