google-api-client 0.8.6 → 0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (497) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +20 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +7 -0
  5. data/.rubocop_todo.yml +63 -0
  6. data/.travis.yml +22 -0
  7. data/.yardopts +12 -0
  8. data/CHANGELOG.md +41 -2
  9. data/CONTRIBUTING.md +31 -0
  10. data/Gemfile +32 -2
  11. data/MIGRATING.md +171 -0
  12. data/README.md +181 -148
  13. data/Rakefile +1 -40
  14. data/api_names.yaml +1036 -0
  15. data/api_names_out.yaml +26053 -0
  16. data/bin/generate-api +95 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1335 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +446 -0
  20. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +872 -0
  21. data/generated/google/apis/adexchangeseller_v2_0.rb +38 -0
  22. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
  23. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +309 -0
  24. data/generated/google/apis/adexchangeseller_v2_0/service.rb +668 -0
  25. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  26. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  27. data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
  28. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  29. data/generated/google/apis/admin_directory_v1.rb +113 -0
  30. data/generated/google/apis/admin_directory_v1/classes.rb +3141 -0
  31. data/generated/google/apis/admin_directory_v1/representations.rb +1029 -0
  32. data/generated/google/apis/admin_directory_v1/service.rb +3818 -0
  33. data/generated/google/apis/admin_reports_v1.rb +38 -0
  34. data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
  35. data/generated/google/apis/admin_reports_v1/representations.rb +231 -0
  36. data/generated/google/apis/admin_reports_v1/service.rb +336 -0
  37. data/generated/google/apis/adsense_v1_4.rb +38 -0
  38. data/generated/google/apis/adsense_v1_4/classes.rb +1285 -0
  39. data/generated/google/apis/adsense_v1_4/representations.rb +494 -0
  40. data/generated/google/apis/adsense_v1_4/service.rb +1714 -0
  41. data/generated/google/apis/adsensehost_v4_1.rb +35 -0
  42. data/generated/google/apis/adsensehost_v4_1/classes.rb +834 -0
  43. data/generated/google/apis/adsensehost_v4_1/representations.rb +327 -0
  44. data/generated/google/apis/adsensehost_v4_1/service.rb +1164 -0
  45. data/generated/google/apis/analytics_v3.rb +49 -0
  46. data/generated/google/apis/analytics_v3/classes.rb +5118 -0
  47. data/generated/google/apis/analytics_v3/representations.rb +1662 -0
  48. data/generated/google/apis/analytics_v3/service.rb +3568 -0
  49. data/generated/google/apis/androidenterprise_v1.rb +35 -0
  50. data/generated/google/apis/androidenterprise_v1/classes.rb +1443 -0
  51. data/generated/google/apis/androidenterprise_v1/representations.rb +538 -0
  52. data/generated/google/apis/androidenterprise_v1/service.rb +2602 -0
  53. data/generated/google/apis/androidpublisher_v2.rb +34 -0
  54. data/generated/google/apis/androidpublisher_v2/classes.rb +1411 -0
  55. data/generated/google/apis/androidpublisher_v2/representations.rb +646 -0
  56. data/generated/google/apis/androidpublisher_v2/service.rb +2338 -0
  57. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  58. data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
  59. data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
  60. data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
  61. data/generated/google/apis/appsactivity_v1.rb +46 -0
  62. data/generated/google/apis/appsactivity_v1/classes.rb +392 -0
  63. data/generated/google/apis/appsactivity_v1/representations.rb +184 -0
  64. data/generated/google/apis/appsactivity_v1/service.rb +128 -0
  65. data/generated/google/apis/appstate_v1.rb +34 -0
  66. data/generated/google/apis/appstate_v1/classes.rb +154 -0
  67. data/generated/google/apis/appstate_v1/representations.rb +79 -0
  68. data/generated/google/apis/appstate_v1/service.rb +260 -0
  69. data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
  70. data/generated/google/apis/autoscaler_v1beta2/classes.rb +747 -0
  71. data/generated/google/apis/autoscaler_v1beta2/representations.rb +281 -0
  72. data/generated/google/apis/autoscaler_v1beta2/service.rb +478 -0
  73. data/generated/google/apis/bigquery_v2.rb +52 -0
  74. data/generated/google/apis/bigquery_v2/classes.rb +2471 -0
  75. data/generated/google/apis/bigquery_v2/representations.rb +816 -0
  76. data/generated/google/apis/bigquery_v2/service.rb +982 -0
  77. data/generated/google/apis/blogger_v3.rb +37 -0
  78. data/generated/google/apis/blogger_v3/classes.rb +1354 -0
  79. data/generated/google/apis/blogger_v3/representations.rb +562 -0
  80. data/generated/google/apis/blogger_v3/service.rb +1587 -0
  81. data/generated/google/apis/books_v1.rb +34 -0
  82. data/generated/google/apis/books_v1/classes.rb +3956 -0
  83. data/generated/google/apis/books_v1/representations.rb +1538 -0
  84. data/generated/google/apis/books_v1/service.rb +2290 -0
  85. data/generated/google/apis/calendar_v3.rb +37 -0
  86. data/generated/google/apis/calendar_v3/classes.rb +1742 -0
  87. data/generated/google/apis/calendar_v3/representations.rb +567 -0
  88. data/generated/google/apis/calendar_v3/service.rb +1968 -0
  89. data/{lib/google/api_client/service_account.rb → generated/google/apis/civicinfo_v2.rb} +18 -8
  90. data/generated/google/apis/civicinfo_v2/classes.rb +1127 -0
  91. data/generated/google/apis/civicinfo_v2/representations.rb +383 -0
  92. data/generated/google/apis/civicinfo_v2/service.rb +279 -0
  93. data/generated/google/apis/classroom_v1.rb +49 -0
  94. data/generated/google/apis/classroom_v1/classes.rb +512 -0
  95. data/generated/google/apis/classroom_v1/representations.rb +217 -0
  96. data/generated/google/apis/classroom_v1/service.rb +970 -0
  97. data/generated/google/apis/classroom_v1beta1.rb +49 -0
  98. data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
  99. data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
  100. data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
  101. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  102. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  103. data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
  104. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  105. data/generated/google/apis/clouddebugger_v2.rb +41 -0
  106. data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
  107. data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
  108. data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
  109. data/generated/google/apis/cloudmonitoring_v2beta2.rb +37 -0
  110. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
  111. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +311 -0
  112. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +452 -0
  113. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
  114. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +437 -0
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +188 -0
  116. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +623 -0
  117. data/generated/google/apis/cloudtrace_v1.rb +35 -0
  118. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  119. data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
  120. data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
  121. data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
  122. data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
  123. data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
  124. data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
  125. data/generated/google/apis/compute_beta.rb +49 -0
  126. data/generated/google/apis/compute_beta/classes.rb +9128 -0
  127. data/generated/google/apis/compute_beta/representations.rb +3048 -0
  128. data/generated/google/apis/compute_beta/service.rb +10154 -0
  129. data/generated/google/apis/compute_v1.rb +49 -0
  130. data/generated/google/apis/compute_v1/classes.rb +8681 -0
  131. data/generated/google/apis/compute_v1/representations.rb +2895 -0
  132. data/generated/google/apis/compute_v1/service.rb +9252 -0
  133. data/generated/google/apis/container_v1.rb +35 -0
  134. data/generated/google/apis/container_v1/classes.rb +463 -0
  135. data/generated/google/apis/container_v1/representations.rb +175 -0
  136. data/generated/google/apis/container_v1/service.rb +367 -0
  137. data/generated/google/apis/container_v1beta1.rb +35 -0
  138. data/generated/google/apis/container_v1beta1/classes.rb +466 -0
  139. data/generated/google/apis/container_v1beta1/representations.rb +177 -0
  140. data/generated/google/apis/container_v1beta1/service.rb +394 -0
  141. data/generated/google/apis/content_v2.rb +35 -0
  142. data/generated/google/apis/content_v2/classes.rb +5986 -0
  143. data/generated/google/apis/content_v2/representations.rb +2288 -0
  144. data/generated/google/apis/content_v2/service.rb +2338 -0
  145. data/generated/google/apis/coordinate_v1.rb +37 -0
  146. data/generated/google/apis/coordinate_v1/classes.rb +669 -0
  147. data/generated/google/apis/coordinate_v1/representations.rb +285 -0
  148. data/generated/google/apis/coordinate_v1/service.rb +678 -0
  149. data/{lib/google/api_client/auth/compute_service_account.rb → generated/google/apis/customsearch_v1.rb} +13 -10
  150. data/generated/google/apis/customsearch_v1/classes.rb +771 -0
  151. data/generated/google/apis/customsearch_v1/representations.rb +276 -0
  152. data/generated/google/apis/customsearch_v1/service.rb +207 -0
  153. data/generated/google/apis/datastore_v1beta2.rb +40 -0
  154. data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
  155. data/generated/google/apis/datastore_v1beta2/representations.rb +526 -0
  156. data/generated/google/apis/datastore_v1beta2/service.rb +294 -0
  157. data/generated/google/apis/deploymentmanager_v2.rb +44 -0
  158. data/generated/google/apis/deploymentmanager_v2/classes.rb +1091 -0
  159. data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
  160. data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
  161. data/generated/google/apis/deploymentmanager_v2beta2.rb +44 -0
  162. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +843 -0
  163. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +306 -0
  164. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +689 -0
  165. data/generated/google/apis/dfareporting_v2_1.rb +37 -0
  166. data/generated/google/apis/dfareporting_v2_1/classes.rb +10770 -0
  167. data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
  168. data/generated/google/apis/dfareporting_v2_1/service.rb +8585 -0
  169. data/generated/google/apis/discovery_v1.rb +32 -0
  170. data/generated/google/apis/discovery_v1/classes.rb +961 -0
  171. data/generated/google/apis/discovery_v1/representations.rb +357 -0
  172. data/generated/google/apis/discovery_v1/service.rb +142 -0
  173. data/generated/google/apis/dns_v1.rb +44 -0
  174. data/generated/google/apis/dns_v1/classes.rb +406 -0
  175. data/generated/google/apis/dns_v1/representations.rb +151 -0
  176. data/generated/google/apis/dns_v1/service.rb +454 -0
  177. data/generated/google/apis/doubleclickbidmanager_v1.rb +31 -0
  178. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +716 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +298 -0
  180. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +341 -0
  181. data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
  182. data/generated/google/apis/doubleclicksearch_v2/classes.rb +956 -0
  183. data/generated/google/apis/doubleclicksearch_v2/representations.rb +316 -0
  184. data/generated/google/apis/doubleclicksearch_v2/service.rb +480 -0
  185. data/generated/google/apis/drive_v2.rb +58 -0
  186. data/generated/google/apis/drive_v2/classes.rb +2562 -0
  187. data/generated/google/apis/drive_v2/representations.rb +795 -0
  188. data/generated/google/apis/drive_v2/service.rb +2696 -0
  189. data/generated/google/apis/drive_v3.rb +55 -0
  190. data/generated/google/apis/drive_v3/classes.rb +1534 -0
  191. data/generated/google/apis/drive_v3/representations.rb +497 -0
  192. data/generated/google/apis/drive_v3/service.rb +1541 -0
  193. data/generated/google/apis/fitness_v1.rb +49 -0
  194. data/generated/google/apis/fitness_v1/classes.rb +885 -0
  195. data/generated/google/apis/fitness_v1/representations.rb +320 -0
  196. data/generated/google/apis/fitness_v1/service.rb +675 -0
  197. data/generated/google/apis/fusiontables_v2.rb +37 -0
  198. data/generated/google/apis/fusiontables_v2/classes.rb +1048 -0
  199. data/generated/google/apis/fusiontables_v2/representations.rb +409 -0
  200. data/generated/google/apis/fusiontables_v2/service.rb +1463 -0
  201. data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
  202. data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
  203. data/generated/google/apis/games_configuration_v1configuration/representations.rb +206 -0
  204. data/generated/google/apis/games_configuration_v1configuration/service.rb +565 -0
  205. data/generated/google/apis/games_management_v1management.rb +37 -0
  206. data/generated/google/apis/games_management_v1management/classes.rb +524 -0
  207. data/generated/google/apis/games_management_v1management/representations.rb +231 -0
  208. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  209. data/generated/google/apis/games_v1.rb +40 -0
  210. data/generated/google/apis/games_v1/classes.rb +4617 -0
  211. data/generated/google/apis/games_v1/representations.rb +1584 -0
  212. data/generated/google/apis/games_v1/service.rb +2290 -0
  213. data/generated/google/apis/gan_v1beta1.rb +31 -0
  214. data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
  215. data/generated/google/apis/gan_v1beta1/representations.rb +428 -0
  216. data/generated/google/apis/gan_v1beta1/service.rb +682 -0
  217. data/generated/google/apis/genomics_v1.rb +49 -0
  218. data/generated/google/apis/genomics_v1/classes.rb +2609 -0
  219. data/generated/google/apis/genomics_v1/representations.rb +909 -0
  220. data/generated/google/apis/genomics_v1/service.rb +1676 -0
  221. data/generated/google/apis/genomics_v1beta2.rb +46 -0
  222. data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
  223. data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
  224. data/generated/google/apis/genomics_v1beta2/service.rb +2392 -0
  225. data/generated/google/apis/gmail_v1.rb +52 -0
  226. data/generated/google/apis/gmail_v1/classes.rb +794 -0
  227. data/generated/google/apis/gmail_v1/representations.rb +339 -0
  228. data/generated/google/apis/gmail_v1/service.rb +1470 -0
  229. data/generated/google/apis/groupsmigration_v1.rb +34 -0
  230. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  231. data/generated/google/apis/groupsmigration_v1/representations.rb +38 -0
  232. data/generated/google/apis/groupsmigration_v1/service.rb +110 -0
  233. data/generated/google/apis/groupssettings_v1.rb +34 -0
  234. data/generated/google/apis/groupssettings_v1/classes.rb +221 -0
  235. data/generated/google/apis/groupssettings_v1/representations.rb +64 -0
  236. data/generated/google/apis/groupssettings_v1/service.rb +179 -0
  237. data/generated/google/apis/identitytoolkit_v3.rb +31 -0
  238. data/generated/google/apis/identitytoolkit_v3/classes.rb +1466 -0
  239. data/generated/google/apis/identitytoolkit_v3/representations.rb +509 -0
  240. data/generated/google/apis/identitytoolkit_v3/service.rb +581 -0
  241. data/{spec/google/api_client/request_spec.rb → generated/google/apis/kgsearch_v1.rb} +16 -13
  242. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  243. data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
  244. data/generated/google/apis/kgsearch_v1/service.rb +111 -0
  245. data/generated/google/apis/licensing_v1.rb +34 -0
  246. data/generated/google/apis/licensing_v1/classes.rb +132 -0
  247. data/generated/google/apis/licensing_v1/representations.rb +68 -0
  248. data/generated/google/apis/licensing_v1/service.rb +369 -0
  249. data/generated/google/apis/logging_v1beta3.rb +47 -0
  250. data/generated/google/apis/logging_v1beta3/classes.rb +1079 -0
  251. data/generated/google/apis/logging_v1beta3/representations.rb +366 -0
  252. data/generated/google/apis/logging_v1beta3/service.rb +1001 -0
  253. data/generated/google/apis/manager_v1beta2.rb +53 -0
  254. data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
  255. data/generated/google/apis/manager_v1beta2/representations.rb +536 -0
  256. data/generated/google/apis/manager_v1beta2/service.rb +372 -0
  257. data/generated/google/apis/mapsengine_v1.rb +38 -0
  258. data/generated/google/apis/mapsengine_v1/classes.rb +2873 -0
  259. data/generated/google/apis/mapsengine_v1/representations.rb +1235 -0
  260. data/generated/google/apis/mapsengine_v1/service.rb +3388 -0
  261. data/generated/google/apis/mirror_v1.rb +37 -0
  262. data/generated/google/apis/mirror_v1/classes.rb +1072 -0
  263. data/generated/google/apis/mirror_v1/representations.rb +350 -0
  264. data/generated/google/apis/mirror_v1/service.rb +977 -0
  265. data/generated/google/apis/oauth2_v2.rb +43 -0
  266. data/generated/google/apis/oauth2_v2/classes.rb +245 -0
  267. data/generated/google/apis/oauth2_v2/representations.rb +94 -0
  268. data/generated/google/apis/oauth2_v2/service.rb +199 -0
  269. data/generated/google/apis/pagespeedonline_v2.rb +32 -0
  270. data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
  271. data/generated/google/apis/pagespeedonline_v2/representations.rb +244 -0
  272. data/generated/google/apis/pagespeedonline_v2/service.rb +119 -0
  273. data/generated/google/apis/partners_v2.rb +32 -0
  274. data/generated/google/apis/partners_v2/classes.rb +942 -0
  275. data/generated/google/apis/partners_v2/representations.rb +402 -0
  276. data/generated/google/apis/partners_v2/service.rb +400 -0
  277. data/generated/google/apis/plus_domains_v1.rb +61 -0
  278. data/generated/google/apis/plus_domains_v1/classes.rb +2609 -0
  279. data/generated/google/apis/plus_domains_v1/representations.rb +987 -0
  280. data/generated/google/apis/plus_domains_v1/service.rb +904 -0
  281. data/generated/google/apis/plus_v1.rb +43 -0
  282. data/generated/google/apis/plus_v1/classes.rb +2094 -0
  283. data/generated/google/apis/plus_v1/representations.rb +805 -0
  284. data/generated/google/apis/plus_v1/service.rb +470 -0
  285. data/generated/google/apis/prediction_v1_6.rb +44 -0
  286. data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
  287. data/generated/google/apis/prediction_v1_6/representations.rb +327 -0
  288. data/generated/google/apis/prediction_v1_6/service.rb +380 -0
  289. data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
  290. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
  291. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
  292. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
  293. data/generated/google/apis/pubsub_v1.rb +37 -0
  294. data/generated/google/apis/pubsub_v1/classes.rb +614 -0
  295. data/generated/google/apis/pubsub_v1/representations.rb +281 -0
  296. data/generated/google/apis/pubsub_v1/service.rb +774 -0
  297. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  298. data/generated/google/apis/pubsub_v1beta2/classes.rb +620 -0
  299. data/generated/google/apis/pubsub_v1beta2/representations.rb +282 -0
  300. data/generated/google/apis/pubsub_v1beta2/service.rb +774 -0
  301. data/generated/google/apis/qpx_express_v1.rb +31 -0
  302. data/generated/google/apis/qpx_express_v1/classes.rb +1268 -0
  303. data/generated/google/apis/qpx_express_v1/representations.rb +424 -0
  304. data/generated/google/apis/qpx_express_v1/service.rb +100 -0
  305. data/generated/google/apis/replicapool_v1beta2.rb +44 -0
  306. data/generated/google/apis/replicapool_v1beta2/classes.rb +631 -0
  307. data/generated/google/apis/replicapool_v1beta2/representations.rb +236 -0
  308. data/generated/google/apis/replicapool_v1beta2/service.rb +608 -0
  309. data/generated/google/apis/replicapoolupdater_v1beta1.rb +44 -0
  310. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +733 -0
  311. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +264 -0
  312. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +508 -0
  313. data/generated/google/apis/reseller_v1.rb +37 -0
  314. data/generated/google/apis/reseller_v1/classes.rb +520 -0
  315. data/generated/google/apis/reseller_v1/representations.rb +200 -0
  316. data/generated/google/apis/reseller_v1/service.rb +623 -0
  317. data/generated/google/apis/resourceviews_v1beta2.rb +50 -0
  318. data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
  319. data/generated/google/apis/resourceviews_v1beta2/representations.rb +269 -0
  320. data/generated/google/apis/resourceviews_v1beta2/service.rb +563 -0
  321. data/generated/google/apis/script_v1.rb +61 -0
  322. data/generated/google/apis/script_v1/classes.rb +259 -0
  323. data/generated/google/apis/script_v1/representations.rb +106 -0
  324. data/generated/google/apis/script_v1/service.rb +98 -0
  325. data/generated/google/apis/site_verification_v1.rb +37 -0
  326. data/generated/google/apis/site_verification_v1/classes.rb +185 -0
  327. data/generated/google/apis/site_verification_v1/representations.rb +101 -0
  328. data/generated/google/apis/site_verification_v1/service.rb +315 -0
  329. data/generated/google/apis/sqladmin_v1beta4.rb +37 -0
  330. data/generated/google/apis/sqladmin_v1beta4/classes.rb +2001 -0
  331. data/generated/google/apis/sqladmin_v1beta4/representations.rb +758 -0
  332. data/generated/google/apis/sqladmin_v1beta4/service.rb +1625 -0
  333. data/generated/google/apis/storage_v1.rb +46 -0
  334. data/generated/google/apis/storage_v1/classes.rb +1222 -0
  335. data/generated/google/apis/storage_v1/representations.rb +445 -0
  336. data/generated/google/apis/storage_v1/service.rb +1903 -0
  337. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  338. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  339. data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
  340. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  341. data/generated/google/apis/tagmanager_v1.rb +52 -0
  342. data/generated/google/apis/tagmanager_v1/classes.rb +1384 -0
  343. data/generated/google/apis/tagmanager_v1/representations.rb +515 -0
  344. data/generated/google/apis/tagmanager_v1/service.rb +1817 -0
  345. data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
  346. data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
  347. data/generated/google/apis/taskqueue_v1beta2/representations.rb +114 -0
  348. data/generated/google/apis/taskqueue_v1beta2/service.rb +408 -0
  349. data/generated/google/apis/tasks_v1.rb +37 -0
  350. data/generated/google/apis/tasks_v1/classes.rb +296 -0
  351. data/generated/google/apis/tasks_v1/representations.rb +115 -0
  352. data/generated/google/apis/tasks_v1/service.rb +643 -0
  353. data/generated/google/apis/translate_v2.rb +31 -0
  354. data/generated/google/apis/translate_v2/classes.rb +168 -0
  355. data/generated/google/apis/translate_v2/representations.rb +109 -0
  356. data/generated/google/apis/translate_v2/service.rb +182 -0
  357. data/generated/google/apis/urlshortener_v1.rb +34 -0
  358. data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
  359. data/generated/google/apis/urlshortener_v1/representations.rb +111 -0
  360. data/generated/google/apis/urlshortener_v1/service.rb +176 -0
  361. data/generated/google/apis/webmasters_v3.rb +37 -0
  362. data/generated/google/apis/webmasters_v3/classes.rb +563 -0
  363. data/generated/google/apis/webmasters_v3/representations.rb +250 -0
  364. data/generated/google/apis/webmasters_v3/service.rb +573 -0
  365. data/generated/google/apis/youtube_analytics_v1.rb +46 -0
  366. data/generated/google/apis/youtube_analytics_v1/classes.rb +546 -0
  367. data/generated/google/apis/youtube_analytics_v1/representations.rb +243 -0
  368. data/generated/google/apis/youtube_analytics_v1/service.rb +562 -0
  369. data/generated/google/apis/youtube_v3.rb +49 -0
  370. data/generated/google/apis/youtube_v3/classes.rb +8136 -0
  371. data/generated/google/apis/youtube_v3/representations.rb +2838 -0
  372. data/generated/google/apis/youtube_v3/service.rb +4403 -0
  373. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  374. data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
  375. data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
  376. data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
  377. data/google-api-client.gemspec +27 -39
  378. data/lib/google/api_client/auth/installed_app.rb +7 -5
  379. data/lib/google/api_client/auth/key_utils.rb +1 -0
  380. data/lib/google/api_client/auth/storage.rb +4 -2
  381. data/lib/google/api_client/auth/storages/file_store.rb +2 -3
  382. data/lib/google/api_client/auth/storages/redis_store.rb +7 -2
  383. data/lib/google/api_client/client_secrets.rb +4 -5
  384. data/lib/google/apis.rb +48 -0
  385. data/lib/google/apis/core/api_command.rb +135 -0
  386. data/lib/google/apis/core/base_service.rb +317 -0
  387. data/lib/google/apis/core/batch.rb +239 -0
  388. data/lib/google/apis/core/download.rb +94 -0
  389. data/lib/google/apis/core/hashable.rb +44 -0
  390. data/lib/google/apis/core/http_client_adapter.rb +82 -0
  391. data/lib/google/apis/core/http_command.rb +312 -0
  392. data/lib/google/apis/core/json_representation.rb +127 -0
  393. data/lib/google/{api_client/version.rb → apis/core/logging.rb} +12 -8
  394. data/lib/google/apis/core/multipart.rb +187 -0
  395. data/lib/google/apis/core/upload.rb +288 -0
  396. data/lib/google/{api_client → apis}/errors.rb +39 -28
  397. data/lib/google/apis/generator.rb +70 -0
  398. data/lib/google/apis/generator/annotator.rb +295 -0
  399. data/lib/google/apis/generator/helpers.rb +74 -0
  400. data/lib/google/apis/generator/model.rb +143 -0
  401. data/lib/google/apis/generator/template.rb +124 -0
  402. data/lib/google/apis/generator/templates/_class.tmpl +40 -0
  403. data/lib/google/apis/generator/templates/_method.tmpl +92 -0
  404. data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
  405. data/lib/google/apis/generator/templates/_representation_stub.tmpl +15 -0
  406. data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
  407. data/lib/google/{api_client/reference.rb → apis/generator/templates/classes.rb.tmpl} +11 -9
  408. data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
  409. data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
  410. data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
  411. data/lib/google/apis/options.rb +85 -0
  412. data/lib/google/apis/version.rb +39 -0
  413. data/rakelib/metrics.rake +22 -0
  414. data/rakelib/rubocop.rake +10 -0
  415. data/rakelib/spec.rake +11 -0
  416. data/rakelib/yard.rake +11 -0
  417. data/samples/Gemfile +7 -0
  418. data/samples/README.md +51 -0
  419. data/samples/google-api-samples +32 -0
  420. data/samples/lib/base_cli.rb +94 -0
  421. data/samples/lib/samples/analytics.rb +62 -0
  422. data/samples/lib/samples/calendar.rb +83 -0
  423. data/samples/lib/samples/drive.rb +82 -0
  424. data/samples/lib/samples/gmail.rb +50 -0
  425. data/samples/lib/samples/pubsub.rb +114 -0
  426. data/samples/lib/samples/translate.rb +44 -0
  427. data/samples/lib/samples/you_tube.rb +44 -0
  428. data/script/generate +95 -0
  429. data/script/package +8 -0
  430. data/script/release +15 -0
  431. data/spec/fixtures/files/api_names.yaml +3 -0
  432. data/spec/fixtures/files/auth_stored_credentials.json +8 -0
  433. data/spec/fixtures/files/child/.gitignore +0 -0
  434. data/spec/fixtures/files/client_secrets.json +1 -0
  435. data/spec/fixtures/files/invalid.json +1 -0
  436. data/spec/fixtures/files/test.blah +1 -0
  437. data/spec/fixtures/files/test.txt +1 -0
  438. data/spec/fixtures/files/test_api.json +440 -0
  439. data/spec/google/api_client/auth/storage_spec.rb +1 -3
  440. data/spec/google/api_client/auth/storages/file_store_spec.rb +1 -2
  441. data/spec/google/api_client/auth/storages/redis_store_spec.rb +1 -3
  442. data/spec/google/api_client/client_secrets_spec.rb +38 -1
  443. data/spec/google/apis/core/api_command_spec.rb +209 -0
  444. data/spec/google/apis/core/batch_spec.rb +142 -0
  445. data/spec/google/apis/core/download_spec.rb +103 -0
  446. data/spec/google/apis/core/hashable_spec.rb +60 -0
  447. data/spec/google/apis/core/http_command_spec.rb +284 -0
  448. data/spec/google/apis/core/json_representation_spec.rb +192 -0
  449. data/spec/google/apis/core/service_spec.rb +247 -0
  450. data/spec/google/apis/core/upload_spec.rb +300 -0
  451. data/{lib/google/api_client/discovery.rb → spec/google/apis/generated_spec.rb} +13 -5
  452. data/spec/google/apis/generator/generator_spec.rb +272 -0
  453. data/spec/google/apis/logging_spec.rb +45 -0
  454. data/spec/google/apis/options_spec.rb +40 -0
  455. data/spec/integration_tests/adsense_spec.rb +29 -0
  456. data/spec/integration_tests/drive_spec.rb +35 -0
  457. data/spec/integration_tests/pubsub_spec.rb +48 -0
  458. data/spec/integration_tests/url_shortener_spec.rb +45 -0
  459. data/spec/spec_helper.rb +131 -44
  460. data/spec/spec_helper/load_path_spec.rb +33 -0
  461. data/third_party/hurley_patches.rb +103 -0
  462. metadata +533 -170
  463. data/lib/compat/multi_json.rb +0 -19
  464. data/lib/google/api_client.rb +0 -750
  465. data/lib/google/api_client/auth/file_storage.rb +0 -59
  466. data/lib/google/api_client/auth/jwt_asserter.rb +0 -126
  467. data/lib/google/api_client/auth/pkcs12.rb +0 -41
  468. data/lib/google/api_client/batch.rb +0 -326
  469. data/lib/google/api_client/charset.rb +0 -33
  470. data/lib/google/api_client/discovery/api.rb +0 -310
  471. data/lib/google/api_client/discovery/media.rb +0 -77
  472. data/lib/google/api_client/discovery/method.rb +0 -363
  473. data/lib/google/api_client/discovery/resource.rb +0 -156
  474. data/lib/google/api_client/discovery/schema.rb +0 -117
  475. data/lib/google/api_client/environment.rb +0 -42
  476. data/lib/google/api_client/gzip.rb +0 -28
  477. data/lib/google/api_client/logging.rb +0 -32
  478. data/lib/google/api_client/media.rb +0 -259
  479. data/lib/google/api_client/railtie.rb +0 -18
  480. data/lib/google/api_client/request.rb +0 -350
  481. data/lib/google/api_client/result.rb +0 -255
  482. data/lib/google/api_client/service.rb +0 -233
  483. data/lib/google/api_client/service/batch.rb +0 -110
  484. data/lib/google/api_client/service/request.rb +0 -144
  485. data/lib/google/api_client/service/resource.rb +0 -40
  486. data/lib/google/api_client/service/result.rb +0 -162
  487. data/lib/google/api_client/service/simple_file_store.rb +0 -151
  488. data/lib/google/api_client/service/stub_generator.rb +0 -61
  489. data/spec/google/api_client/batch_spec.rb +0 -248
  490. data/spec/google/api_client/discovery_spec.rb +0 -708
  491. data/spec/google/api_client/gzip_spec.rb +0 -98
  492. data/spec/google/api_client/media_spec.rb +0 -178
  493. data/spec/google/api_client/result_spec.rb +0 -207
  494. data/spec/google/api_client/service_account_spec.rb +0 -169
  495. data/spec/google/api_client/service_spec.rb +0 -618
  496. data/spec/google/api_client/simple_file_store_spec.rb +0 -133
  497. data/spec/google/api_client_spec.rb +0 -352
