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
@@ -20,12 +20,12 @@ module Google
20
20
  module Apis
21
21
  # Fitness
22
22
  #
23
- # Google Fit API
23
+ # Stores and accesses user data in the fitness store from apps on any platform.
24
24
  #
25
25
  # @see https://developers.google.com/fit/rest/
26
26
  module FitnessV1
27
27
  VERSION = 'V1'
28
- REVISION = '20151021'
28
+ REVISION = '20161128'
29
29
 
30
30
  # View your activity information in Google Fit
31
31
  AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
@@ -33,17 +33,53 @@ module Google
33
33
  # View and store your activity information in Google Fit
34
34
  AUTH_FITNESS_ACTIVITY_WRITE = 'https://www.googleapis.com/auth/fitness.activity.write'
35
35
 
36
+ # View blood glucose data in Google Fit
37
+ AUTH_FITNESS_BLOOD_GLUCOSE_READ = 'https://www.googleapis.com/auth/fitness.blood_glucose.read'
38
+
39
+ # View and store blood glucose data in Google Fit
40
+ AUTH_FITNESS_BLOOD_GLUCOSE_WRITE = 'https://www.googleapis.com/auth/fitness.blood_glucose.write'
41
+
42
+ # View blood pressure data in Google Fit
43
+ AUTH_FITNESS_BLOOD_PRESSURE_READ = 'https://www.googleapis.com/auth/fitness.blood_pressure.read'
44
+
45
+ # View and store blood pressure data in Google Fit
46
+ AUTH_FITNESS_BLOOD_PRESSURE_WRITE = 'https://www.googleapis.com/auth/fitness.blood_pressure.write'
47
+
36
48
  # View body sensor information in Google Fit
37
49
  AUTH_FITNESS_BODY_READ = 'https://www.googleapis.com/auth/fitness.body.read'
38
50
 
39
51
  # View and store body sensor data in Google Fit
40
52
  AUTH_FITNESS_BODY_WRITE = 'https://www.googleapis.com/auth/fitness.body.write'
41
53
 
54
+ # View body temperature data in Google Fit
55
+ AUTH_FITNESS_BODY_TEMPERATURE_READ = 'https://www.googleapis.com/auth/fitness.body_temperature.read'
56
+
57
+ # View and store body temperature data in Google Fit
58
+ AUTH_FITNESS_BODY_TEMPERATURE_WRITE = 'https://www.googleapis.com/auth/fitness.body_temperature.write'
59
+
42
60
  # View your stored location data in Google Fit
43
61
  AUTH_FITNESS_LOCATION_READ = 'https://www.googleapis.com/auth/fitness.location.read'
44
62
 
45
63
  # View and store your location data in Google Fit
46
64
  AUTH_FITNESS_LOCATION_WRITE = 'https://www.googleapis.com/auth/fitness.location.write'
65
+
66
+ # View nutrition information in Google Fit
67
+ AUTH_FITNESS_NUTRITION_READ = 'https://www.googleapis.com/auth/fitness.nutrition.read'
68
+
69
+ # View and store nutrition information in Google Fit
70
+ AUTH_FITNESS_NUTRITION_WRITE = 'https://www.googleapis.com/auth/fitness.nutrition.write'
71
+
72
+ # View oxygen saturation data in Google Fit
73
+ AUTH_FITNESS_OXYGEN_SATURATION_READ = 'https://www.googleapis.com/auth/fitness.oxygen_saturation.read'
74
+
75
+ # View and store oxygen saturation data in Google Fit
76
+ AUTH_FITNESS_OXYGEN_SATURATION_WRITE = 'https://www.googleapis.com/auth/fitness.oxygen_saturation.write'
77
+
78
+ # View reproductive health data in Google Fit
79
+ AUTH_FITNESS_REPRODUCTIVE_HEALTH_READ = 'https://www.googleapis.com/auth/fitness.reproductive_health.read'
80
+
81
+ # View and store reproductive health data in Google Fit
82
+ AUTH_FITNESS_REPRODUCTIVE_HEALTH_WRITE = 'https://www.googleapis.com/auth/fitness.reproductive_health.write'
47
83
  end
48
84
  end
49
85
  end
@@ -103,7 +103,7 @@ module Google
103
103
  end
104
104
  end
105
105
 
106
- #
106
+ # Next id: 10
107
107
  class AggregateRequest
