google-api-client 0.9.pre3 → 0.9.pre4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (307) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/CHANGELOG.md +14 -2
  4. data/Gemfile +4 -0
  5. data/MIGRATING.md +1 -1
  6. data/README.md +17 -3
  7. data/api_names.yaml +127 -14
  8. data/api_names_out.yaml +5442 -710
  9. data/bin/generate-api +16 -14
  10. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
  12. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
  13. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  15. data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
  16. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  17. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  18. data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
  19. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  20. data/generated/google/apis/admin_directory_v1.rb +25 -1
  21. data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
  22. data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
  23. data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
  24. data/generated/google/apis/admin_reports_v1.rb +1 -1
  25. data/generated/google/apis/admin_reports_v1/service.rb +5 -10
  26. data/generated/google/apis/adsense_v1_4.rb +1 -1
  27. data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
  28. data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
  29. data/generated/google/apis/adsense_v1_4/service.rb +40 -78
  30. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  31. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
  32. data/generated/google/apis/analytics_v3.rb +1 -1
  33. data/generated/google/apis/analytics_v3/classes.rb +11 -13
  34. data/generated/google/apis/analytics_v3/service.rb +84 -158
  35. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
  38. data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  41. data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
  42. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  43. data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
  44. data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
  45. data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
  46. data/generated/google/apis/appsactivity_v1.rb +1 -1
  47. data/generated/google/apis/appsactivity_v1/service.rb +1 -2
  48. data/generated/google/apis/appstate_v1.rb +1 -1
  49. data/generated/google/apis/appstate_v1/service.rb +6 -11
  50. data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
  51. data/generated/google/apis/bigquery_v2.rb +4 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +231 -16
  53. data/generated/google/apis/bigquery_v2/representations.rb +62 -0
  54. data/generated/google/apis/bigquery_v2/service.rb +24 -45
  55. data/generated/google/apis/blogger_v3/service.rb +33 -66
  56. data/generated/google/apis/books_v1.rb +1 -1
  57. data/generated/google/apis/books_v1/classes.rb +441 -0
  58. data/generated/google/apis/books_v1/representations.rb +177 -0
  59. data/generated/google/apis/books_v1/service.rb +210 -90
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +34 -18
  62. data/generated/google/apis/calendar_v3/service.rb +118 -103
  63. data/generated/google/apis/civicinfo_v2.rb +1 -1
  64. data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
  65. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +5 -10
  67. data/generated/google/apis/classroom_v1.rb +49 -0
  68. data/generated/google/apis/classroom_v1/classes.rb +512 -0
  69. data/generated/google/apis/classroom_v1/representations.rb +217 -0
  70. data/generated/google/apis/classroom_v1/service.rb +970 -0
  71. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
  74. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  75. data/generated/google/apis/clouddebugger_v2.rb +41 -0
  76. data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
  77. data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
  78. data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
  79. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  80. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
  81. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
  85. data/generated/google/apis/cloudtrace_v1.rb +35 -0
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
  88. data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
  89. data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
  90. data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
  91. data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
  92. data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
  93. data/generated/google/apis/compute_beta.rb +49 -0
  94. data/generated/google/apis/compute_beta/classes.rb +9128 -0
  95. data/generated/google/apis/compute_beta/representations.rb +3048 -0
  96. data/generated/google/apis/compute_beta/service.rb +10154 -0
  97. data/generated/google/apis/compute_v1.rb +1 -1
  98. data/generated/google/apis/compute_v1/classes.rb +1305 -520
  99. data/generated/google/apis/compute_v1/representations.rb +122 -15
  100. data/generated/google/apis/compute_v1/service.rb +2202 -1085
  101. data/generated/google/apis/container_v1.rb +1 -1
  102. data/generated/google/apis/container_v1/classes.rb +56 -31
  103. data/generated/google/apis/container_v1/representations.rb +12 -0
  104. data/generated/google/apis/container_v1/service.rb +62 -41
  105. data/generated/google/apis/content_v2.rb +2 -2
  106. data/generated/google/apis/content_v2/classes.rb +2252 -56
  107. data/generated/google/apis/content_v2/representations.rb +917 -87
  108. data/generated/google/apis/content_v2/service.rb +680 -85
  109. data/generated/google/apis/coordinate_v1.rb +1 -1
  110. data/generated/google/apis/coordinate_v1/service.rb +16 -25
  111. data/generated/google/apis/customsearch_v1/service.rb +1 -2
  112. data/generated/google/apis/datastore_v1beta2.rb +1 -1
  113. data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
  114. data/generated/google/apis/deploymentmanager_v2.rb +44 -0
  115. data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
  116. data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
  117. data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
  118. data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
  119. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
  120. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
  121. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
  122. data/generated/google/apis/dfareporting_v2_1.rb +1 -1
  123. data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
  124. data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
  125. data/generated/google/apis/discovery_v1/classes.rb +7 -0
  126. data/generated/google/apis/discovery_v1/representations.rb +1 -0
  127. data/generated/google/apis/discovery_v1/service.rb +2 -4
  128. data/generated/google/apis/dns_v1.rb +4 -1
  129. data/generated/google/apis/dns_v1/service.rb +9 -18
  130. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  131. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
  132. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
  133. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
  134. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  135. data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
  136. data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
  137. data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
  138. data/generated/google/apis/drive_v2.rb +1 -1
  139. data/generated/google/apis/drive_v2/classes.rb +73 -30
  140. data/generated/google/apis/drive_v2/representations.rb +14 -0
  141. data/generated/google/apis/drive_v2/service.rb +139 -135
  142. data/generated/google/apis/drive_v3.rb +55 -0
  143. data/generated/google/apis/drive_v3/classes.rb +1534 -0
  144. data/generated/google/apis/drive_v3/representations.rb +497 -0
  145. data/generated/google/apis/drive_v3/service.rb +1541 -0
  146. data/generated/google/apis/fitness_v1.rb +1 -1
  147. data/generated/google/apis/fitness_v1/service.rb +14 -27
  148. data/generated/google/apis/fusiontables_v2/service.rb +40 -73
  149. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  150. data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
  151. data/generated/google/apis/games_management_v1management.rb +37 -0
  152. data/generated/google/apis/games_management_v1management/classes.rb +524 -0
  153. data/generated/google/apis/games_management_v1management/representations.rb +231 -0
  154. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  155. data/generated/google/apis/games_v1.rb +1 -1
  156. data/generated/google/apis/games_v1/classes.rb +39 -0
  157. data/generated/google/apis/games_v1/representations.rb +14 -0
  158. data/generated/google/apis/games_v1/service.rb +93 -109
  159. data/generated/google/apis/gan_v1beta1/service.rb +10 -20
  160. data/generated/google/apis/genomics_v1.rb +5 -3
  161. data/generated/google/apis/genomics_v1/classes.rb +519 -200
  162. data/generated/google/apis/genomics_v1/representations.rb +126 -13
  163. data/generated/google/apis/genomics_v1/service.rb +392 -236
  164. data/generated/google/apis/gmail_v1.rb +4 -1
  165. data/generated/google/apis/gmail_v1/service.rb +39 -71
  166. data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
  167. data/generated/google/apis/groupssettings_v1/service.rb +3 -6
  168. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  169. data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
  170. data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
  171. data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
  172. data/generated/google/apis/kgsearch_v1.rb +32 -0
  173. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  174. data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
  175. data/generated/google/apis/kgsearch_v1/service.rb +111 -0
  176. data/generated/google/apis/licensing_v1.rb +1 -1
  177. data/generated/google/apis/licensing_v1/service.rb +7 -14
  178. data/generated/google/apis/logging_v1beta3.rb +16 -4
  179. data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
  180. data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
  181. data/generated/google/apis/logging_v1beta3/service.rb +435 -104
  182. data/generated/google/apis/manager_v1beta2.rb +3 -0
  183. data/generated/google/apis/manager_v1beta2/service.rb +8 -16
  184. data/generated/google/apis/mapsengine_v1.rb +1 -1
  185. data/generated/google/apis/mapsengine_v1/service.rb +85 -162
  186. data/generated/google/apis/mirror_v1.rb +1 -1
  187. data/generated/google/apis/mirror_v1/service.rb +28 -52
  188. data/generated/google/apis/oauth2_v2.rb +1 -1
  189. data/generated/google/apis/oauth2_v2/service.rb +4 -8
  190. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
  191. data/generated/google/apis/partners_v2.rb +32 -0
  192. data/generated/google/apis/partners_v2/classes.rb +942 -0
  193. data/generated/google/apis/partners_v2/representations.rb +402 -0
  194. data/generated/google/apis/partners_v2/service.rb +400 -0
  195. data/generated/google/apis/plus_domains_v1.rb +1 -1
  196. data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
  197. data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
  198. data/generated/google/apis/plus_domains_v1/service.rb +21 -41
  199. data/generated/google/apis/plus_v1.rb +1 -1
  200. data/generated/google/apis/plus_v1/classes.rb +207 -0
  201. data/generated/google/apis/plus_v1/representations.rb +114 -0
  202. data/generated/google/apis/plus_v1/service.rb +11 -56
  203. data/generated/google/apis/prediction_v1_6.rb +1 -1
  204. data/generated/google/apis/prediction_v1_6/service.rb +8 -16
  205. data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
  206. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
  207. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
  208. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
  209. data/generated/google/apis/pubsub_v1.rb +37 -0
  210. data/generated/google/apis/pubsub_v1/classes.rb +614 -0
  211. data/generated/google/apis/pubsub_v1/representations.rb +281 -0
  212. data/generated/google/apis/pubsub_v1/service.rb +774 -0
  213. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  214. data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
  215. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
  216. data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
  217. data/generated/google/apis/qpx_express_v1/service.rb +1 -2
  218. data/generated/google/apis/replicapool_v1beta2.rb +3 -0
  219. data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
  220. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
  221. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
  222. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
  223. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
  224. data/generated/google/apis/reseller_v1.rb +1 -1
  225. data/generated/google/apis/reseller_v1/classes.rb +19 -1
  226. data/generated/google/apis/reseller_v1/representations.rb +1 -0
  227. data/generated/google/apis/reseller_v1/service.rb +16 -30
  228. data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
  229. data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
  230. data/generated/google/apis/script_v1.rb +61 -0
  231. data/generated/google/apis/script_v1/classes.rb +259 -0
  232. data/generated/google/apis/script_v1/representations.rb +106 -0
  233. data/generated/google/apis/script_v1/service.rb +98 -0
  234. data/generated/google/apis/site_verification_v1.rb +1 -1
  235. data/generated/google/apis/site_verification_v1/service.rb +8 -15
  236. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  237. data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
  238. data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
  239. data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
  240. data/generated/google/apis/storage_v1.rb +5 -2
  241. data/generated/google/apis/storage_v1/classes.rb +47 -4
  242. data/generated/google/apis/storage_v1/representations.rb +18 -0
  243. data/generated/google/apis/storage_v1/service.rb +77 -94
  244. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  245. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  246. data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
  247. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  248. data/generated/google/apis/tagmanager_v1.rb +1 -1
  249. data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
  250. data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
  251. data/generated/google/apis/tagmanager_v1/service.rb +114 -275
  252. data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
  253. data/generated/google/apis/tasks_v1/service.rb +14 -28
  254. data/generated/google/apis/translate_v2/service.rb +3 -6
  255. data/generated/google/apis/urlshortener_v1/service.rb +3 -6
  256. data/generated/google/apis/webmasters_v3.rb +3 -3
  257. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  258. data/generated/google/apis/webmasters_v3/service.rb +16 -30
  259. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  260. data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
  261. data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
  262. data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
  263. data/generated/google/apis/youtube_v3.rb +1 -1
  264. data/generated/google/apis/youtube_v3/classes.rb +111 -78
  265. data/generated/google/apis/youtube_v3/representations.rb +2 -0
  266. data/generated/google/apis/youtube_v3/service.rb +78 -246
  267. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  268. data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
  269. data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
  270. data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
  271. data/google-api-client.gemspec +3 -3
  272. data/lib/google/api_client/auth/installed_app.rb +2 -2
  273. data/lib/google/api_client/auth/key_utils.rb +1 -0
  274. data/lib/google/api_client/auth/storage.rb +1 -0
  275. data/lib/google/api_client/auth/storages/file_store.rb +1 -0
  276. data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
  277. data/lib/google/api_client/client_secrets.rb +4 -5
  278. data/lib/google/apis/core/api_command.rb +2 -2
  279. data/lib/google/apis/core/base_service.rb +1 -0
  280. data/lib/google/apis/core/batch.rb +25 -8
  281. data/lib/google/apis/core/download.rb +1 -1
  282. data/lib/google/apis/core/http_command.rb +24 -12
  283. data/lib/google/apis/core/multipart.rb +20 -6
  284. data/lib/google/apis/core/upload.rb +11 -4
  285. data/lib/google/apis/generator/annotator.rb +29 -10
  286. data/lib/google/apis/generator/helpers.rb +1 -1
  287. data/lib/google/apis/generator/templates/_method.tmpl +5 -6
  288. data/lib/google/apis/options.rb +7 -3
  289. data/lib/google/apis/version.rb +1 -1
  290. data/samples/calendar/calendar.rb +1 -1
  291. data/samples/drive/drive.rb +9 -2
  292. data/samples/pubsub/pubsub.rb +5 -6
  293. data/samples/translate/translate.rb +1 -5
  294. data/script/generate +20 -5
  295. data/spec/fixtures/files/child/.gitignore +0 -0
  296. data/spec/fixtures/files/invalid.json +1 -0
  297. data/spec/google/api_client/client_secrets_spec.rb +38 -1
  298. data/spec/google/apis/core/batch_spec.rb +22 -8
  299. data/spec/google/apis/core/download_spec.rb +13 -0
  300. data/spec/google/apis/core/http_command_spec.rb +26 -9
  301. data/spec/google/apis/core/upload_spec.rb +65 -17
  302. data/spec/google/apis/options_spec.rb +8 -0
  303. data/spec/integration_tests/adsense_spec.rb +28 -0
  304. data/spec/integration_tests/pubsub_spec.rb +3 -3
  305. data/spec/spec_helper.rb +5 -1
  306. data/third_party/hurley_patches.rb +103 -0
  307. metadata +87 -7
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/fit/rest/
26
26
  module FitnessV1
