google-api-client 0.8.6 → 0.9.3

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