108
108
  include Google::Apis::Core::Hashable
109
109
 
@@ -151,6 +151,13 @@ module Google
151
151
  # @return [String]
152
152
  attr_accessor :end_time_millis
153
153
 
154
+ # A list of acceptable data quality standards. Only data points which conform to
155
+ # at least one of the specified data quality standards will be returned. If the
156
+ # list is empty, all data points are returned.
157
+ # Corresponds to the JSON property `filteredDataQualityStandard`
158
+ # @return [Array<String>]
159
+ attr_accessor :filtered_data_quality_standard
160
+
154
161
  # The start of a window of time. Data that intersects with this time window will
155
162
  # be aggregated. The time is in milliseconds since epoch, inclusive.
156
163
  # Corresponds to the JSON property `startTimeMillis`
@@ -169,6 +176,7 @@ module Google
169
176
  @bucket_by_session = args[:bucket_by_session] if args.key?(:bucket_by_session)
170
177
  @bucket_by_time = args[:bucket_by_time] if args.key?(:bucket_by_time)
171
178
  @end_time_millis = args[:end_time_millis] if args.key?(:end_time_millis)
179
+ @filtered_data_quality_standard = args[:filtered_data_quality_standard] if args.key?(:filtered_data_quality_standard)
172
180
  @start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
173
181
  end
174
182
  end
@@ -192,7 +200,7 @@ module Google
192
200
  end
193
201
  end
194
202
 
195
- # See: google3/java/com/google/android/apps/heart/platform/api/Application.java
203
+ #
196
204
  class Application
197
205
  include Google::Apis::Core::Hashable
198
206
 
@@ -294,6 +302,11 @@ module Google
294
302
  # @return [String]
295
303
  attr_accessor :duration_millis
296
304
 
305
+ #
306
+ # Corresponds to the JSON property `period`
307
+ # @return [Google::Apis::FitnessV1::BucketByTimePeriod]
308
+ attr_accessor :period
309
+
297
310
  def initialize(**args)
298
311
  update!(**args)
299
312
  end
@@ -301,6 +314,38 @@ module Google
301
314
  # Update properties of this object
302
315
  def update!(**args)
303
316
  @duration_millis = args[:duration_millis] if args.key?(:duration_millis)
317
+ @period = args[:period] if args.key?(:period)
318
+ end
319
+ end
320
+
321
+ #
322
+ class BucketByTimePeriod
323
+ include Google::Apis::Core::Hashable
324
+
325
+ # org.joda.timezone.DateTimeZone
326
+ # Corresponds to the JSON property `timeZoneId`
327
+ # @return [String]
328
+ attr_accessor :time_zone_id
329
+
330
+ #
331
+ # Corresponds to the JSON property `type`
332
+ # @return [String]
333
+ attr_accessor :type
334
+
335
+ #
336
+ # Corresponds to the JSON property `value`
337
+ # @return [Fixnum]
338
+ attr_accessor :value
339
+
340
+ def initialize(**args)
341
+ update!(**args)
342
+ end
343
+
344
+ # Update properties of this object
345
+ def update!(**args)
346
+ @time_zone_id = args[:time_zone_id] if args.key?(:time_zone_id)
347
+ @type = args[:type] if args.key?(:type)
348
+ @value = args[:value] if args.key?(:value)
304
349
  end
305
350
  end
306
351
 
@@ -400,11 +445,16 @@ module Google
400
445
  class DataSource
401
446
  include Google::Apis::Core::Hashable
402
447
 
403
- # See: google3/java/com/google/android/apps/heart/platform/api/Application.java
448
+ #
404
449
  # Corresponds to the JSON property `application`
405
450
  # @return [Google::Apis::FitnessV1::Application]
406
451
  attr_accessor :application
407
452
 
453
+ #
454
+ # Corresponds to the JSON property `dataQualityStandard`
455
+ # @return [Array<String>]
456
+ attr_accessor :data_quality_standard
457
+
408
458
  # A unique identifier for the data stream produced by this data source. The
409
459
  # identifier includes:
410
460
  #
@@ -443,7 +493,7 @@ module Google
443
493
  # @return [String]
444
494
  attr_accessor :data_stream_name
445
495
 
446
- # See: google3/java/com/google/android/apps/heart/platform/api/DataType.java
496
+ #
447
497
  # Corresponds to the JSON property `dataType`
448
498
  # @return [Google::Apis::FitnessV1::DataType]
