google-api-client 0.9.8 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (320) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +15 -8
  3. data/CHANGELOG.md +84 -0
  4. data/Gemfile +10 -2
  5. data/README.md +10 -2
  6. data/api_names.yaml +37172 -135
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
  13. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  15. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  16. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
  20. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  21. data/generated/google/apis/admin_reports_v1.rb +5 -5
  22. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  23. data/generated/google/apis/adsense_v1_4.rb +1 -1
  24. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  29. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  30. data/generated/google/apis/analytics_v3/service.rb +256 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
  33. data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
  34. data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
  38. data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
  41. data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
  42. data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
  43. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  44. data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
  45. data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
  46. data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
  47. data/generated/google/apis/appsactivity_v1.rb +3 -3
  48. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  49. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  50. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  51. data/generated/google/apis/appstate_v1.rb +1 -1
  52. data/generated/google/apis/bigquery_v2.rb +1 -1
  53. data/generated/google/apis/bigquery_v2/classes.rb +360 -38
  54. data/generated/google/apis/bigquery_v2/representations.rb +106 -0
  55. data/generated/google/apis/bigquery_v2/service.rb +18 -4
  56. data/generated/google/apis/books_v1.rb +2 -2
  57. data/generated/google/apis/books_v1/classes.rb +83 -0
  58. data/generated/google/apis/books_v1/representations.rb +35 -0
  59. data/generated/google/apis/books_v1/service.rb +7 -3
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +208 -5
  62. data/generated/google/apis/calendar_v3/representations.rb +97 -0
  63. data/generated/google/apis/civicinfo_v2.rb +3 -2
  64. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  65. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  67. data/generated/google/apis/classroom_v1.rb +22 -25
  68. data/generated/google/apis/classroom_v1/classes.rb +998 -761
  69. data/generated/google/apis/classroom_v1/representations.rb +263 -198
  70. data/generated/google/apis/classroom_v1/service.rb +1349 -672
  71. data/generated/google/apis/cloudbilling_v1.rb +3 -3
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
  74. data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
  75. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  76. data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
  77. data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
  78. data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
  79. data/generated/google/apis/clouddebugger_v2.rb +5 -8
  80. data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
  81. data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
  82. data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
  83. data/generated/google/apis/cloudkms_v1.rb +35 -0
  84. data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
  85. data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
  86. data/generated/google/apis/cloudkms_v1/service.rb +933 -0
  87. data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
  88. data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
  89. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  90. data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
  91. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  93. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
  94. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
  99. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
  100. data/generated/google/apis/cloudtrace_v1.rb +9 -9
  101. data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
  102. data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
  103. data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
  104. data/generated/google/apis/compute_beta.rb +1 -1
  105. data/generated/google/apis/compute_beta/classes.rb +7007 -3648
  106. data/generated/google/apis/compute_beta/representations.rb +1459 -120
  107. data/generated/google/apis/compute_beta/service.rb +7943 -3726
  108. data/generated/google/apis/compute_v1.rb +1 -1
  109. data/generated/google/apis/compute_v1/classes.rb +2567 -370
  110. data/generated/google/apis/compute_v1/representations.rb +855 -0
  111. data/generated/google/apis/compute_v1/service.rb +6388 -2908
  112. data/generated/google/apis/container_v1.rb +1 -1
  113. data/generated/google/apis/container_v1/classes.rb +287 -16
  114. data/generated/google/apis/container_v1/representations.rb +113 -2
  115. data/generated/google/apis/container_v1/service.rb +130 -0
  116. data/generated/google/apis/content_v2.rb +1 -1
  117. data/generated/google/apis/content_v2/classes.rb +778 -10
  118. data/generated/google/apis/content_v2/representations.rb +339 -0
  119. data/generated/google/apis/content_v2/service.rb +364 -49
  120. data/generated/google/apis/dataflow_v1b3.rb +37 -0
  121. data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
  122. data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
  123. data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
  124. data/generated/google/apis/dataproc_v1.rb +1 -1
  125. data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
  126. data/generated/google/apis/dataproc_v1/representations.rb +299 -225
  127. data/generated/google/apis/dataproc_v1/service.rb +277 -192
  128. data/generated/google/apis/datastore_v1.rb +38 -0
  129. data/generated/google/apis/datastore_v1/classes.rb +1289 -0
  130. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  131. data/generated/google/apis/datastore_v1/service.rb +259 -0
  132. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  133. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  134. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  135. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  136. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  137. data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
  138. data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
  139. data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
  140. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  141. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  142. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  143. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  144. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  145. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  146. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  147. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  148. data/generated/google/apis/dfareporting_v2_7.rb +40 -0
  149. data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
  150. data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
  151. data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
  152. data/generated/google/apis/dns_v1.rb +1 -1
  153. data/generated/google/apis/dns_v1/classes.rb +1 -1
  154. data/generated/google/apis/dns_v2beta1.rb +43 -0
  155. data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
  156. data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
  157. data/generated/google/apis/dns_v2beta1/service.rb +768 -0
  158. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  159. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  160. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  161. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  162. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  163. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  164. data/generated/google/apis/drive_v2.rb +1 -1
  165. data/generated/google/apis/drive_v2/classes.rb +595 -37
  166. data/generated/google/apis/drive_v2/representations.rb +140 -0
  167. data/generated/google/apis/drive_v2/service.rb +406 -40
  168. data/generated/google/apis/drive_v3.rb +1 -1
  169. data/generated/google/apis/drive_v3/classes.rb +507 -40
  170. data/generated/google/apis/drive_v3/representations.rb +105 -0
  171. data/generated/google/apis/drive_v3/service.rb +326 -29
  172. data/generated/google/apis/fitness_v1.rb +38 -2
  173. data/generated/google/apis/fitness_v1/classes.rb +65 -7
  174. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  175. data/generated/google/apis/fitness_v1/service.rb +17 -18
  176. data/generated/google/apis/fusiontables_v2.rb +1 -1
  177. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  178. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_v1.rb +1 -1
  181. data/generated/google/apis/genomics_v1.rb +10 -12
  182. data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
  183. data/generated/google/apis/genomics_v1/representations.rb +468 -496
  184. data/generated/google/apis/genomics_v1/service.rb +978 -882
  185. data/generated/google/apis/gmail_v1.rb +11 -2
  186. data/generated/google/apis/gmail_v1/classes.rb +655 -5
  187. data/generated/google/apis/gmail_v1/representations.rb +261 -0
  188. data/generated/google/apis/gmail_v1/service.rb +1211 -48
  189. data/generated/google/apis/groupssettings_v1.rb +2 -2
  190. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  191. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  192. data/generated/google/apis/iam_v1.rb +2 -2
  193. data/generated/google/apis/iam_v1/classes.rb +446 -368
  194. data/generated/google/apis/iam_v1/representations.rb +109 -91
  195. data/generated/google/apis/iam_v1/service.rb +249 -162
  196. data/generated/google/apis/identitytoolkit_v3.rb +7 -1
  197. data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
  198. data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
  199. data/generated/google/apis/kgsearch_v1.rb +2 -3
  200. data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
  201. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  202. data/generated/google/apis/kgsearch_v1/service.rb +26 -24
  203. data/generated/google/apis/language_v1beta1.rb +36 -0
  204. data/generated/google/apis/language_v1beta1/classes.rb +757 -0
  205. data/generated/google/apis/language_v1beta1/representations.rb +339 -0
  206. data/generated/google/apis/language_v1beta1/service.rb +185 -0
  207. data/generated/google/apis/licensing_v1.rb +3 -3
  208. data/generated/google/apis/licensing_v1/classes.rb +14 -2
  209. data/generated/google/apis/licensing_v1/representations.rb +2 -0
  210. data/generated/google/apis/licensing_v1/service.rb +1 -1
  211. data/generated/google/apis/logging_v2beta1.rb +6 -6
  212. data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
  213. data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
  214. data/generated/google/apis/logging_v2beta1/service.rb +427 -155
  215. data/generated/google/apis/manufacturers_v1.rb +34 -0
  216. data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
  217. data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
  218. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  219. data/generated/google/apis/mirror_v1.rb +2 -2
  220. data/generated/google/apis/mirror_v1/service.rb +1 -1
  221. data/generated/google/apis/monitoring_v3.rb +45 -0
  222. data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
  223. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  224. data/generated/google/apis/monitoring_v3/service.rb +706 -0
  225. data/generated/google/apis/oauth2_v2.rb +1 -1
  226. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  227. data/generated/google/apis/partners_v2.rb +3 -3
  228. data/generated/google/apis/partners_v2/classes.rb +1831 -477
  229. data/generated/google/apis/partners_v2/representations.rb +571 -114
  230. data/generated/google/apis/partners_v2/service.rb +898 -167
  231. data/generated/google/apis/people_v1.rb +15 -16
  232. data/generated/google/apis/people_v1/classes.rb +1047 -859
  233. data/generated/google/apis/people_v1/representations.rb +252 -213
  234. data/generated/google/apis/people_v1/service.rb +75 -62
  235. data/generated/google/apis/plus_domains_v1.rb +1 -1
  236. data/generated/google/apis/plus_v1.rb +1 -1
  237. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  238. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
  239. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
  240. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
  241. data/generated/google/apis/pubsub_v1.rb +1 -1
  242. data/generated/google/apis/pubsub_v1/classes.rb +363 -310
  243. data/generated/google/apis/pubsub_v1/representations.rb +76 -76
  244. data/generated/google/apis/pubsub_v1/service.rb +464 -335
  245. data/generated/google/apis/qpx_express_v1.rb +1 -1
  246. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  247. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  248. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  249. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  250. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  251. data/generated/google/apis/reseller_v1.rb +1 -1
  252. data/generated/google/apis/reseller_v1/classes.rb +222 -61
  253. data/generated/google/apis/reseller_v1/representations.rb +28 -0
  254. data/generated/google/apis/reseller_v1/service.rb +240 -47
  255. data/generated/google/apis/script_v1.rb +19 -19
  256. data/generated/google/apis/script_v1/classes.rb +151 -137
  257. data/generated/google/apis/script_v1/representations.rb +26 -26
  258. data/generated/google/apis/script_v1/service.rb +9 -8
  259. data/generated/google/apis/sheets_v4.rb +7 -7
  260. data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
  261. data/generated/google/apis/sheets_v4/representations.rb +988 -737
  262. data/generated/google/apis/sheets_v4/service.rb +266 -99
  263. data/generated/google/apis/site_verification_v1.rb +1 -1
  264. data/generated/google/apis/slides_v1.rb +49 -0
  265. data/generated/google/apis/slides_v1/classes.rb +4480 -0
  266. data/generated/google/apis/slides_v1/representations.rb +1926 -0
  267. data/generated/google/apis/slides_v1/service.rb +245 -0
  268. data/generated/google/apis/speech_v1beta1.rb +34 -0
  269. data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
  270. data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
  271. data/generated/google/apis/speech_v1beta1/service.rb +270 -0
  272. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  273. data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
  274. data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
  275. data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
  276. data/generated/google/apis/storage_v1.rb +1 -1
  277. data/generated/google/apis/storage_v1/classes.rb +205 -21
  278. data/generated/google/apis/storage_v1/representations.rb +51 -1
  279. data/generated/google/apis/storage_v1/service.rb +263 -9
  280. data/generated/google/apis/tagmanager_v1.rb +5 -5
  281. data/generated/google/apis/translate_v2.rb +2 -2
  282. data/generated/google/apis/translate_v2/service.rb +1 -1
  283. data/generated/google/apis/vision_v1.rb +1 -1
  284. data/generated/google/apis/vision_v1/classes.rb +1275 -731
  285. data/generated/google/apis/vision_v1/representations.rb +378 -111
  286. data/generated/google/apis/vision_v1/service.rb +4 -4
  287. data/generated/google/apis/webmasters_v3.rb +1 -1
  288. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  289. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  290. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  291. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
  292. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  293. data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
  294. data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
  295. data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
  296. data/generated/google/apis/youtube_v3.rb +1 -1
  297. data/generated/google/apis/youtube_v3/classes.rb +430 -22
  298. data/generated/google/apis/youtube_v3/representations.rb +171 -4
  299. data/generated/google/apis/youtube_v3/service.rb +100 -9
  300. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  301. data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
  302. data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
  303. data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
  304. data/google-api-client.gemspec +4 -3
  305. data/lib/google/apis/core/api_command.rb +16 -6
  306. data/lib/google/apis/core/base_service.rb +17 -9
  307. data/lib/google/apis/core/download.rb +7 -2
  308. data/lib/google/apis/core/http_command.rb +5 -1
  309. data/lib/google/apis/core/json_representation.rb +2 -2
  310. data/lib/google/apis/core/upload.rb +7 -1
  311. data/lib/google/apis/errors.rb +6 -2
  312. data/lib/google/apis/generator/annotator.rb +6 -0
  313. data/lib/google/apis/version.rb +1 -1
  314. data/samples/cli/lib/samples/bigquery.rb +101 -0
  315. data/samples/cli/lib/samples/calendar.rb +1 -1
  316. data/samples/cli/lib/samples/gmail.rb +74 -0
  317. data/samples/cli/lib/samples/sheets.rb +61 -0
  318. data/samples/cli/lib/samples/you_tube.rb +4 -1
  319. data/sync.rb +71 -0
  320. metadata +86 -18