@@ -0,0 +1,37 @@
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 'google/apis/blogger_v3/service.rb'
16
+ require 'google/apis/blogger_v3/classes.rb'
17
+ require 'google/apis/blogger_v3/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Blogger API
22
+ #
23
+ # API for access to the data within Blogger.
24
+ #
25
+ # @see https://developers.google.com/blogger/docs/3.0/getting_started
26
+ module BloggerV3
27
+ VERSION = 'V3'
28
+ REVISION = '20150422'
29
+
30
+ # Manage your Blogger account
31
+ AUTH_BLOGGER = 'https://www.googleapis.com/auth/blogger'
32
+
33
+ # View your Blogger account
34
+ AUTH_BLOGGER_READONLY = 'https://www.googleapis.com/auth/blogger.readonly'
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,1354 @@
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 BloggerV3
24
+
25
+ #
26
+ class Blog
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The JSON custom meta-data for the Blog
30
+ # Corresponds to the JSON property `customMetaData`
31
+ # @return [String]
32
+ attr_accessor :custom_meta_data
33
+
34
+ # The description of this blog. This is displayed underneath the title.
35
+ # Corresponds to the JSON property `description`
36
+ # @return [String]
37
+ attr_accessor :description
38
+
39
+ # The identifier for this resource.
40
+ # Corresponds to the JSON property `id`
41
+ # @return [String]
42
+ attr_accessor :id
43
+
44
+ # The kind of this entry. Always blogger#blog
45
+ # Corresponds to the JSON property `kind`
46
+ # @return [String]
47
+ attr_accessor :kind
48
+
49
+ # The locale this Blog is set to.
50
+ # Corresponds to the JSON property `locale`
51
+ # @return [Google::Apis::BloggerV3::Blog::Locale]
52
+ attr_accessor :locale
53
+
54
+ # The name of this blog. This is displayed as the title.
55
+ # Corresponds to the JSON property `name`
56
+ # @return [String]
57
+ attr_accessor :name
58
+
59
+ # The container of pages in this blog.
60
+ # Corresponds to the JSON property `pages`
61
+ # @return [Google::Apis::BloggerV3::Blog::Pages]
62
+ attr_accessor :pages
63
+
64
+ # The container of posts in this blog.
65
+ # Corresponds to the JSON property `posts`
66
+ # @return [Google::Apis::BloggerV3::Blog::Posts]
67
+ attr_accessor :posts
68
+
69
+ # RFC 3339 date-time when this blog was published.
70
+ # Corresponds to the JSON property `published`
71
+ # @return [DateTime]
72
+ attr_accessor :published
73
+
74
+ # The API REST URL to fetch this resource from.
75
+ # Corresponds to the JSON property `selfLink`
76
+ # @return [String]
77
+ attr_accessor :self_link
78
+
79
+ # The status of the blog.
80
+ # Corresponds to the JSON property `status`
81
+ # @return [String]
82
+ attr_accessor :status
83
+
84
+ # RFC 3339 date-time when this blog was last updated.
85
+ # Corresponds to the JSON property `updated`
86
+ # @return [DateTime]
87
+ attr_accessor :updated
88
+
89
+ # The URL where this blog is published.
90
+ # Corresponds to the JSON property `url`
91
+ # @return [String]
92
+ attr_accessor :url
93
+
94
+ def initialize(**args)
95
+ update!(**args)
96
+ end
97
+
98
+ # Update properties of this object
99
+ def update!(**args)
100
+ @custom_meta_data = args[:custom_meta_data] unless args[:custom_meta_data].nil?
101
+ @description = args[:description] unless args[:description].nil?
102
+ @id = args[:id] unless args[:id].nil?
103
+ @kind = args[:kind] unless args[:kind].nil?
104
+ @locale = args[:locale] unless args[:locale].nil?
105
+ @name = args[:name] unless args[:name].nil?
106
+ @pages = args[:pages] unless args[:pages].nil?
107
+ @posts = args[:posts] unless args[:posts].nil?
108
+ @published = args[:published] unless args[:published].nil?
109
+ @self_link = args[:self_link] unless args[:self_link].nil?
110
+ @status = args[:status] unless args[:status].nil?
111
+ @updated = args[:updated] unless args[:updated].nil?
112
+ @url = args[:url] unless args[:url].nil?
113
+ end
114
+
115
+ # The locale this Blog is set to.
116
+ class Locale
117
+ include Google::Apis::Core::Hashable
118
+
119
+ # The country this blog's locale is set to.
120
+ # Corresponds to the JSON property `country`
121
+ # @return [String]
122
+ attr_accessor :country
123
+
124
+ # The language this blog is authored in.
125
+ # Corresponds to the JSON property `language`
126
+ # @return [String]
127
+ attr_accessor :language
128
+
129
+ # The language variant this blog is authored in.
130
+ # Corresponds to the JSON property `variant`
131
+ # @return [String]
132
+ attr_accessor :variant
133
+
134
+ def initialize(**args)
135
+ update!(**args)
136
+ end
137
+
138
+ # Update properties of this object
139
+ def update!(**args)
140
+ @country = args[:country] unless args[:country].nil?
141
+ @language = args[:language] unless args[:language].nil?
142
+ @variant = args[:variant] unless args[:variant].nil?
143
+ end
144
+ end
145
+
146
+ # The container of pages in this blog.
147
+ class Pages
148
+ include Google::Apis::Core::Hashable
149
+
150
+ # The URL of the container for pages in this blog.
151
+ # Corresponds to the JSON property `selfLink`
152
+ # @return [String]
153
+ attr_accessor :self_link
154
+
155
+ # The count of pages in this blog.
156
+ # Corresponds to the JSON property `totalItems`
157
+ # @return [Fixnum]
158
+ attr_accessor :total_items
159
+
160
+ def initialize(**args)
161
+ update!(**args)
162
+ end
163
+
164
+ # Update properties of this object
165
+ def update!(**args)
166
+ @self_link = args[:self_link] unless args[:self_link].nil?
167
+ @total_items = args[:total_items] unless args[:total_items].nil?
168
+ end
169
+ end
170
+
171
+ # The container of posts in this blog.
172
+ class Posts
173
+ include Google::Apis::Core::Hashable
174
+
175
+ # The List of Posts for this Blog.
176
+ # Corresponds to the JSON property `items`
177
+ # @return [Array<Google::Apis::BloggerV3::Post>]
178
+ attr_accessor :items
179
+
180
+ # The URL of the container for posts in this blog.
181
+ # Corresponds to the JSON property `selfLink`
182
+ # @return [String]
183
+ attr_accessor :self_link
184
+
185
+ # The count of posts in this blog.
186
+ # Corresponds to the JSON property `totalItems`
187
+ # @return [Fixnum]
188
+ attr_accessor :total_items
189
+
190
+ def initialize(**args)
191
+ update!(**args)
192
+ end
193
+
194
+ # Update properties of this object
195
+ def update!(**args)
196
+ @items = args[:items] unless args[:items].nil?
197
+ @self_link = args[:self_link] unless args[:self_link].nil?
198
+ @total_items = args[:total_items] unless args[:total_items].nil?
199
+ end
200
+ end
201
+ end
202
+
203
+ #
204
+ class BlogList
205
+ include Google::Apis::Core::Hashable
206
+
207
+ # Admin level list of blog per-user information
208
+ # Corresponds to the JSON property `blogUserInfos`
209
+ # @return [Array<Google::Apis::BloggerV3::BlogUserInfo>]
210
+ attr_accessor :blog_user_infos
211
+
212
+ # The list of Blogs this user has Authorship or Admin rights over.
213
+ # Corresponds to the JSON property `items`
214
+ # @return [Array<Google::Apis::BloggerV3::Blog>]
215
+ attr_accessor :items
216
+
217
+ # The kind of this entity. Always blogger#blogList
218
+ # Corresponds to the JSON property `kind`
219
+ # @return [String]
220
+ attr_accessor :kind
221
+
222
+ def initialize(**args)
223
+ update!(**args)
224
+ end
225
+
226
+ # Update properties of this object
227
+ def update!(**args)
228
+ @blog_user_infos = args[:blog_user_infos] unless args[:blog_user_infos].nil?
229
+ @items = args[:items] unless args[:items].nil?
230
+ @kind = args[:kind] unless args[:kind].nil?
231
+ end
232
+ end
233
+
234
+ #
235
+ class BlogPerUserInfo
236
+ include Google::Apis::Core::Hashable
237
+
238
+ # ID of the Blog resource
239
+ # Corresponds to the JSON property `blogId`
240
+ # @return [String]
241
+ attr_accessor :blog_id
242
+
243
+ # True if the user has Admin level access to the blog.
244
+ # Corresponds to the JSON property `hasAdminAccess`
245
+ # @return [Boolean]
246
+ attr_accessor :has_admin_access
247
+ alias_method :has_admin_access?, :has_admin_access
248
+
249
+ # The kind of this entity. Always blogger#blogPerUserInfo
250
+ # Corresponds to the JSON property `kind`
251
+ # @return [String]
252
+ attr_accessor :kind
253
+
254
+ # The Photo Album Key for the user when adding photos to the blog
255
+ # Corresponds to the JSON property `photosAlbumKey`
256
+ # @return [String]
257
+ attr_accessor :photos_album_key
258
+
259
+ # Access permissions that the user has for the blog (ADMIN, AUTHOR, or READER).
260
+ # Corresponds to the JSON property `role`
261
+ # @return [String]
262
+ attr_accessor :role
263
+
264
+ # ID of the User
265
+ # Corresponds to the JSON property `userId`
266
+ # @return [String]
267
+ attr_accessor :user_id
268
+
269
+ def initialize(**args)
270
+ update!(**args)
271
+ end
272
+
273
+ # Update properties of this object
274
+ def update!(**args)
275
+ @blog_id = args[:blog_id] unless args[:blog_id].nil?
276
+ @has_admin_access = args[:has_admin_access] unless args[:has_admin_access].nil?
277
+ @kind = args[:kind] unless args[:kind].nil?
278
+ @photos_album_key = args[:photos_album_key] unless args[:photos_album_key].nil?
279
+ @role = args[:role] unless args[:role].nil?
280
+ @user_id = args[:user_id] unless args[:user_id].nil?
281
+ end
282
+ end
283
+
284
+ #
285
+ class BlogUserInfo
286
+ include Google::Apis::Core::Hashable
287
+
288
+ # The Blog resource.
289
+ # Corresponds to the JSON property `blog`
290
+ # @return [Google::Apis::BloggerV3::Blog]
291
+ attr_accessor :blog
292
+
293
+ # Information about a User for the Blog.
294
+ # Corresponds to the JSON property `blog_user_info`
295
+ # @return [Google::Apis::BloggerV3::BlogPerUserInfo]
296
+ attr_accessor :blog_user_info
297
+
298
+ # The kind of this entity. Always blogger#blogUserInfo
299
+ # Corresponds to the JSON property `kind`
300
+ # @return [String]
301
+ attr_accessor :kind
302
+
303
+ def initialize(**args)
304
+ update!(**args)
305
+ end
306
+
307
+ # Update properties of this object
308
+ def update!(**args)
309
+ @blog = args[:blog] unless args[:blog].nil?
310
+ @blog_user_info = args[:blog_user_info] unless args[:blog_user_info].nil?
311
+ @kind = args[:kind] unless args[:kind].nil?
312
+ end
313
+ end
314
+
315
+ #
316
+ class Comment
317
+ include Google::Apis::Core::Hashable
318
+
319
+ # The author of this Comment.
320
+ # Corresponds to the JSON property `author`
321
+ # @return [Google::Apis::BloggerV3::Comment::Author]
322
+ attr_accessor :author
323
+
324
+ # Data about the blog containing this comment.
325
+ # Corresponds to the JSON property `blog`
326
+ # @return [Google::Apis::BloggerV3::Comment::Blog]
327
+ attr_accessor :blog
328
+
329
+ # The actual content of the comment. May include HTML markup.
330
+ # Corresponds to the JSON property `content`
331
+ # @return [String]
332
+ attr_accessor :content
333
+
334
+ # The identifier for this resource.
335
+ # Corresponds to the JSON property `id`
336
+ # @return [String]
337
+ attr_accessor :id
338
+
339
+ # Data about the comment this is in reply to.
340
+ # Corresponds to the JSON property `inReplyTo`
341
+ # @return [Google::Apis::BloggerV3::Comment::InReplyTo]
342
+ attr_accessor :in_reply_to
343
+
344
+ # The kind of this entry. Always blogger#comment
345
+ # Corresponds to the JSON property `kind`
346
+ # @return [String]
347
+ attr_accessor :kind
348
+
349
+ # Data about the post containing this comment.
350
+ # Corresponds to the JSON property `post`
351
+ # @return [Google::Apis::BloggerV3::Comment::Post]
352
+ attr_accessor :post
353
+
354
+ # RFC 3339 date-time when this comment was published.
355
+ # Corresponds to the JSON property `published`
356
+ # @return [DateTime]
357
+ attr_accessor :published
358
+
359
+ # The API REST URL to fetch this resource from.
360
+ # Corresponds to the JSON property `selfLink`
361
+ # @return [String]
362
+ attr_accessor :self_link
363
+
364
+ # The status of the comment (only populated for admin users)
365
+ # Corresponds to the JSON property `status`
366
+ # @return [String]
367
+ attr_accessor :status
368
+
369
+ # RFC 3339 date-time when this comment was last updated.
370
+ # Corresponds to the JSON property `updated`
371
+ # @return [DateTime]
372
+ attr_accessor :updated
373
+
374
+ def initialize(**args)
375
+ update!(**args)
376
+ end
377
+
378
+ # Update properties of this object
379
+ def update!(**args)
380
+ @author = args[:author] unless args[:author].nil?
381
+ @blog = args[:blog] unless args[:blog].nil?
382
+ @content = args[:content] unless args[:content].nil?
383
+ @id = args[:id] unless args[:id].nil?
384
+ @in_reply_to = args[:in_reply_to] unless args[:in_reply_to].nil?
385
+ @kind = args[:kind] unless args[:kind].nil?
386
+ @post = args[:post] unless args[:post].nil?
387
+ @published = args[:published] unless args[:published].nil?
388
+ @self_link = args[:self_link] unless args[:self_link].nil?
389
+ @status = args[:status] unless args[:status].nil?
390
+ @updated = args[:updated] unless args[:updated].nil?
391
+ end
392
+
393
+ # The author of this Comment.
394
+ class Author
395
+ include Google::Apis::Core::Hashable
396
+
397
+ # The display name.
398
+ # Corresponds to the JSON property `displayName`
399
+ # @return [String]
400
+ attr_accessor :display_name
401
+
402
+ # The identifier of the Comment creator.
403
+ # Corresponds to the JSON property `id`
404
+ # @return [String]
405
+ attr_accessor :id
406
+
407
+ # The comment creator's avatar.
408
+ # Corresponds to the JSON property `image`
409
+ # @return [Google::Apis::BloggerV3::Comment::Author::Image]
410
+ attr_accessor :image
411
+
412
+ # The URL of the Comment creator's Profile page.
413
+ # Corresponds to the JSON property `url`
414
+ # @return [String]
415
+ attr_accessor :url
416
+
417
+ def initialize(**args)
418
+ update!(**args)
419
+ end
420
+
421
+ # Update properties of this object
422
+ def update!(**args)
423
+ @display_name = args[:display_name] unless args[:display_name].nil?
424
+ @id = args[:id] unless args[:id].nil?
425
+ @image = args[:image] unless args[:image].nil?
426
+ @url = args[:url] unless args[:url].nil?
427
+ end
428
+
429
+ # The comment creator's avatar.
430
+ class Image
431
+ include Google::Apis::Core::Hashable
432
+
433
+ # The comment creator's avatar URL.
434
+ # Corresponds to the JSON property `url`
435
+ # @return [String]
436
+ attr_accessor :url
437
+
438
+ def initialize(**args)
439
+ update!(**args)
440
+ end
441
+
442
+ # Update properties of this object
443
+ def update!(**args)
444
+ @url = args[:url] unless args[:url].nil?
445
+ end
446
+ end
447
+ end
448
+
449
+ # Data about the blog containing this comment.
450
+ class Blog
451
+ include Google::Apis::Core::Hashable
452
+
453
+ # The identifier of the blog containing this comment.
454
+ # Corresponds to the JSON property `id`
455
+ # @return [String]
456
+ attr_accessor :id
457
+
458
+ def initialize(**args)
459
+ update!(**args)
460
+ end
461
+
462
+ # Update properties of this object
463
+ def update!(**args)
464
+ @id = args[:id] unless args[:id].nil?
465
+ end
466
+ end
467
+
468
+ # Data about the comment this is in reply to.
469
+ class InReplyTo
470
+ include Google::Apis::Core::Hashable
471
+
472
+ # The identified of the parent of this comment.
473
+ # Corresponds to the JSON property `id`
474
+ # @return [String]
475
+ attr_accessor :id
476
+
477
+ def initialize(**args)
478
+ update!(**args)
479
+ end
480
+
481
+ # Update properties of this object
482
+ def update!(**args)
483
+ @id = args[:id] unless args[:id].nil?
484
+ end
485
+ end
486
+
487
+ # Data about the post containing this comment.
488
+ class Post
489
+ include Google::Apis::Core::Hashable
490
+
491
+ # The identifier of the post containing this comment.
492
+ # Corresponds to the JSON property `id`
493
+ # @return [String]
494
+ attr_accessor :id
495
+
496
+ def initialize(**args)
497
+ update!(**args)
498
+ end
499
+
500
+ # Update properties of this object
501
+ def update!(**args)
502
+ @id = args[:id] unless args[:id].nil?
503
+ end
504
+ end
505
+ end
506
+
507
+ #
508
+ class CommentList
509
+ include Google::Apis::Core::Hashable
510
+
511
+ # Etag of the response.
512
+ # Corresponds to the JSON property `etag`
513
+ # @return [String]
514
+ attr_accessor :etag
515
+
516
+ # The List of Comments for a Post.
517
+ # Corresponds to the JSON property `items`
518
+ # @return [Array<Google::Apis::BloggerV3::Comment>]
519
+ attr_accessor :items
520
+
521
+ # The kind of this entry. Always blogger#commentList
522
+ # Corresponds to the JSON property `kind`
523
+ # @return [String]
524
+ attr_accessor :kind
525
+
526
+ # Pagination token to fetch the next page, if one exists.
527
+ # Corresponds to the JSON property `nextPageToken`
528
+ # @return [String]
529
+ attr_accessor :next_page_token
530
+
531
+ # Pagination token to fetch the previous page, if one exists.
532
+ # Corresponds to the JSON property `prevPageToken`
533
+ # @return [String]
534
+ attr_accessor :prev_page_token
535
+
536
+ def initialize(**args)
537
+ update!(**args)
538
+ end
539
+
540
+ # Update properties of this object
541
+ def update!(**args)
542
+ @etag = args[:etag] unless args[:etag].nil?
543
+ @items = args[:items] unless args[:items].nil?
544
+ @kind = args[:kind] unless args[:kind].nil?
545
+ @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
546
+ @prev_page_token = args[:prev_page_token] unless args[:prev_page_token].nil?
547
+ end
548
+ end
549
+
550
+ #
551
+ class Page
552
+ include Google::Apis::Core::Hashable
553
+
554
+ # The author of this Page.
555
+ # Corresponds to the JSON property `author`
556
+ # @return [Google::Apis::BloggerV3::Page::Author]
557
+ attr_accessor :author
558
+
559
+ # Data about the blog containing this Page.
560
+ # Corresponds to the JSON property `blog`
561
+ # @return [Google::Apis::BloggerV3::Page::Blog]
562
+ attr_accessor :blog
563
+
564
+ # The body content of this Page, in HTML.
565
+ # Corresponds to the JSON property `content`
566
+ # @return [String]
567
+ attr_accessor :content
568
+
569
+ # Etag of the resource.
570
+ # Corresponds to the JSON property `etag`
571
+ # @return [String]
572
+ attr_accessor :etag
573
+
574
+ # The identifier for this resource.
575
+ # Corresponds to the JSON property `id`
576
+ # @return [String]
577
+ attr_accessor :id
578
+
579
+ # The kind of this entity. Always blogger#page
580
+ # Corresponds to the JSON property `kind`
581
+ # @return [String]
582
+ attr_accessor :kind
583
+
584
+ # RFC 3339 date-time when this Page was published.
585
+ # Corresponds to the JSON property `published`
586
+ # @return [DateTime]
587
+ attr_accessor :published
588
+
589
+ # The API REST URL to fetch this resource from.
590
+ # Corresponds to the JSON property `selfLink`
591
+ # @return [String]
592
+ attr_accessor :self_link
593
+
594
+ # The status of the page for admin resources (either LIVE or DRAFT).
595
+ # Corresponds to the JSON property `status`
596
+ # @return [String]
597
+ attr_accessor :status
598
+
599
+ # The title of this entity. This is the name displayed in the Admin user
600
+ # interface.
601
+ # Corresponds to the JSON property `title`
602
+ # @return [String]
603
+ attr_accessor :title
604
+
605
+ # RFC 3339 date-time when this Page was last updated.
606
+ # Corresponds to the JSON property `updated`
607
+ # @return [DateTime]
608
+ attr_accessor :updated
609
+
610
+ # The URL that this Page is displayed at.
611
+ # Corresponds to the JSON property `url`
612
+ # @return [String]
613
+ attr_accessor :url
614
+
615
+ def initialize(**args)
616
+ update!(**args)
617
+ end
618
+
619
+ # Update properties of this object
620
+ def update!(**args)
621
+ @author = args[:author] unless args[:author].nil?
622
+ @blog = args[:blog] unless args[:blog].nil?
623
+ @content = args[:content] unless args[:content].nil?
624
+ @etag = args[:etag] unless args[:etag].nil?
625
+ @id = args[:id] unless args[:id].nil?
626
+ @kind = args[:kind] unless args[:kind].nil?
627
+ @published = args[:published] unless args[:published].nil?
628
+ @self_link = args[:self_link] unless args[:self_link].nil?
629
+ @status = args[:status] unless args[:status].nil?
630
+ @title = args[:title] unless args[:title].nil?
631
+ @updated = args[:updated] unless args[:updated].nil?
632
+ @url = args[:url] unless args[:url].nil?
633
+ end
634
+
635
+ # The author of this Page.
636
+ class Author
637
+ include Google::Apis::Core::Hashable
638
+
639
+ # The display name.
640
+ # Corresponds to the JSON property `displayName`
641
+ # @return [String]
642
+ attr_accessor :display_name
643
+
644
+ # The identifier of the Page creator.
645
+ # Corresponds to the JSON property `id`
646
+ # @return [String]
647
+ attr_accessor :id
648
+
649
+ # The page author's avatar.
650
+ # Corresponds to the JSON property `image`
651
+ # @return [Google::Apis::BloggerV3::Page::Author::Image]
652
+ attr_accessor :image
653
+
654
+ # The URL of the Page creator's Profile page.
655
+ # Corresponds to the JSON property `url`
656
+ # @return [String]
657
+ attr_accessor :url
658
+
659
+ def initialize(**args)
660
+ update!(**args)
661
+ end
662
+
663
+ # Update properties of this object
664
+ def update!(**args)
665
+ @display_name = args[:display_name] unless args[:display_name].nil?
666
+ @id = args[:id] unless args[:id].nil?
667
+ @image = args[:image] unless args[:image].nil?
668
+ @url = args[:url] unless args[:url].nil?
669
+ end
670
+
671
+ # The page author's avatar.
672
+ class Image
673
+ include Google::Apis::Core::Hashable
674
+
675
+ # The page author's avatar URL.
676
+ # Corresponds to the JSON property `url`
677
+ # @return [String]
678
+ attr_accessor :url
679
+
680
+ def initialize(**args)
681
+ update!(**args)
682
+ end
683
+
684
+ # Update properties of this object
685
+ def update!(**args)
686
+ @url = args[:url] unless args[:url].nil?
687
+ end
688
+ end
689
+ end
690
+
691
+ # Data about the blog containing this Page.
692
+ class Blog
693
+ include Google::Apis::Core::Hashable
694
+
695
+ # The identifier of the blog containing this page.
696
+ # Corresponds to the JSON property `id`
697
+ # @return [String]
698
+ attr_accessor :id
699
+
700
+ def initialize(**args)
701
+ update!(**args)
702
+ end
703
+
704
+ # Update properties of this object
705
+ def update!(**args)
706
+ @id = args[:id] unless args[:id].nil?
707
+ end
708
+ end
709
+ end
710
+
711
+ #
712
+ class PageList
713
+ include Google::Apis::Core::Hashable
714
+
715
+ # Etag of the response.
716
+ # Corresponds to the JSON property `etag`
717
+ # @return [String]
718
+ attr_accessor :etag
719
+
720
+ # The list of Pages for a Blog.
721
+ # Corresponds to the JSON property `items`
722
+ # @return [Array<Google::Apis::BloggerV3::Page>]
723
+ attr_accessor :items
724
+
725
+ # The kind of this entity. Always blogger#pageList
726
+ # Corresponds to the JSON property `kind`
727
+ # @return [String]
728
+ attr_accessor :kind
729
+
730
+ # Pagination token to fetch the next page, if one exists.
731
+ # Corresponds to the JSON property `nextPageToken`
732
+ # @return [String]
733
+ attr_accessor :next_page_token
734
+
735
+ def initialize(**args)
736
+ update!(**args)
737
+ end
738
+
739
+ # Update properties of this object
740
+ def update!(**args)
741
+ @etag = args[:etag] unless args[:etag].nil?
742
+ @items = args[:items] unless args[:items].nil?
743
+ @kind = args[:kind] unless args[:kind].nil?
744
+ @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
745
+ end
746
+ end
747
+
748
+ #
749
+ class Pageviews
750
+ include Google::Apis::Core::Hashable
751
+
752
+ # Blog Id
753
+ # Corresponds to the JSON property `blogId`
754
+ # @return [String]
755
+ attr_accessor :blog_id
756
+
757
+ # The container of posts in this blog.
758
+ # Corresponds to the JSON property `counts`
759
+ # @return [Array<Google::Apis::BloggerV3::Pageviews::Count>]
760
+ attr_accessor :counts
761
+
762
+ # The kind of this entry. Always blogger#page_views
763
+ # Corresponds to the JSON property `kind`
764
+ # @return [String]
765
+ attr_accessor :kind
766
+
767
+ def initialize(**args)
768
+ update!(**args)
769
+ end
770
+
771
+ # Update properties of this object
772
+ def update!(**args)
773
+ @blog_id = args[:blog_id] unless args[:blog_id].nil?
774
+ @counts = args[:counts] unless args[:counts].nil?
775
+ @kind = args[:kind] unless args[:kind].nil?
776
+ end
777
+
778
+ #
779
+ class Count
780
+ include Google::Apis::Core::Hashable
781
+
782
+ # Count of page views for the given time range
783
+ # Corresponds to the JSON property `count`
784
+ # @return [String]
785
+ attr_accessor :count
786
+
787
+ # Time range the given count applies to
788
+ # Corresponds to the JSON property `timeRange`
789
+ # @return [String]
790
+ attr_accessor :time_range
791
+
792
+ def initialize(**args)
793
+ update!(**args)
794
+ end
795
+
796
+ # Update properties of this object
797
+ def update!(**args)
798
+ @count = args[:count] unless args[:count].nil?
799
+ @time_range = args[:time_range] unless args[:time_range].nil?
800
+ end
801
+ end
802
+ end
803
+
804
+ #
805
+ class Post
806
+ include Google::Apis::Core::Hashable
807
+
808
+ # The author of this Post.
809
+ # Corresponds to the JSON property `author`
810
+ # @return [Google::Apis::BloggerV3::Post::Author]
811
+ attr_accessor :author
812
+
813
+ # Data about the blog containing this Post.
814
+ # Corresponds to the JSON property `blog`
815
+ # @return [Google::Apis::BloggerV3::Post::Blog]
816
+ attr_accessor :blog
817
+
818
+ # The content of the Post. May contain HTML markup.
819
+ # Corresponds to the JSON property `content`
820
+ # @return [String]
821
+ attr_accessor :content
822
+
823
+ # The JSON meta-data for the Post.
824
+ # Corresponds to the JSON property `customMetaData`
825
+ # @return [String]
826
+ attr_accessor :custom_meta_data
827
+
828
+ # Etag of the resource.
829
+ # Corresponds to the JSON property `etag`
830
+ # @return [String]
831
+ attr_accessor :etag
832
+
833
+ # The identifier of this Post.
834
+ # Corresponds to the JSON property `id`
835
+ # @return [String]
836
+ attr_accessor :id
837
+
838
+ # Display image for the Post.
839
+ # Corresponds to the JSON property `images`
840
+ # @return [Array<Google::Apis::BloggerV3::Post::Image>]
841
+ attr_accessor :images
842
+
843
+ # The kind of this entity. Always blogger#post
844
+ # Corresponds to the JSON property `kind`
845
+ # @return [String]
846
+ attr_accessor :kind
847
+
848
+ # The list of labels this Post was tagged with.
849
+ # Corresponds to the JSON property `labels`
850
+ # @return [Array<String>]
851
+ attr_accessor :labels
852
+
853
+ # The location for geotagged posts.
854
+ # Corresponds to the JSON property `location`
855
+ # @return [Google::Apis::BloggerV3::Post::Location]
856
+ attr_accessor :location
857
+
858
+ # RFC 3339 date-time when this Post was published.
859
+ # Corresponds to the JSON property `published`
860
+ # @return [DateTime]
861
+ attr_accessor :published
862
+
863
+ # Comment control and display setting for readers of this post.
864
+ # Corresponds to the JSON property `readerComments`
865
+ # @return [String]
866
+ attr_accessor :reader_comments
867
+
868
+ # The container of comments on this Post.
869
+ # Corresponds to the JSON property `replies`
870
+ # @return [Google::Apis::BloggerV3::Post::Replies]
871
+ attr_accessor :replies
872
+
873
+ # The API REST URL to fetch this resource from.
874
+ # Corresponds to the JSON property `selfLink`
875
+ # @return [String]
876
+ attr_accessor :self_link
877
+
878
+ # Status of the post. Only set for admin-level requests
879
+ # Corresponds to the JSON property `status`
880
+ # @return [String]
881
+ attr_accessor :status
882
+
883
+ # The title of the Post.
884
+ # Corresponds to the JSON property `title`
885
+ # @return [String]
886
+ attr_accessor :title
887
+
888
+ # The title link URL, similar to atom's related link.
889
+ # Corresponds to the JSON property `titleLink`
890
+ # @return [String]
891
+ attr_accessor :title_link
892
+
893
+ # RFC 3339 date-time when this Post was last updated.
894
+ # Corresponds to the JSON property `updated`
895
+ # @return [DateTime]
896
+ attr_accessor :updated
897
+
898
+ # The URL where this Post is displayed.
899
+ # Corresponds to the JSON property `url`
900
+ # @return [String]
901
+ attr_accessor :url
902
+
903
+ def initialize(**args)
904
+ update!(**args)
905
+ end
906
+
907
+ # Update properties of this object
908
+ def update!(**args)
909
+ @author = args[:author] unless args[:author].nil?
910
+ @blog = args[:blog] unless args[:blog].nil?
911
+ @content = args[:content] unless args[:content].nil?
912
+ @custom_meta_data = args[:custom_meta_data] unless args[:custom_meta_data].nil?
913
+ @etag = args[:etag] unless args[:etag].nil?
914
+ @id = args[:id] unless args[:id].nil?
915
+ @images = args[:images] unless args[:images].nil?
916
+ @kind = args[:kind] unless args[:kind].nil?
917
+ @labels = args[:labels] unless args[:labels].nil?
918
+ @location = args[:location] unless args[:location].nil?
919
+ @published = args[:published] unless args[:published].nil?
920
+ @reader_comments = args[:reader_comments] unless args[:reader_comments].nil?
921
+ @replies = args[:replies] unless args[:replies].nil?
922
+ @self_link = args[:self_link] unless args[:self_link].nil?
923
+ @status = args[:status] unless args[:status].nil?
924
+ @title = args[:title] unless args[:title].nil?
925
+ @title_link = args[:title_link] unless args[:title_link].nil?
926
+ @updated = args[:updated] unless args[:updated].nil?
927
+ @url = args[:url] unless args[:url].nil?
928
+ end
929
+
930
+ # The author of this Post.
931
+ class Author
932
+ include Google::Apis::Core::Hashable
933
+
934
+ # The display name.
935
+ # Corresponds to the JSON property `displayName`
936
+ # @return [String]
937
+ attr_accessor :display_name
938
+
939
+ # The identifier of the Post creator.
940
+ # Corresponds to the JSON property `id`
941
+ # @return [String]
942
+ attr_accessor :id
943
+
944
+ # The Post author's avatar.
945
+ # Corresponds to the JSON property `image`
946
+ # @return [Google::Apis::BloggerV3::Post::Author::Image]
947
+ attr_accessor :image
948
+
949
+ # The URL of the Post creator's Profile page.
950
+ # Corresponds to the JSON property `url`
951
+ # @return [String]
952
+ attr_accessor :url
953
+
954
+ def initialize(**args)
955
+ update!(**args)
956
+ end
957
+
958
+ # Update properties of this object
959
+ def update!(**args)
960
+ @display_name = args[:display_name] unless args[:display_name].nil?
961
+ @id = args[:id] unless args[:id].nil?
962
+ @image = args[:image] unless args[:image].nil?
963
+ @url = args[:url] unless args[:url].nil?
964
+ end
965
+
966
+ # The Post author's avatar.
967
+ class Image
968
+ include Google::Apis::Core::Hashable
969
+
970
+ # The Post author's avatar URL.
971
+ # Corresponds to the JSON property `url`
972
+ # @return [String]
973
+ attr_accessor :url
974
+
975
+ def initialize(**args)
976
+ update!(**args)
977
+ end
978
+
979
+ # Update properties of this object
980
+ def update!(**args)
981
+ @url = args[:url] unless args[:url].nil?
982
+ end
983
+ end
984
+ end
985
+
986
+ # Data about the blog containing this Post.
987
+ class Blog
988
+ include Google::Apis::Core::Hashable
989
+
990
+ # The identifier of the Blog that contains this Post.
991
+ # Corresponds to the JSON property `id`
992
+ # @return [String]
993
+ attr_accessor :id
994
+
995
+ def initialize(**args)
996
+ update!(**args)
997
+ end
998
+
999
+ # Update properties of this object
1000
+ def update!(**args)
1001
+ @id = args[:id] unless args[:id].nil?
1002
+ end
1003
+ end
1004
+
1005
+ #
1006
+ class Image
1007
+ include Google::Apis::Core::Hashable
1008
+
1009
+ #
1010
+ # Corresponds to the JSON property `url`
1011
+ # @return [String]
1012
+ attr_accessor :url
1013
+
1014
+ def initialize(**args)
1015
+ update!(**args)
1016
+ end
1017
+
1018
+ # Update properties of this object
1019
+ def update!(**args)
1020
+ @url = args[:url] unless args[:url].nil?
1021
+ end
1022
+ end
1023
+
1024
+ # The location for geotagged posts.
1025
+ class Location
1026
+ include Google::Apis::Core::Hashable
1027
+
1028
+ # Location's latitude.
1029
+ # Corresponds to the JSON property `lat`
1030
+ # @return [Float]
1031
+ attr_accessor :lat
1032
+
1033
+ # Location's longitude.
1034
+ # Corresponds to the JSON property `lng`
1035
+ # @return [Float]
1036
+ attr_accessor :lng
1037
+
1038
+ # Location name.
1039
+ # Corresponds to the JSON property `name`
1040
+ # @return [String]
1041
+ attr_accessor :name
1042
+
1043
+ # Location's viewport span. Can be used when rendering a map preview.
1044
+ # Corresponds to the JSON property `span`
1045
+ # @return [String]
1046
+ attr_accessor :span
1047
+
1048
+ def initialize(**args)
1049
+ update!(**args)
1050
+ end
1051
+
1052
+ # Update properties of this object
1053
+ def update!(**args)
1054
+ @lat = args[:lat] unless args[:lat].nil?
1055
+ @lng = args[:lng] unless args[:lng].nil?
1056
+ @name = args[:name] unless args[:name].nil?
1057
+ @span = args[:span] unless args[:span].nil?
1058
+ end
1059
+ end
1060
+
1061
+ # The container of comments on this Post.
1062
+ class Replies
1063
+ include Google::Apis::Core::Hashable
1064
+
1065
+ # The List of Comments for this Post.
1066
+ # Corresponds to the JSON property `items`
1067
+ # @return [Array<Google::Apis::BloggerV3::Comment>]
1068
+ attr_accessor :items
1069
+
1070
+ # The URL of the comments on this post.
1071
+ # Corresponds to the JSON property `selfLink`
1072
+ # @return [String]
1073
+ attr_accessor :self_link
1074
+
1075
+ # The count of comments on this post.
1076
+ # Corresponds to the JSON property `totalItems`
1077
+ # @return [String]
1078
+ attr_accessor :total_items
1079
+
1080
+ def initialize(**args)
1081
+ update!(**args)
1082
+ end
1083
+
1084
+ # Update properties of this object
1085
+ def update!(**args)
1086
+ @items = args[:items] unless args[:items].nil?
1087
+ @self_link = args[:self_link] unless args[:self_link].nil?
1088
+ @total_items = args[:total_items] unless args[:total_items].nil?
1089
+ end
1090
+ end
1091
+ end
1092
+
1093
+ #
1094
+ class PostList
1095
+ include Google::Apis::Core::Hashable
1096
+
1097
+ # Etag of the response.
1098
+ # Corresponds to the JSON property `etag`
1099
+ # @return [String]
1100
+ attr_accessor :etag
1101
+
1102
+ # The list of Posts for this Blog.
1103
+ # Corresponds to the JSON property `items`
1104
+ # @return [Array<Google::Apis::BloggerV3::Post>]
1105
+ attr_accessor :items
1106
+
1107
+ # The kind of this entity. Always blogger#postList
1108
+ # Corresponds to the JSON property `kind`
1109
+ # @return [String]
1110
+ attr_accessor :kind
1111
+
1112
+ # Pagination token to fetch the next page, if one exists.
1113
+ # Corresponds to the JSON property `nextPageToken`
1114
+ # @return [String]
1115
+ attr_accessor :next_page_token
1116
+
1117
+ def initialize(**args)
1118
+ update!(**args)
1119
+ end
1120
+
1121
+ # Update properties of this object
1122
+ def update!(**args)
1123
+ @etag = args[:etag] unless args[:etag].nil?
1124
+ @items = args[:items] unless args[:items].nil?
1125
+ @kind = args[:kind] unless args[:kind].nil?
1126
+ @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1127
+ end
1128
+ end
1129
+
1130
+ #
1131
+ class PostPerUserInfo
1132
+ include Google::Apis::Core::Hashable
1133
+
1134
+ # ID of the Blog that the post resource belongs to.
1135
+ # Corresponds to the JSON property `blogId`
1136
+ # @return [String]
1137
+ attr_accessor :blog_id
1138
+
1139
+ # True if the user has Author level access to the post.
1140
+ # Corresponds to the JSON property `hasEditAccess`
1141
+ # @return [Boolean]
1142
+ attr_accessor :has_edit_access
1143
+ alias_method :has_edit_access?, :has_edit_access
1144
+
1145
+ # The kind of this entity. Always blogger#postPerUserInfo
1146
+ # Corresponds to the JSON property `kind`
1147
+ # @return [String]
1148
+ attr_accessor :kind
1149
+
1150
+ # ID of the Post resource.
1151
+ # Corresponds to the JSON property `postId`
1152
+ # @return [String]
1153
+ attr_accessor :post_id
1154
+
1155
+ # ID of the User.
1156
+ # Corresponds to the JSON property `userId`
1157
+ # @return [String]
1158
+ attr_accessor :user_id
1159
+
1160
+ def initialize(**args)
1161
+ update!(**args)
1162
+ end
1163
+
1164
+ # Update properties of this object
1165
+ def update!(**args)
1166
+ @blog_id = args[:blog_id] unless args[:blog_id].nil?
1167
+ @has_edit_access = args[:has_edit_access] unless args[:has_edit_access].nil?
1168
+ @kind = args[:kind] unless args[:kind].nil?
1169
+ @post_id = args[:post_id] unless args[:post_id].nil?
1170
+ @user_id = args[:user_id] unless args[:user_id].nil?
1171
+ end
1172
+ end
1173
+
1174
+ #
1175
+ class PostUserInfo
1176
+ include Google::Apis::Core::Hashable
1177
+
1178
+ # The kind of this entity. Always blogger#postUserInfo
1179
+ # Corresponds to the JSON property `kind`
1180
+ # @return [String]
1181
+ attr_accessor :kind
1182
+
1183
+ # The Post resource.
1184
+ # Corresponds to the JSON property `post`
1185
+ # @return [Google::Apis::BloggerV3::Post]
1186
+ attr_accessor :post
1187
+
1188
+ # Information about a User for the Post.
1189
+ # Corresponds to the JSON property `post_user_info`
1190
+ # @return [Google::Apis::BloggerV3::PostPerUserInfo]
1191
+ attr_accessor :post_user_info
1192
+
1193
+ def initialize(**args)
1194
+ update!(**args)
1195
+ end
1196
+
1197
+ # Update properties of this object
1198
+ def update!(**args)
1199
+ @kind = args[:kind] unless args[:kind].nil?
1200
+ @post = args[:post] unless args[:post].nil?
1201
+ @post_user_info = args[:post_user_info] unless args[:post_user_info].nil?
1202
+ end
1203
+ end
1204
+
1205
+ #
1206
+ class PostUserInfosList
1207
+ include Google::Apis::Core::Hashable
1208
+
1209
+ # The list of Posts with User information for the post, for this Blog.
1210
+ # Corresponds to the JSON property `items`
1211
+ # @return [Array<Google::Apis::BloggerV3::PostUserInfo>]
1212
+ attr_accessor :items
1213
+
1214
+ # The kind of this entity. Always blogger#postList
1215
+ # Corresponds to the JSON property `kind`
1216
+ # @return [String]
1217
+ attr_accessor :kind
1218
+
1219
+ # Pagination token to fetch the next page, if one exists.
1220
+ # Corresponds to the JSON property `nextPageToken`
1221
+ # @return [String]
1222
+ attr_accessor :next_page_token
1223
+
1224
+ def initialize(**args)
1225
+ update!(**args)
1226
+ end
1227
+
1228
+ # Update properties of this object
1229
+ def update!(**args)
1230
+ @items = args[:items] unless args[:items].nil?
1231
+ @kind = args[:kind] unless args[:kind].nil?
1232
+ @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1233
+ end
1234
+ end
1235
+
1236
+ #
1237
+ class User
1238
+ include Google::Apis::Core::Hashable
1239
+
1240
+ # Profile summary information.
1241
+ # Corresponds to the JSON property `about`
1242
+ # @return [String]
1243
+ attr_accessor :about
1244
+
1245
+ # The container of blogs for this user.
1246
+ # Corresponds to the JSON property `blogs`
1247
+ # @return [Google::Apis::BloggerV3::User::Blogs]
1248
+ attr_accessor :blogs
1249
+
1250
+ # The timestamp of when this profile was created, in seconds since epoch.
1251
+ # Corresponds to the JSON property `created`
1252
+ # @return [DateTime]
1253
+ attr_accessor :created
1254
+
1255
+ # The display name.
1256
+ # Corresponds to the JSON property `displayName`
1257
+ # @return [String]
1258
+ attr_accessor :display_name
1259
+
1260
+ # The identifier for this User.
1261
+ # Corresponds to the JSON property `id`
1262
+ # @return [String]
1263
+ attr_accessor :id
1264
+
1265
+ # The kind of this entity. Always blogger#user
1266
+ # Corresponds to the JSON property `kind`
1267
+ # @return [String]
1268
+ attr_accessor :kind
1269
+
1270
+ # This user's locale
1271
+ # Corresponds to the JSON property `locale`
1272
+ # @return [Google::Apis::BloggerV3::User::Locale]
1273
+ attr_accessor :locale
1274
+
1275
+ # The API REST URL to fetch this resource from.
1276
+ # Corresponds to the JSON property `selfLink`
1277
+ # @return [String]
1278
+ attr_accessor :self_link
1279
+
1280
+ # The user's profile page.
1281
+ # Corresponds to the JSON property `url`
1282
+ # @return [String]
1283
+ attr_accessor :url
1284
+
1285
+ def initialize(**args)
1286
+ update!(**args)
1287
+ end
1288
+
1289
+ # Update properties of this object
1290
+ def update!(**args)
1291
+ @about = args[:about] unless args[:about].nil?
1292
+ @blogs = args[:blogs] unless args[:blogs].nil?
1293
+ @created = args[:created] unless args[:created].nil?
1294
+ @display_name = args[:display_name] unless args[:display_name].nil?
1295
+ @id = args[:id] unless args[:id].nil?
1296
+ @kind = args[:kind] unless args[:kind].nil?
1297
+ @locale = args[:locale] unless args[:locale].nil?
1298
+ @self_link = args[:self_link] unless args[:self_link].nil?
1299
+ @url = args[:url] unless args[:url].nil?
1300
+ end
1301
+
1302
+ # The container of blogs for this user.
1303
+ class Blogs
1304
+ include Google::Apis::Core::Hashable
1305
+
1306
+ # The URL of the Blogs for this user.
1307
+ # Corresponds to the JSON property `selfLink`
1308
+ # @return [String]
1309
+ attr_accessor :self_link
1310
+
1311
+ def initialize(**args)
1312
+ update!(**args)
1313
+ end
1314
+
1315
+ # Update properties of this object
1316
+ def update!(**args)
1317
+ @self_link = args[:self_link] unless args[:self_link].nil?
1318
+ end
1319
+ end
1320
+
1321
+ # This user's locale
1322
+ class Locale
1323
+ include Google::Apis::Core::Hashable
1324
+
1325
+ # The user's country setting.
1326
+ # Corresponds to the JSON property `country`
1327
+ # @return [String]
1328
+ attr_accessor :country
1329
+
1330
+ # The user's language setting.
1331
+ # Corresponds to the JSON property `language`
1332
+ # @return [String]
1333
+ attr_accessor :language
1334
+
1335
+ # The user's language variant setting.
1336
+ # Corresponds to the JSON property `variant`
1337
+ # @return [String]
1338
+ attr_accessor :variant
1339
+
1340
+ def initialize(**args)
1341
+ update!(**args)
1342
+ end
1343
+
1344
+ # Update properties of this object
1345
+ def update!(**args)
1346
+ @country = args[:country] unless args[:country].nil?
1347
+ @language = args[:language] unless args[:language].nil?
1348
+ @variant = args[:variant] unless args[:variant].nil?
1349
+ end
1350
+ end
1351
+ end
1352
+ end
1353
+ end
1354
+ end