449
499
  attr_accessor :data_type
@@ -481,6 +531,7 @@ module Google
481
531
  # Update properties of this object
482
532
  def update!(**args)
483
533
  @application = args[:application] if args.key?(:application)
534
+ @data_quality_standard = args[:data_quality_standard] if args.key?(:data_quality_standard)
484
535
  @data_stream_id = args[:data_stream_id] if args.key?(:data_stream_id)
485
536
  @data_stream_name = args[:data_stream_name] if args.key?(:data_stream_name)
486
537
  @data_type = args[:data_type] if args.key?(:data_type)
@@ -490,7 +541,7 @@ module Google
490
541
  end
491
542
  end
492
543
 
493
- # See: google3/java/com/google/android/apps/heart/platform/api/DataType.java
544
+ #
494
545
  class DataType
495
546
  include Google::Apis::Core::Hashable
496
547
 
@@ -695,6 +746,12 @@ module Google
695
746
  # @return [Array<Google::Apis::FitnessV1::Session>]
696
747
  attr_accessor :deleted_session
697
748
 
749
+ # Flag to indicate server has more data to transfer
750
+ # Corresponds to the JSON property `hasMoreData`
751
+ # @return [Boolean]
752
+ attr_accessor :has_more_data
753
+ alias_method :has_more_data?, :has_more_data
754
+
698
755
  # The continuation token, which is used to page through large result sets.
699
756
  # Provide this value in a subsequent request to return the next page of results.
700
757
  # Corresponds to the JSON property `nextPageToken`
@@ -713,6 +770,7 @@ module Google
713
770
  # Update properties of this object
714
771
  def update!(**args)
715
772
  @deleted_session = args[:deleted_session] if args.key?(:deleted_session)
773
+ @has_more_data = args[:has_more_data] if args.key?(:has_more_data)
716
774
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
717
775
  @session = args[:session] if args.key?(:session)
718
776
  end
@@ -757,7 +815,7 @@ module Google
757
815
  # @return [Fixnum]
758
816
  attr_accessor :activity_type
759
817
 
760
- # See: google3/java/com/google/android/apps/heart/platform/api/Application.java
818
+ #
761
819
  # Corresponds to the JSON property `application`
762
820
  # @return [Google::Apis::FitnessV1::Application]
763
821
  attr_accessor :application
@@ -813,7 +871,7 @@ module Google
813
871
 
814
872
  # Holder object for the value of a single field in a data point.
815
873
  # A field value has a particular format and is only ever set to one of an
816
- # integer or a floating point value.
874
+ # integer or a floating point value. LINT.IfChange
817
875
  class Value
818
876
  include Google::Apis::Core::Hashable
819
877
 
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class BucketByTimePeriod
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class DataPoint
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -178,6 +184,7 @@ module Google
178
184
  property :bucket_by_time, as: 'bucketByTime', class: Google::Apis::FitnessV1::BucketByTime, decorator: Google::Apis::FitnessV1::BucketByTime::Representation
179
185
 
180
186
  property :end_time_millis, as: 'endTimeMillis'
187
+ collection :filtered_data_quality_standard, as: 'filteredDataQualityStandard'
181
188
  property :start_time_millis, as: 'startTimeMillis'
182
189
  end
183
190
  end
@@ -219,6 +226,17 @@ module Google
219
226
  # @private
220
227
  class Representation < Google::Apis::Core::JsonRepresentation
221
228
  property :duration_millis, as: 'durationMillis'
229
+ property :period, as: 'period', class: Google::Apis::FitnessV1::BucketByTimePeriod, decorator: Google::Apis::FitnessV1::BucketByTimePeriod::Representation
230
+
231
+ end
232
+ end
233
+
234
+ class BucketByTimePeriod
235
+ # @private
236
+ class Representation < Google::Apis::Core::JsonRepresentation
237
+ property :time_zone_id, as: 'timeZoneId'
238
+ property :type, as: 'type'
239
+ property :value, as: 'value'
222
240
  end
223
241
  end
224
242
 
@@ -242,6 +260,7 @@ module Google
242
260
  class Representation < Google::Apis::Core::JsonRepresentation
243
261
  property :application, as: 'application', class: Google::Apis::FitnessV1::Application, decorator: Google::Apis::FitnessV1::Application::Representation
244
262
 