@@ -417,6 +417,12 @@ module Google
417
417
 
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
+
421
+ class MoreFromSeries
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
420
426
 
421
427
  include Google::Apis::Core::JsonObjectSupport
422
428
  end
@@ -561,6 +567,12 @@ module Google
561
567
 
562
568
  include Google::Apis::Core::JsonObjectSupport
563
569
  end
570
+
571
+ class PanelizationSummary
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
564
576
 
565
577
  include Google::Apis::Core::JsonObjectSupport
566
578
  end
@@ -1200,6 +1212,7 @@ module Google
1200
1212
  property :dont_show_notification, as: 'dont_show_notification'
1201
1213
  property :icon_url, as: 'iconUrl'
1202
1214
  property :kind, as: 'kind'
1215
+ property :notification_group, as: 'notificationGroup'
1203
1216
  property :notification_type, as: 'notification_type'
1204
1217
  property :pcampaign_id, as: 'pcampaign_id'
1205
1218
  property :reason, as: 'reason'
@@ -1353,6 +1366,8 @@ module Google
1353
1366
  class Representation < Google::Apis::Core::JsonRepresentation
1354
1367
  property :more_from_authors, as: 'moreFromAuthors', class: Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors, decorator: Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors::Representation
1355
1368
 
1369
+ property :more_from_series, as: 'moreFromSeries', class: Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries, decorator: Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries::Representation
1370
+
1356
1371
  end