27
27
  VERSION = 'V1'
28
- REVISION = '20150720'
28
+ REVISION = '20151021'
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'
@@ -86,8 +86,7 @@ module Google
86
86
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
87
87
  # @raise [Google::Apis::AuthorizationError] Authorization is required
88
88
  def create_user_data_source(user_id, data_source_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
89
- path = '{userId}/dataSources'
90
- command = make_simple_command(:post, path, options)
89
+ command = make_simple_command(:post, '{userId}/dataSources', options)
91
90
  command.request_representation = Google::Apis::FitnessV1::DataSource::Representation
92
91
  command.request_object = data_source_object
93
92
  command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
@@ -127,8 +126,7 @@ module Google
127
126
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
128
127
  # @raise [Google::Apis::AuthorizationError] Authorization is required
129
128
  def delete_user_data_source(user_id, data_source_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
130
- path = '{userId}/dataSources/{dataSourceId}'
131
- command = make_simple_command(:delete, path, options)
129
+ command = make_simple_command(:delete, '{userId}/dataSources/{dataSourceId}', options)
132
130
  command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
133
131
  command.response_class = Google::Apis::FitnessV1::DataSource
134
132
  command.params['userId'] = user_id unless user_id.nil?
@@ -167,8 +165,7 @@ module Google
167
165
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
168
166
  # @raise [Google::Apis::AuthorizationError] Authorization is required
169
167
  def get_user_data_source(user_id, data_source_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
170
- path = '{userId}/dataSources/{dataSourceId}'
171
- command = make_simple_command(:get, path, options)
168
+ command = make_simple_command(:get, '{userId}/dataSources/{dataSourceId}', options)
172
169
  command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
173
170
  command.response_class = Google::Apis::FitnessV1::DataSource
174
171
  command.params['userId'] = user_id unless user_id.nil?
@@ -210,8 +207,7 @@ module Google
210
207
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
211
208
  # @raise [Google::Apis::AuthorizationError] Authorization is required
212
209
  def list_user_data_sources(user_id, data_type_name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
213
- path = '{userId}/dataSources'
214
- command = make_simple_command(:get, path, options)
210
+ command = make_simple_command(:get, '{userId}/dataSources', options)
215
211
  command.response_representation = Google::Apis::FitnessV1::ListDataSourcesResponse::Representation
216
212
  command.response_class = Google::Apis::FitnessV1::ListDataSourcesResponse
217
213
  command.params['userId'] = user_id unless user_id.nil?
@@ -256,8 +252,7 @@ module Google
256
252
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
257
253
  # @raise [Google::Apis::AuthorizationError] Authorization is required
258
254
  def patch_user_data_source(user_id, data_source_id, data_source_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
259
- path = '{userId}/dataSources/{dataSourceId}'
260
- command = make_simple_command(:patch, path, options)
255
+ command = make_simple_command(:patch, '{userId}/dataSources/{dataSourceId}', options)
261
256
  command.request_representation = Google::Apis::FitnessV1::DataSource::Representation
262
257
  command.request_object = data_source_object
263
258
  command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
@@ -303,8 +298,7 @@ module Google
303
298
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
304
299
  # @raise [Google::Apis::AuthorizationError] Authorization is required
305
300
  def update_user_data_source(user_id, data_source_id, data_source_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
306
- path = '{userId}/dataSources/{dataSourceId}'
307
- command = make_simple_command(:put, path, options)
301
+ command = make_simple_command(:put, '{userId}/dataSources/{dataSourceId}', options)
308
302
  command.request_representation = Google::Apis::FitnessV1::DataSource::Representation
309
303
  command.request_object = data_source_object
310
304
  command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
@@ -359,8 +353,7 @@ module Google
359
353
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
360
354
  # @raise [Google::Apis::AuthorizationError] Authorization is required
361
355
  def delete_user_data_source_dataset(user_id, data_source_id, dataset_id, current_time_millis: nil, modified_time_millis: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
362
- path = '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}'
363
- command = make_simple_command(:delete, path, options)
356
+ command = make_simple_command(:delete, '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
364
357
  command.params['userId'] = user_id unless user_id.nil?
365
358
  command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
366
359
  command.params['datasetId'] = dataset_id unless dataset_id.nil?
@@ -419,8 +412,7 @@ module Google
419
412
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
420
413
  # @raise [Google::Apis::AuthorizationError] Authorization is required
421
414
  def get_user_data_source_dataset(user_id, data_source_id, dataset_id, limit: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
422
- path = '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}'
423
- command = make_simple_command(:get, path, options)
415
+ command = make_simple_command(:get, '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
424
416
  command.response_representation = Google::Apis::FitnessV1::Dataset::Representation
425
417
  command.response_class = Google::Apis::FitnessV1::Dataset
426
418
  command.params['userId'] = user_id unless user_id.nil?
@@ -475,8 +467,7 @@ module Google
475
467
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
476
468
  # @raise [Google::Apis::AuthorizationError] Authorization is required
477
469
  def patch_user_data_source_dataset(user_id, data_source_id, dataset_id, dataset_object = nil, current_time_millis: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
478
- path = '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}'
479
- command = make_simple_command(:patch, path, options)
470
+ command = make_simple_command(:patch, '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
480
471
  command.request_representation = Google::Apis::FitnessV1::Dataset::Representation
481
472
  command.request_object = dataset_object
482
473
  command.response_representation = Google::Apis::FitnessV1::Dataset::Representation
@@ -519,9 +510,8 @@ module Google
519
510
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
520
511
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
521
512
  # @raise [Google::Apis::AuthorizationError] Authorization is required
522
- def aggregate(user_id, aggregate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
523
- path = '{userId}/dataset:aggregate'
524
- command = make_simple_command(:post, path, options)
513
+ def aggregate_dataset(user_id, aggregate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
514
+ command = make_simple_command(:post, '{userId}/dataset:aggregate', options)
525
515
  command.request_representation = Google::Apis::FitnessV1::AggregateRequest::Representation
526
516
  command.request_object = aggregate_request_object
527
517
  command.response_representation = Google::Apis::FitnessV1::AggregateResponse::Representation
@@ -563,8 +553,7 @@ module Google
563
553
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
564
554
  # @raise [Google::Apis::AuthorizationError] Authorization is required
565
555
  def delete_user_session(user_id, session_id, current_time_millis: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
566
- path = '{userId}/sessions/{sessionId}'
567
- command = make_simple_command(:delete, path, options)
556
+ command = make_simple_command(:delete, '{userId}/sessions/{sessionId}', options)
568
557
  command.params['userId'] = user_id unless user_id.nil?
569
558
  command.params['sessionId'] = session_id unless session_id.nil?
570
559
  command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
@@ -614,8 +603,7 @@ module Google
614
603
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
615
604
  # @raise [Google::Apis::AuthorizationError] Authorization is required
616
605
  def list_user_sessions(user_id, end_time: nil, include_deleted: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
617
- path = '{userId}/sessions'
618
- command = make_simple_command(:get, path, options)
606
+ command = make_simple_command(:get, '{userId}/sessions', options)
619
607
  command.response_representation = Google::Apis::FitnessV1::ListSessionsResponse::Representation
620
608
  command.response_class = Google::Apis::FitnessV1::ListSessionsResponse
621
609
  command.params['userId'] = user_id unless user_id.nil?
@@ -660,8 +648,7 @@ module Google
660
648
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
661
649
  # @raise [Google::Apis::AuthorizationError] Authorization is required
662
650
  def update_user_session(user_id, session_id, session_object = nil, current_time_millis: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
663
- path = '{userId}/sessions/{sessionId}'
664
- command = make_simple_command(:put, path, options)
651
+ command = make_simple_command(:put, '{userId}/sessions/{sessionId}', options)
665
652
  command.request_representation = Google::Apis::FitnessV1::Session::Representation
666
653
  command.request_object = session_object
667
654
  command.response_representation = Google::Apis::FitnessV1::Session::Representation
@@ -79,8 +79,7 @@ module Google
79
79
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
80
  # @raise [Google::Apis::AuthorizationError] Authorization is required
81
81
  def delete_column(table_id, column_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
82
- path = 'tables/{tableId}/columns/{columnId}'
83
- command = make_simple_command(:delete, path, options)
82
+ command = make_simple_command(:delete, 'tables/{tableId}/columns/{columnId}', options)
84
83
  command.params['tableId'] = table_id unless table_id.nil?
85
84
  command.params['columnId'] = column_id unless column_id.nil?
86
85
  command.query['fields'] = fields unless fields.nil?
@@ -116,8 +115,7 @@ module Google
116
115
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
117
116
  # @raise [Google::Apis::AuthorizationError] Authorization is required
118
117
  def get_column(table_id, column_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
119
- path = 'tables/{tableId}/columns/{columnId}'
120
- command = make_simple_command(:get, path, options)
118
+ command = make_simple_command(:get, 'tables/{tableId}/columns/{columnId}', options)
121
119
  command.response_representation = Google::Apis::FusiontablesV2::Column::Representation
122
120
  command.response_class = Google::Apis::FusiontablesV2::Column
123
121
  command.params['tableId'] = table_id unless table_id.nil?
@@ -154,8 +152,7 @@ module Google
154
152
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
155
153
  # @raise [Google::Apis::AuthorizationError] Authorization is required
156
154
  def insert_column(table_id, column_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
157
- path = 'tables/{tableId}/columns'
158
- command = make_simple_command(:post, path, options)
155
+ command = make_simple_command(:post, 'tables/{tableId}/columns', options)
159
156
  command.request_representation = Google::Apis::FusiontablesV2::Column::Representation
160
157
  command.request_object = column_object
161
158
  command.response_representation = Google::Apis::FusiontablesV2::Column::Representation
@@ -196,8 +193,7 @@ module Google
196
193
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
197
194
  # @raise [Google::Apis::AuthorizationError] Authorization is required
198
195
  def list_columns(table_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
199
- path = 'tables/{tableId}/columns'
200
- command = make_simple_command(:get, path, options)
196
+ command = make_simple_command(:get, 'tables/{tableId}/columns', options)
201
197
  command.response_representation = Google::Apis::FusiontablesV2::ColumnList::Representation
202
198
  command.response_class = Google::Apis::FusiontablesV2::ColumnList
203
199
  command.params['tableId'] = table_id unless table_id.nil?
@@ -238,8 +234,7 @@ module Google
238
234
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
239
235
  # @raise [Google::Apis::AuthorizationError] Authorization is required
240
236
  def patch_column(table_id, column_id, column_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
241
- path = 'tables/{tableId}/columns/{columnId}'
242
- command = make_simple_command(:patch, path, options)
237
+ command = make_simple_command(:patch, 'tables/{tableId}/columns/{columnId}', options)
243
238
  command.request_representation = Google::Apis::FusiontablesV2::Column::Representation
244
239
  command.request_object = column_object
245
240
  command.response_representation = Google::Apis::FusiontablesV2::Column::Representation
@@ -280,8 +275,7 @@ module Google
280
275
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
281
276
  # @raise [Google::Apis::AuthorizationError] Authorization is required
282
277
  def update_column(table_id, column_id, column_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
283
- path = 'tables/{tableId}/columns/{columnId}'
284
- command = make_simple_command(:put, path, options)
278
+ command = make_simple_command(:put, 'tables/{tableId}/columns/{columnId}', options)
285
279
  command.request_representation = Google::Apis::FusiontablesV2::Column::Representation
286
280
  command.request_object = column_object
287
281
  command.response_representation = Google::Apis::FusiontablesV2::Column::Representation
@@ -340,11 +334,10 @@ module Google
340
334
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
341
335
  # @raise [Google::Apis::AuthorizationError] Authorization is required
342
336
  def sql_query(sql, hdrs: nil, typed: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
343
- path = 'query'
344
337
  if download_dest.nil?
345
- command = make_simple_command(:post, path, options)
338
+ command = make_simple_command(:post, 'query', options)
346
339
  else
347
- command = make_download_command(:post, path, options)
340
+ command = make_download_command(:post, 'query', options)
348
341
  command.download_dest = download_dest
349
342
  end
350
343
  command.response_representation = Google::Apis::FusiontablesV2::Sqlresponse::Representation
@@ -395,12 +388,11 @@ module Google
395
388
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
396
389
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
397
390
  # @raise [Google::Apis::AuthorizationError] Authorization is required
398
- def sql_get_query(sql, hdrs: nil, typed: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
399
- path = 'query'
391
+ def sql_query_get(sql, hdrs: nil, typed: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
400
392
  if download_dest.nil?
401
- command = make_simple_command(:get, path, options)
393
+ command = make_simple_command(:get, 'query', options)
402
394
  else
403
- command = make_download_command(:get, path, options)
395
+ command = make_download_command(:get, 'query', options)
404
396
  command.download_dest = download_dest
405
397
  end
406
398
  command.response_representation = Google::Apis::FusiontablesV2::Sqlresponse::Representation
@@ -441,8 +433,7 @@ module Google
441
433
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
442
434
  # @raise [Google::Apis::AuthorizationError] Authorization is required
443
435
  def delete_style(table_id, style_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
444
- path = 'tables/{tableId}/styles/{styleId}'
445
- command = make_simple_command(:delete, path, options)
436
+ command = make_simple_command(:delete, 'tables/{tableId}/styles/{styleId}', options)
446
437
  command.params['tableId'] = table_id unless table_id.nil?
447
438
  command.params['styleId'] = style_id unless style_id.nil?
448
439
  command.query['fields'] = fields unless fields.nil?
@@ -478,8 +469,7 @@ module Google
478
469
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
479
470
  # @raise [Google::Apis::AuthorizationError] Authorization is required
480
471
  def get_style(table_id, style_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
481
- path = 'tables/{tableId}/styles/{styleId}'
482
- command = make_simple_command(:get, path, options)
472
+ command = make_simple_command(:get, 'tables/{tableId}/styles/{styleId}', options)
483
473
  command.response_representation = Google::Apis::FusiontablesV2::StyleSetting::Representation
484
474
  command.response_class = Google::Apis::FusiontablesV2::StyleSetting
485
475
  command.params['tableId'] = table_id unless table_id.nil?
@@ -516,8 +506,7 @@ module Google
516
506
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
517
507
  # @raise [Google::Apis::AuthorizationError] Authorization is required
518
508
  def insert_style(table_id, style_setting_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
519
- path = 'tables/{tableId}/styles'
520
- command = make_simple_command(:post, path, options)
509
+ command = make_simple_command(:post, 'tables/{tableId}/styles', options)
521
510
  command.request_representation = Google::Apis::FusiontablesV2::StyleSetting::Representation
522
511
  command.request_object = style_setting_object
523
512
  command.response_representation = Google::Apis::FusiontablesV2::StyleSetting::Representation
@@ -558,8 +547,7 @@ module Google
558
547
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
559
548
  # @raise [Google::Apis::AuthorizationError] Authorization is required
560
549
  def list_styles(table_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
561
- path = 'tables/{tableId}/styles'
562
- command = make_simple_command(:get, path, options)
550
+ command = make_simple_command(:get, 'tables/{tableId}/styles', options)
563
551
  command.response_representation = Google::Apis::FusiontablesV2::StyleSettingList::Representation
564
552
  command.response_class = Google::Apis::FusiontablesV2::StyleSettingList
565
553
  command.params['tableId'] = table_id unless table_id.nil?
@@ -599,8 +587,7 @@ module Google
599
587
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
600
588
  # @raise [Google::Apis::AuthorizationError] Authorization is required
601
589
  def patch_style(table_id, style_id, style_setting_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
602
- path = 'tables/{tableId}/styles/{styleId}'
603
- command = make_simple_command(:patch, path, options)
590
+ command = make_simple_command(:patch, 'tables/{tableId}/styles/{styleId}', options)
604
591
  command.request_representation = Google::Apis::FusiontablesV2::StyleSetting::Representation
605
592
  command.request_object = style_setting_object
606
593
  command.response_representation = Google::Apis::FusiontablesV2::StyleSetting::Representation
@@ -641,8 +628,7 @@ module Google
641
628
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
642
629
  # @raise [Google::Apis::AuthorizationError] Authorization is required
643
630
  def update_style(table_id, style_id, style_setting_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
644
- path = 'tables/{tableId}/styles/{styleId}'
645
- command = make_simple_command(:put, path, options)
631
+ command = make_simple_command(:put, 'tables/{tableId}/styles/{styleId}', options)
646
632
  command.request_representation = Google::Apis::FusiontablesV2::StyleSetting::Representation
647
633
  command.request_object = style_setting_object
648
634
  command.response_representation = Google::Apis::FusiontablesV2::StyleSetting::Representation
@@ -682,8 +668,7 @@ module Google
682
668
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
683
669
  # @raise [Google::Apis::AuthorizationError] Authorization is required
684
670
  def copy_table(table_id, copy_presentation: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
685
- path = 'tables/{tableId}/copy'
686
- command = make_simple_command(:post, path, options)
671
+ command = make_simple_command(:post, 'tables/{tableId}/copy', options)
687
672
  command.response_representation = Google::Apis::FusiontablesV2::Table::Representation
688
673
  command.response_class = Google::Apis::FusiontablesV2::Table
689
674
  command.params['tableId'] = table_id unless table_id.nil?
@@ -719,8 +704,7 @@ module Google
719
704
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
720
705
  # @raise [Google::Apis::AuthorizationError] Authorization is required
721
706
  def delete_table(table_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
722
- path = 'tables/{tableId}'
723
- command = make_simple_command(:delete, path, options)
707
+ command = make_simple_command(:delete, 'tables/{tableId}', options)
724
708
  command.params['tableId'] = table_id unless table_id.nil?
725
709
  command.query['fields'] = fields unless fields.nil?
726
710
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -753,8 +737,7 @@ module Google
753
737
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
754
738
  # @raise [Google::Apis::AuthorizationError] Authorization is required
755
739
  def get_table(table_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
756
- path = 'tables/{tableId}'
757
- command = make_simple_command(:get, path, options)
740
+ command = make_simple_command(:get, 'tables/{tableId}', options)
758
741
  command.response_representation = Google::Apis::FusiontablesV2::Table::Representation
759
742
  command.response_class = Google::Apis::FusiontablesV2::Table
760
743
  command.params['tableId'] = table_id unless table_id.nil?
@@ -810,11 +793,10 @@ module Google
810
793
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
811
794
  # @raise [Google::Apis::AuthorizationError] Authorization is required
812
795
  def import_rows(table_id, delimiter: nil, encoding: nil, end_line: nil, is_strict: nil, start_line: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
813
- path = 'tables/{tableId}/import'
814
796
  if upload_source.nil?
815
- command = make_simple_command(:post, path, options)
797
+ command = make_simple_command(:post, 'tables/{tableId}/import', options)
816
798
  else
817
- command = make_upload_command(:post, path, options)
799
+ command = make_upload_command(:post, 'tables/{tableId}/import', options)
818
800
  command.upload_source = upload_source
819
801
  command.upload_content_type = content_type
820
802
  end
@@ -867,11 +849,10 @@ module Google
867
849
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
868
850
  # @raise [Google::Apis::AuthorizationError] Authorization is required
869
851
  def import_table(name, delimiter: nil, encoding: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
870
- path = 'tables/import'
871
852
  if upload_source.nil?
872
- command = make_simple_command(:post, path, options)
853
+ command = make_simple_command(:post, 'tables/import', options)
873
854
  else
874
- command = make_upload_command(:post, path, options)
855
+ command = make_upload_command(:post, 'tables/import', options)
875
856
  command.upload_source = upload_source
876
857
  command.upload_content_type = content_type
877
858
  end
@@ -910,8 +891,7 @@ module Google
910
891
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
911
892
  # @raise [Google::Apis::AuthorizationError] Authorization is required
912
893
  def insert_table(table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
913
- path = 'tables'
914
- command = make_simple_command(:post, path, options)
894
+ command = make_simple_command(:post, 'tables', options)
915
895
  command.request_representation = Google::Apis::FusiontablesV2::Table::Representation
916
896
  command.request_object = table_object
917
897
  command.response_representation = Google::Apis::FusiontablesV2::Table::Representation
@@ -949,8 +929,7 @@ module Google
949
929
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
950
930
  # @raise [Google::Apis::AuthorizationError] Authorization is required
951
931
  def list_tables(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
952
- path = 'tables'
953
- command = make_simple_command(:get, path, options)
932
+ command = make_simple_command(:get, 'tables', options)
954
933
  command.response_representation = Google::Apis::FusiontablesV2::TableList::Representation
955
934
  command.response_class = Google::Apis::FusiontablesV2::TableList
956
935
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -992,8 +971,7 @@ module Google
992
971
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
993
972
  # @raise [Google::Apis::AuthorizationError] Authorization is required
994
973
  def patch_table(table_id, table_object = nil, replace_view_definition: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
995
- path = 'tables/{tableId}'
996
- command = make_simple_command(:patch, path, options)
974
+ command = make_simple_command(:patch, 'tables/{tableId}', options)
997
975
  command.request_representation = Google::Apis::FusiontablesV2::Table::Representation
998
976
  command.request_object = table_object
999
977
  command.response_representation = Google::Apis::FusiontablesV2::Table::Representation
@@ -1053,12 +1031,11 @@ module Google
1053
1031
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1054
1032
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1055
1033
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1056
- def replace_rows_table(table_id, delimiter: nil, encoding: nil, end_line: nil, is_strict: nil, start_line: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
1057
- path = 'tables/{tableId}/replace'
1034
+ def replace_table_rows(table_id, delimiter: nil, encoding: nil, end_line: nil, is_strict: nil, start_line: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
1058
1035
  if upload_source.nil?
1059
- command = make_simple_command(:post, path, options)
1036
+ command = make_simple_command(:post, 'tables/{tableId}/replace', options)
1060
1037
  else
1061
- command = make_upload_command(:post, path, options)
1038
+ command = make_upload_command(:post, 'tables/{tableId}/replace', options)
1062
1039
  command.upload_source = upload_source
1063
1040
  command.upload_content_type = content_type
1064
1041
  end
@@ -1106,8 +1083,7 @@ module Google
1106
1083
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1107
1084
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1108
1085
  def update_table(table_id, table_object = nil, replace_view_definition: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1109
- path = 'tables/{tableId}'
1110
- command = make_simple_command(:put, path, options)
1086
+ command = make_simple_command(:put, 'tables/{tableId}', options)
1111
1087
  command.request_representation = Google::Apis::FusiontablesV2::Table::Representation
1112
1088
  command.request_object = table_object
1113
1089
  command.response_representation = Google::Apis::FusiontablesV2::Table::Representation
@@ -1148,8 +1124,7 @@ module Google
1148
1124
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1149
1125
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1150
1126
  def delete_task(table_id, task_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1151
- path = 'tables/{tableId}/tasks/{taskId}'
1152
- command = make_simple_command(:delete, path, options)
1127
+ command = make_simple_command(:delete, 'tables/{tableId}/tasks/{taskId}', options)
1153
1128
  command.params['tableId'] = table_id unless table_id.nil?
1154
1129
  command.params['taskId'] = task_id unless task_id.nil?
1155
1130
  command.query['fields'] = fields unless fields.nil?
@@ -1185,8 +1160,7 @@ module Google
1185
1160
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1186
1161
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1187
1162
  def get_task(table_id, task_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1188
- path = 'tables/{tableId}/tasks/{taskId}'
1189
- command = make_simple_command(:get, path, options)
1163
+ command = make_simple_command(:get, 'tables/{tableId}/tasks/{taskId}', options)
1190
1164
  command.response_representation = Google::Apis::FusiontablesV2::Task::Representation
1191
1165
  command.response_class = Google::Apis::FusiontablesV2::Task
1192
1166
  command.params['tableId'] = table_id unless table_id.nil?
@@ -1228,8 +1202,7 @@ module Google
1228
1202
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1229
1203
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1230
1204
  def list_tasks(table_id, max_results: nil, page_token: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1231
- path = 'tables/{tableId}/tasks'
1232
- command = make_simple_command(:get, path, options)
1205
+ command = make_simple_command(:get, 'tables/{tableId}/tasks', options)
1233
1206
  command.response_representation = Google::Apis::FusiontablesV2::TaskList::Representation
1234
1207
  command.response_class = Google::Apis::FusiontablesV2::TaskList
1235
1208
  command.params['tableId'] = table_id unless table_id.nil?
@@ -1269,8 +1242,7 @@ module Google
1269
1242
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1270
1243
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1271
1244
  def delete_template(table_id, template_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1272
- path = 'tables/{tableId}/templates/{templateId}'
1273
- command = make_simple_command(:delete, path, options)
1245
+ command = make_simple_command(:delete, 'tables/{tableId}/templates/{templateId}', options)
1274
1246
  command.params['tableId'] = table_id unless table_id.nil?
1275
1247
  command.params['templateId'] = template_id unless template_id.nil?
1276
1248
  command.query['fields'] = fields unless fields.nil?
@@ -1306,8 +1278,7 @@ module Google
1306
1278
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1307
1279
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1308
1280
  def get_template(table_id, template_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1309
- path = 'tables/{tableId}/templates/{templateId}'
1310
- command = make_simple_command(:get, path, options)
1281
+ command = make_simple_command(:get, 'tables/{tableId}/templates/{templateId}', options)
1311
1282
  command.response_representation = Google::Apis::FusiontablesV2::Template::Representation
1312
1283
  command.response_class = Google::Apis::FusiontablesV2::Template
1313
1284
  command.params['tableId'] = table_id unless table_id.nil?
@@ -1344,8 +1315,7 @@ module Google
1344
1315
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1345
1316
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1346
1317
  def insert_template(table_id, template_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1347
- path = 'tables/{tableId}/templates'
1348
- command = make_simple_command(:post, path, options)
1318
+ command = make_simple_command(:post, 'tables/{tableId}/templates', options)
1349
1319
  command.request_representation = Google::Apis::FusiontablesV2::Template::Representation
1350
1320
  command.request_object = template_object
1351
1321
  command.response_representation = Google::Apis::FusiontablesV2::Template::Representation
@@ -1386,8 +1356,7 @@ module Google
1386
1356
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1387
1357
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1388
1358
  def list_templates(table_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1389
- path = 'tables/{tableId}/templates'
1390
- command = make_simple_command(:get, path, options)
1359
+ command = make_simple_command(:get, 'tables/{tableId}/templates', options)
1391
1360
  command.response_representation = Google::Apis::FusiontablesV2::TemplateList::Representation
1392
1361
  command.response_class = Google::Apis::FusiontablesV2::TemplateList
1393
1362
  command.params['tableId'] = table_id unless table_id.nil?
@@ -1427,8 +1396,7 @@ module Google
1427
1396
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1428
1397
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1429
1398
  def patch_template(table_id, template_id, template_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1430
- path = 'tables/{tableId}/templates/{templateId}'
1431
- command = make_simple_command(:patch, path, options)
1399
+ command = make_simple_command(:patch, 'tables/{tableId}/templates/{templateId}', options)
1432
1400
  command.request_representation = Google::Apis::FusiontablesV2::Template::Representation
1433
1401
  command.request_object = template_object
1434
1402
  command.response_representation = Google::Apis::FusiontablesV2::Template::Representation
@@ -1469,8 +1437,7 @@ module Google
1469
1437
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1470
1438
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1471
1439
  def update_template(table_id, template_id, template_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1472
- path = 'tables/{tableId}/templates/{templateId}'
1473
- command = make_simple_command(:put, path, options)
1440
+ command = make_simple_command(:put, 'tables/{tableId}/templates/{templateId}', options)
1474
1441
  command.request_representation = Google::Apis::FusiontablesV2::Template::Representation
1475
1442
  command.request_object = template_object
1476
1443
  command.response_representation = Google::Apis::FusiontablesV2::Template::Representation