263
+ collection :data_quality_standard, as: 'dataQualityStandard'
245
264
  property :data_stream_id, as: 'dataStreamId'
246
265
  property :data_stream_name, as: 'dataStreamName'
247
266
  property :data_type, as: 'dataType', class: Google::Apis::FitnessV1::DataType, decorator: Google::Apis::FitnessV1::DataType::Representation
@@ -307,6 +326,7 @@ module Google
307
326
  class Representation < Google::Apis::Core::JsonRepresentation
308
327
  collection :deleted_session, as: 'deletedSession', class: Google::Apis::FitnessV1::Session, decorator: Google::Apis::FitnessV1::Session::Representation
309
328
 
329
+ property :has_more_data, as: 'hasMoreData'
310
330
  property :next_page_token, as: 'nextPageToken'
311
331
  collection :session, as: 'session', class: Google::Apis::FitnessV1::Session, decorator: Google::Apis::FitnessV1::Session::Representation
312
332
 
@@ -22,7 +22,7 @@ module Google
22
22
  module FitnessV1
23
23
  # Fitness
24
24
  #
25
- # Google Fit API
25
+ # Stores and accesses user data in the fitness store from apps on any platform.
26
26
  #
27
27
  # @example
28
28
  # require 'google/apis/fitness_v1'
@@ -98,7 +98,8 @@ module Google
98
98
  execute_or_queue_command(command, &block)
99
99
  end
100
100
 
101
- # Delete the data source if there are no datapoints associated with it
101
+ # Deletes the specified data source. The request will fail if the data source
102
+ # contains any data points.
102
103
  # @param [String] user_id
103
104
  # Retrieve a data source for the person identified. Use me to indicate the
104
105
  # authenticated user. Only me is supported at this time.
@@ -137,7 +138,7 @@ module Google
137
138
  execute_or_queue_command(command, &block)
138
139
  end
139
140
 
140
- # Returns a data source identified by a data stream ID.
141
+ # Returns the specified data source.
141
142
  # @param [String] user_id
142
143
  # Retrieve a data source for the person identified. Use me to indicate the
143
144
  # authenticated user. Only me is supported at this time.
@@ -177,8 +178,8 @@ module Google
177
178
  end
178
179
 
179
180
  # Lists all data sources that are visible to the developer, using the OAuth
180
- # scopes provided. The list is not exhaustive: the user may have private data
181
- # sources that are only visible to other developers or calls using other scopes.
181
+ # scopes provided. The list is not exhaustive; the user may have private data
182
+ # sources that are only visible to other developers, or calls using other scopes.
182
183
  # @param [String] user_id
183
184
  # List data sources for the person identified. Use me to indicate the
184
185
  # authenticated user. Only me is supported at this time.
@@ -218,12 +219,11 @@ module Google
218
219
  execute_or_queue_command(command, &block)
219
220
  end
220
221
 
221
- # Updates a given data source. It is an error to modify the data source's data
222
- # stream ID, data type, type, stream name or device information apart from the
223
- # device version. Changing these fields would require a new unique data stream
224
- # ID and separate data source.
225
- # Data sources are identified by their data stream ID. This method supports
226
- # patch semantics.
222
+ # Updates the specified data source. The dataStreamId, dataType, type,
223
+ # dataStreamName, and device properties with the exception of version, cannot be
224
+ # modified.
225
+ # Data sources are identified by their dataStreamId. This method supports patch
226
+ # semantics.
227
227
  # @param [String] user_id
228
228
  # Update the data source for the person identified. Use me to indicate the
229
229
  # authenticated user. Only me is supported at this time.
@@ -265,11 +265,10 @@ module Google
265
265
  execute_or_queue_command(command, &block)
266
266
  end
267
267
 
268
- # Updates a given data source. It is an error to modify the data source's data
269
- # stream ID, data type, type, stream name or device information apart from the
270
- # device version. Changing these fields would require a new unique data stream
271
- # ID and separate data source.
272
- # Data sources are identified by their data stream ID.
268
+ # Updates the specified data source. The dataStreamId, dataType, type,
269
+ # dataStreamName, and device properties with the exception of version, cannot be
270
+ # modified.
271
+ # Data sources are identified by their dataStreamId.
273
272
  # @param [String] user_id
274
273
  # Update the data source for the person identified. Use me to indicate the
275
274
  # authenticated user. Only me is supported at this time.
@@ -382,8 +381,8 @@ module Google
382
381
  # bit integers.