1357
1372
 
1358
1373
  class MoreFromAuthors
@@ -1361,6 +1376,13 @@ module Google
1361
1376
  property :opted_state, as: 'opted_state'
1362
1377
  end
1363
1378
  end
1379
+
1380
+ class MoreFromSeries
1381
+ # @private
1382
+ class Representation < Google::Apis::Core::JsonRepresentation
1383
+ property :opted_state, as: 'opted_state'
1384
+ end
1385
+ end
1364
1386
  end
1365
1387
  end
1366
1388
 
@@ -1480,6 +1502,7 @@ module Google
1480
1502
  # @private
1481
1503
  class Representation < Google::Apis::Core::JsonRepresentation
1482
1504
  property :finsky_offer_type, as: 'finskyOfferType'
1505
+ property :giftable, as: 'giftable'
1483
1506
  property :list_price, as: 'listPrice', class: Google::Apis::BooksV1::Volume::SaleInfo::Offer::ListPrice, decorator: Google::Apis::BooksV1::Volume::SaleInfo::Offer::ListPrice::Representation
1484
1507
 
1485
1508
  property :rental_duration, as: 'rentalDuration', class: Google::Apis::BooksV1::Volume::SaleInfo::Offer::RentalDuration, decorator: Google::Apis::BooksV1::Volume::SaleInfo::Offer::RentalDuration::Representation
@@ -1618,6 +1641,8 @@ module Google
1618
1641
  property :main_category, as: 'mainCategory'
1619
1642
  property :maturity_rating, as: 'maturityRating'
1620
1643
  property :page_count, as: 'pageCount'
1644
+ property :panelization_summary, as: 'panelizationSummary', class: Google::Apis::BooksV1::Volume::VolumeInfo::PanelizationSummary, decorator: Google::Apis::BooksV1::Volume::VolumeInfo::PanelizationSummary::Representation
1645
+
1621
1646
  property :preview_link, as: 'previewLink'
1622
1647
  property :print_type, as: 'printType'
1623
1648
  property :printed_page_count, as: 'printedPageCount'
@@ -1660,6 +1685,16 @@ module Google
1660
1685
  property :type, as: 'type'
1661
1686
  end
1662
1687
  end
1688
+
1689
+ class PanelizationSummary
1690
+ # @private
1691
+ class Representation < Google::Apis::Core::JsonRepresentation
1692
+ property :contains_epub_bubbles, as: 'containsEpubBubbles'
1693
+ property :contains_image_bubbles, as: 'containsImageBubbles'
1694
+ property :epub_bubble_version, as: 'epubBubbleVersion'
1695
+ property :image_bubble_version, as: 'imageBubbleVersion'
1696
+ end
1697
+ end
1663
1698
  end