383
382
  # @param [Fixnum] limit
384
383
  # If specified, no more than this many data points will be included in the
385
- # dataset. If the there are more data points in the dataset, nextPageToken will
386
- # be set in the dataset response.
384
+ # dataset. If there are more data points in the dataset, nextPageToken will be
385
+ # set in the dataset response.
387
386
  # @param [String] page_token
388
387
  # The continuation token, which is used to page through large datasets. To get
389
388
  # the next page of a dataset, set this parameter to the value of nextPageToken
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/fusiontables
26
26
  module FusiontablesV2
27
27
  VERSION = 'V2'
28
- REVISION = '20160317'
28
+ REVISION = '20170321'
29
29
 
30
30
  # Manage your Fusion Tables
31
31
  AUTH_FUSIONTABLES = 'https://www.googleapis.com/auth/fusiontables'
@@ -123,9 +123,10 @@ module Google
123
123
  # NUMBER_NO_SEPARATORfor example 1234.56 NUMBER_PERCENTfor example 123,456%
124
124
  # NUMBER_SCIENTIFICfor example 1E3 STRING_EIGHT_LINE_IMAGEDisplays thumbnail
125
125
  # images as tall as eight lines of text STRING_FOUR_LINE_IMAGEDisplays thumbnail
126
- # images as tall as four lines of text STRING_JSON_TEXTAllows JSON editing of
127
- # text in UI STRING_LINKTreats cell as a link (must start with http:// or https:/
128
- # /) STRING_ONE_LINE_IMAGEDisplays thumbnail images as tall as one line of text
126
+ # images as tall as four lines of text STRING_JSON_TEXTAllows editing of text as
127
+ # JSON in UI STRING_JSON_LISTAllows editing of text as a JSON list in UI
128
+ # STRING_LINKTreats cell as a link (must start with http:// or https://)
129
+ # STRING_ONE_LINE_IMAGEDisplays thumbnail images as tall as one line of text
129
130
  # STRING_VIDEO_OR_MAPDisplay a video or map thumbnail
130
131
  # Corresponds to the JSON property `formatPattern`
131
132
  # @return [String]
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/games/services
26
26
  module GamesConfigurationV1configuration
27
27
  VERSION = 'V1configuration'
28
- REVISION = '20160519'
28
+ REVISION = '20170323'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/games/services
26
26
  module GamesManagementV1management
27
27
  VERSION = 'V1management'
28
- REVISION = '20160519'
28
+ REVISION = '20170323'
29
29
 
30
30
  # Share your Google+ profile information and view and manage your game activity
31
31
  AUTH_GAMES = 'https://www.googleapis.com/auth/games'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/games/services/
26
26
  module GamesV1
27
27
  VERSION = 'V1'
28
- REVISION = '20160519'
28
+ REVISION = '20170323'
29
29
 
30
30
  # View and manage its own configuration data in your Google Drive
31
31
  AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
@@ -20,29 +20,27 @@ module Google
20
20
  module Apis
21
21
  # Genomics API
22
22
  #
23
- # Stores, processes, explores and shares genomic data. This API implements the
24
- # Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several
25
- # extensions.
23
+ # Upload, process, query, and search Genomics data in the cloud.
26
24
  #
27
- # @see https://cloud.google.com/genomics/
25
+ # @see https://cloud.google.com/genomics
28
26
  module GenomicsV1
29
27
  VERSION = 'V1'
30
- REVISION = '20160524'
31
-
32
- # View and manage your data in Google BigQuery
33
- AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
28
+ REVISION = '20170322'
34
29
 
35
30
  # View and manage your data across Google Cloud Platform services
36
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
37
32
 
38
- # Manage your data in Google Cloud Storage
39
- AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
33
+ # View Genomics data
34
+ AUTH_GENOMICS_READONLY = 'https://www.googleapis.com/auth/genomics.readonly'
40
35
 
41
36
  # View and manage Genomics data
42
37
  AUTH_GENOMICS = 'https://www.googleapis.com/auth/genomics'
43
38
 
44
- # View Genomics data
45
- AUTH_GENOMICS_READONLY = 'https://www.googleapis.com/auth/genomics.readonly'
39
+ # View and manage your data in Google BigQuery
40
+ AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
41
+
42
+ # Manage your data in Google Cloud Storage
43
+ AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
46
44
  end
47
45
  end
48
46
  end