1664
1699
  end
1665
1700
 
@@ -22,7 +22,7 @@ module Google
22
22
  module BooksV1
23
23
  # Books API
24
24
  #
25
- # Lets you search for books and manage your Google Books library.
25
+ # Searches for books and manages your Google Books library.
26
26
  #
27
27
  # @example
28
28
  # require 'google/apis/books_v1'
@@ -1979,6 +1979,9 @@ module Google
1979
1979
  # Restrict results to books with this language code.
1980
1980
  # @param [String] library_restrict
1981
1981
  # Restrict search to this user's library.
1982
+ # @param [String] max_allowed_maturity_rating
1983
+ # The maximum allowed maturity rating of returned recommendations. Books with a
1984
+ # higher maturity rating are filtered out.
1982
1985
  # @param [Fixnum] max_results
1983
1986
  # Maximum number of results to return.
1984
1987
  # @param [String] order_by
@@ -2016,7 +2019,7 @@ module Google
2016
2019
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2017
2020
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2018
2021
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2019
- def list_volumes(q, download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_results: nil, order_by: nil, partner: nil, print_type: nil, projection: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2022
+ def list_volumes(q, download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_allowed_maturity_rating: nil, max_results: nil, order_by: nil, partner: nil, print_type: nil, projection: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2020
2023
  command = make_simple_command(:get, 'volumes', options)
2021
2024
  command.response_representation = Google::Apis::BooksV1::Volumes::Representation
2022
2025
  command.response_class = Google::Apis::BooksV1::Volumes
@@ -2024,6 +2027,7 @@ module Google
2024
2027
  command.query['filter'] = filter unless filter.nil?
2025
2028
  command.query['langRestrict'] = lang_restrict unless lang_restrict.nil?
2026
2029
  command.query['libraryRestrict'] = library_restrict unless library_restrict.nil?
2030
+ command.query['maxAllowedMaturityRating'] = max_allowed_maturity_rating unless max_allowed_maturity_rating.nil?
2027
2031
  command.query['maxResults'] = max_results unless max_results.nil?
2028
2032
  command.query['orderBy'] = order_by unless order_by.nil?
2029
2033
  command.query['partner'] = partner unless partner.nil?
@@ -2090,7 +2094,7 @@ module Google
2090
2094
 
2091
2095
  # Return a list of books in My Library.
2092
2096
  # @param [Array<String>, String] acquire_method
2093
- # How the book was aquired
2097
+ # How the book was acquired
2094
2098
  # @param [String] country
2095
2099
  # ISO-3166-1 code to override the IP-based location.
2096
2100
  # @param [String] locale
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/calendar/firstapp
26
26
  module CalendarV3
27
27
  VERSION = 'V3'
28
- REVISION = '20160517'
28
+ REVISION = '20170319'
29
29
 
30
30
  # Manage your calendars
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
@@ -427,8 +427,7 @@ module Google
427
427
  # The method used to deliver the notification. Possible values are:
428
428
  # - "email" - Reminders are sent via email.
429
429
  # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored
430
- # on inserts and updates. SMS reminders are only available for Google Apps for
431
- # Work, Education, and Government customers.
430
+ # on inserts and updates. SMS reminders are only available for G Suite customers.
432
431
  # Corresponds to the JSON property `method`
433
432
  # @return [String]
434
433
  attr_accessor :delivery_method
@@ -600,6 +599,74 @@ module Google
600
599
  end
601
600
  end
602
601
 
602
+ #
603
+ class DeepLinkData
604
+ include Google::Apis::Core::Hashable
605
+
606
+ #
607
+ # Corresponds to the JSON property `links`
608
+ # @return [Array<Google::Apis::CalendarV3::Link>]
609
+ attr_accessor :links
610
+
611
+ #
612
+ # Corresponds to the JSON property `url`
613
+ # @return [String]
614
+ attr_accessor :url
615
+
616
+ def initialize(**args)
617
+ update!(**args)
618
+ end
619
+
620
+ # Update properties of this object
621
+ def update!(**args)
622
+ @links = args[:links] if args.key?(:links)
623
+ @url = args[:url] if args.key?(:url)
624
+ end
625
+ end
626
+
627
+ #
628
+ class DisplayInfo
629
+ include Google::Apis::Core::Hashable
630
+
631
+ #
632
+ # Corresponds to the JSON property `appIconUrl`
633
+ # @return [String]
634
+ attr_accessor :app_icon_url
635
+
636
+ #
637
+ # Corresponds to the JSON property `appShortTitle`
638
+ # @return [String]
639
+ attr_accessor :app_short_title
640
+
641
+ #
642
+ # Corresponds to the JSON property `appTitle`
643
+ # @return [String]
644
+ attr_accessor :app_title
645
+
646
+ #
647
+ # Corresponds to the JSON property `linkShortTitle`
648
+ # @return [String]
649
+ attr_accessor :link_short_title
650
+
651
+ #
652
+ # Corresponds to the JSON property `linkTitle`
653
+ # @return [String]
654
+ attr_accessor :link_title
655
+
656
+ def initialize(**args)
657
+ update!(**args)
658
+ end
659
+
660
+ # Update properties of this object
661
+ def update!(**args)
662
+ @app_icon_url = args[:app_icon_url] if args.key?(:app_icon_url)
663
+ @app_short_title = args[:app_short_title] if args.key?(:app_short_title)
664
+ @app_title = args[:app_title] if args.key?(:app_title)
665
+ @link_short_title = args[:link_short_title] if args.key?(:link_short_title)
666
+ @link_title = args[:link_title] if args.key?(:link_title)
667
+ end
668
+ end
669
+
603
670
  #
604
671
  class Error
605
672
  include Google::Apis::Core::Hashable
@@ -1340,15 +1407,39 @@ module Google
1340
1407
  end
1341
1408
  end
1342
1409
 
1410
+ #
1411
+ class EventHabitInstance
1412
+ include Google::Apis::Core::Hashable
1413
+
1414
+ # Metadata specific to this instance.
1415
+ # Corresponds to the JSON property `data`
1416
+ # @return [Google::Apis::CalendarV3::HabitInstanceData]
1417
+ attr_accessor :data
1418
+
1419
+ # Id of the habit this instance belongs to.
1420
+ # Corresponds to the JSON property `parentId`
1421
+ # @return [String]
1422
+ attr_accessor :parent_id
1423
+
1424
+ def initialize(**args)
1425
+ update!(**args)
1426
+ end
1427
+
1428
+ # Update properties of this object
1429
+ def update!(**args)
1430
+ @data = args[:data] if args.key?(:data)
1431
+ @parent_id = args[:parent_id] if args.key?(:parent_id)
1432
+ end
1433
+ end
1434
+
1343
1435
  #
1344
1436
  class EventReminder
1345
1437
  include Google::Apis::Core::Hashable
1346
1438
 
1347
1439
  # The method used by this reminder. Possible values are:
1348
1440
  # - "email" - Reminders are sent via email.
1349
- # - "sms" - Reminders are sent via SMS. These are only available for Google Apps
1350
- # for Work, Education, and Government customers. Requests to set SMS reminders
1351
- # for other account types are ignored.
1441
+ # - "sms" - Reminders are sent via SMS. These are only available for G Suite
1442
+ # customers. Requests to set SMS reminders for other account types are ignored.
1352
1443
  # - "popup" - Reminders are sent via a UI popup.
1353
1444
  # Corresponds to the JSON property `method`
1354
1445
  # @return [String]
@@ -1629,6 +1720,118 @@ module Google
1629
1720
  end
1630
1721
  end
1631
1722
 
1723
+ #
1724
+ class HabitInstanceData
1725
+ include Google::Apis::Core::Hashable
1726
+
1727
+ #
1728
+ # Corresponds to the JSON property `status`
1729
+ # @return [String]
1730
+ attr_accessor :status
1731
+
1732
+ #
1733
+ # Corresponds to the JSON property `statusInferred`
1734
+ # @return [Boolean]
1735
+ attr_accessor :status_inferred
1736
+ alias_method :status_inferred?, :status_inferred
1737
+
1738
+ #
1739
+ # Corresponds to the JSON property `type`
1740
+ # @return [String]
1741
+ attr_accessor :type
1742
+
1743
+ def initialize(**args)
1744
+ update!(**args)
1745
+ end
1746
+
1747
+ # Update properties of this object
1748
+ def update!(**args)
1749
+ @status = args[:status] if args.key?(:status)
1750
+ @status_inferred = args[:status_inferred] if args.key?(:status_inferred)
1751
+ @type = args[:type] if args.key?(:type)
1752
+ end
1753
+ end
1754
+
1755
+ #
1756
+ class LaunchInfo
1757
+ include Google::Apis::Core::Hashable
1758
+
1759
+ #
1760
+ # Corresponds to the JSON property `appId`
1761
+ # @return [String]
1762
+ attr_accessor :app_id
1763
+
1764
+ #
1765
+ # Corresponds to the JSON property `installUrl`
1766
+ # @return [String]
1767
+ attr_accessor :install_url
1768
+
1769
+ #
1770
+ # Corresponds to the JSON property `intentAction`
1771
+ # @return [String]
1772
+ attr_accessor :intent_action
1773
+
1774
+ #
1775
+ # Corresponds to the JSON property `uri`
1776
+ # @return [String]
1777
+ attr_accessor :uri
1778
+
1779
+ def initialize(**args)
1780
+ update!(**args)
1781
+ end
1782
+
1783
+ # Update properties of this object
1784
+ def update!(**args)
1785
+ @app_id = args[:app_id] if args.key?(:app_id)
1786
+ @install_url = args[:install_url] if args.key?(:install_url)
1787
+ @intent_action = args[:intent_action] if args.key?(:intent_action)
1788
+ @uri = args[:uri] if args.key?(:uri)
1789
+ end
1790
+ end
1791
+
1792
+ #
1793
+ class Link
1794
+ include Google::Apis::Core::Hashable
1795
+
1796
+ #
1797
+ # Corresponds to the JSON property `applinkingSource`
1798
+ # @return [String]
1799
+ attr_accessor :applinking_source
1800
+
1801
+ #
1802
+ # Corresponds to the JSON property `displayInfo`
1803
+ # @return [Google::Apis::CalendarV3::DisplayInfo]
1804
+ attr_accessor :display_info
1805
+
1806
+ #
1807
+ # Corresponds to the JSON property `launchInfo`
1808
+ # @return [Google::Apis::CalendarV3::LaunchInfo]
1809
+ attr_accessor :launch_info
1810
+
1811
+ #
1812
+ # Corresponds to the JSON property `platform`
1813
+ # @return [String]
1814
+ attr_accessor :platform
1815
+
1816
+ #
1817
+ # Corresponds to the JSON property `url`
1818
+ # @return [String]
1819
+ attr_accessor :url
1820
+
1821
+ def initialize(**args)
1822
+ update!(**args)
1823
+ end
1824
+
1825
+ # Update properties of this object
1826
+ def update!(**args)
1827
+ @applinking_source = args[:applinking_source] if args.key?(:applinking_source)
1828
+ @display_info = args[:display_info] if args.key?(:display_info)
1829
+ @launch_info = args[:launch_info] if args.key?(:launch_info)
1830
+ @platform = args[:platform] if args.key?(:platform)
1831
+ @url = args[:url] if args.key?(:url)
1832
+ end
1833
+ end
1834
+
1632
1835
  #
1633
1836
  class Setting
1634
1837
  include Google::Apis::Core::Hashable
@@ -88,6 +88,18 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class DeepLinkData
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DisplayInfo
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
91
103
  class Error
92
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
105
 
@@ -154,6 +166,12 @@ module Google
154
166
  include Google::Apis::Core::JsonObjectSupport
155
167
  end
156
168
 
169
+ class EventHabitInstance
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
157
175
  class EventReminder
158
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
177
 
@@ -196,6 +214,24 @@ module Google
196
214
  include Google::Apis::Core::JsonObjectSupport
197
215
  end
198
216
 
217
+ class HabitInstanceData
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class LaunchInfo
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Link
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
199
235
  class Setting
200
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
237
 
@@ -350,6 +386,26 @@ module Google
350
386
  end
351
387
  end
352
388
 
389
+ class DeepLinkData
390
+ # @private
391
+ class Representation < Google::Apis::Core::JsonRepresentation
392
+ collection :links, as: 'links', class: Google::Apis::CalendarV3::Link, decorator: Google::Apis::CalendarV3::Link::Representation
393
+
394
+ property :url, as: 'url'
395
+ end
396
+ end
397
+
398
+ class DisplayInfo
399
+ # @private
400
+ class Representation < Google::Apis::Core::JsonRepresentation
401
+ property :app_icon_url, as: 'appIconUrl'
402
+ property :app_short_title, as: 'appShortTitle'
403
+ property :app_title, as: 'appTitle'
404
+ property :link_short_title, as: 'linkShortTitle'
405
+ property :link_title, as: 'linkTitle'
406
+ end
407
+ end
408
+
353
409
  class Error
354
410
  # @private
355
411
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -511,6 +567,15 @@ module Google
511
567
  end
512
568
  end
513
569
 
570
+ class EventHabitInstance
571
+ # @private
572
+ class Representation < Google::Apis::Core::JsonRepresentation
573
+ property :data, as: 'data', class: Google::Apis::CalendarV3::HabitInstanceData, decorator: Google::Apis::CalendarV3::HabitInstanceData::Representation
574
+
575
+ property :parent_id, as: 'parentId'
576
+ end
577
+ end
578
+
514
579
  class EventReminder
515
580
  # @private
516
581
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -595,6 +660,38 @@ module Google
595
660
  end
596
661
  end
597
662
 
663
+ class HabitInstanceData
664
+ # @private
665
+ class Representation < Google::Apis::Core::JsonRepresentation
666
+ property :status, as: 'status'
667
+ property :status_inferred, as: 'statusInferred'
668
+ property :type, as: 'type'
669
+ end
670
+ end
671
+
672
+ class LaunchInfo
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ property :app_id, as: 'appId'
676
+ property :install_url, as: 'installUrl'
677
+ property :intent_action, as: 'intentAction'
678
+ property :uri, as: 'uri'
679
+ end
680
+ end
681
+
682
+ class Link
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ property :applinking_source, as: 'applinkingSource'
686
+ property :display_info, as: 'displayInfo', class: Google::Apis::CalendarV3::DisplayInfo, decorator: Google::Apis::CalendarV3::DisplayInfo::Representation
687
+
688
+ property :launch_info, as: 'launchInfo', class: Google::Apis::CalendarV3::LaunchInfo, decorator: Google::Apis::CalendarV3::LaunchInfo::Representation
689
+
690
+ property :platform, as: 'platform'
691
+ property :url, as: 'url'
692
+ end
693
+ end
694
+
598
695
  class Setting
599
696
  # @private
600
697
  class Representation < Google::Apis::Core::JsonRepresentation