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
@@ -50,6 +50,14 @@ module Google
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
  end
52
52
 
53
+ class ExplainQueryStage
54
+ class Representation < Google::Apis::Core::JsonRepresentation; end
55
+ end
56
+
57
+ class ExplainQueryStep
58
+ class Representation < Google::Apis::Core::JsonRepresentation; end
59
+ end
60
+
53
61
  class ExternalDataConfiguration
54
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
55
63
  end
@@ -142,6 +150,10 @@ module Google
142
150
  class Representation < Google::Apis::Core::JsonRepresentation; end
143
151
  end
144
152
 
153
+ class Streamingbuffer
154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
155
+ end
156
+
145
157
  class Table
146
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
159
  end
@@ -287,6 +299,34 @@ module Google
287
299
  end
288
300
  end
289
301
 
302
+ class ExplainQueryStage
303
+ # @private
304
+ class Representation < Google::Apis::Core::JsonRepresentation
305
+ property :compute_ratio_avg, as: 'computeRatioAvg'
306
+ property :compute_ratio_max, as: 'computeRatioMax'
307
+ property :id, as: 'id'
308
+ property :name, as: 'name'
309
+ property :read_ratio_avg, as: 'readRatioAvg'
310
+ property :read_ratio_max, as: 'readRatioMax'
311
+ property :records_read, as: 'recordsRead'
312
+ property :records_written, as: 'recordsWritten'
313
+ collection :steps, as: 'steps', class: Google::Apis::BigqueryV2::ExplainQueryStep, decorator: Google::Apis::BigqueryV2::ExplainQueryStep::Representation
314
+
315
+ property :wait_ratio_avg, as: 'waitRatioAvg'
316
+ property :wait_ratio_max, as: 'waitRatioMax'
317
+ property :write_ratio_avg, as: 'writeRatioAvg'
318
+ property :write_ratio_max, as: 'writeRatioMax'
319
+ end
320
+ end
321
+
322
+ class ExplainQueryStep
323
+ # @private
324
+ class Representation < Google::Apis::Core::JsonRepresentation
325
+ property :kind, as: 'kind'
326
+ collection :substeps, as: 'substeps'
327
+ end
328
+ end
329
+
290
330
  class ExternalDataConfiguration
291
331
  # @private
292
332
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -306,6 +346,8 @@ module Google
306
346
  # @private
307
347
  class Representation < Google::Apis::Core::JsonRepresentation
308
348
  property :cache_hit, as: 'cacheHit'
349
+ collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
350
+
309
351
  property :etag, as: 'etag'
310
352
  property :job_complete, as: 'jobComplete'
311
353
  property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
@@ -510,7 +552,11 @@ module Google
510
552
  class JobStatistics2
511
553
  # @private
512
554
  class Representation < Google::Apis::Core::JsonRepresentation
555
+ property :billing_tier, as: 'billingTier'
513
556
  property :cache_hit, as: 'cacheHit'
557
+ collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation
558
+
559
+ property :total_bytes_billed, as: 'totalBytesBilled'
514
560
  property :total_bytes_processed, as: 'totalBytesProcessed'
515
561
  end
516
562
  end
@@ -593,6 +639,8 @@ module Google
593
639
  # @private
594
640
  class Representation < Google::Apis::Core::JsonRepresentation
595
641
  property :cache_hit, as: 'cacheHit'
642
+ collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
643
+
596
644
  property :job_complete, as: 'jobComplete'
597
645
  property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
598
646
 
@@ -607,6 +655,15 @@ module Google
607
655
  end
608
656
  end
609
657
 
658
+ class Streamingbuffer
659
+ # @private
660
+ class Representation < Google::Apis::Core::JsonRepresentation
661
+ property :estimated_bytes, as: 'estimatedBytes'
662
+ property :estimated_rows, as: 'estimatedRows'
663
+ property :oldest_entry_time, as: 'oldestEntryTime'
664
+ end
665
+ end
666
+
610
667
  class Table
611
668
  # @private
612
669
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -626,6 +683,8 @@ module Google
626
683
  property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
627
684
 
628
685
  property :self_link, as: 'selfLink'
686
+ property :streaming_buffer, as: 'streamingBuffer', class: Google::Apis::BigqueryV2::Streamingbuffer, decorator: Google::Apis::BigqueryV2::Streamingbuffer::Representation
687
+
629
688
  property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
630
689
 
631
690
  property :type, as: 'type'
@@ -649,6 +708,7 @@ module Google
649
708
  collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::InsertAllTableDataRequest::Row, decorator: Google::Apis::BigqueryV2::InsertAllTableDataRequest::Row::Representation
650
709
 
651
710
  property :skip_invalid_rows, as: 'skipInvalidRows'
711
+ property :template_suffix, as: 'templateSuffix'
652
712
  end
653
713
 
654
714
  class Row
@@ -763,6 +823,8 @@ module Google
763
823
  # @private
764
824
  class Representation < Google::Apis::Core::JsonRepresentation
765
825
  property :query, as: 'query'
826
+ collection :user_defined_function_resources, as: 'userDefinedFunctionResources', class: Google::Apis::BigqueryV2::UserDefinedFunctionResource, decorator: Google::Apis::BigqueryV2::UserDefinedFunctionResource::Representation
827
+
766
828
  end
767
829
  end
768
830
  end
@@ -85,8 +85,7 @@ module Google
85
85
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
86
86
  # @raise [Google::Apis::AuthorizationError] Authorization is required
87
87
  def delete_dataset(project_id, dataset_id, delete_contents: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
88
- path = 'projects/{projectId}/datasets/{datasetId}'
89
- command = make_simple_command(:delete, path, options)
88
+ command = make_simple_command(:delete, 'projects/{projectId}/datasets/{datasetId}', options)
90
89
  command.params['projectId'] = project_id unless project_id.nil?
91
90
  command.params['datasetId'] = dataset_id unless dataset_id.nil?
92
91
  command.query['deleteContents'] = delete_contents unless delete_contents.nil?
@@ -123,8 +122,7 @@ module Google
123
122
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
124
123
  # @raise [Google::Apis::AuthorizationError] Authorization is required
125
124
  def get_dataset(project_id, dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
126
- path = 'projects/{projectId}/datasets/{datasetId}'
127
- command = make_simple_command(:get, path, options)
125
+ command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}', options)
128
126
  command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
129
127
  command.response_class = Google::Apis::BigqueryV2::Dataset
130
128
  command.params['projectId'] = project_id unless project_id.nil?
@@ -161,8 +159,7 @@ module Google
161
159
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
162
160
  # @raise [Google::Apis::AuthorizationError] Authorization is required
163
161
  def insert_dataset(project_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
164
- path = 'projects/{projectId}/datasets'
165
- command = make_simple_command(:post, path, options)
162
+ command = make_simple_command(:post, 'projects/{projectId}/datasets', options)
166
163
  command.request_representation = Google::Apis::BigqueryV2::Dataset::Representation
167
164
  command.request_object = dataset_object
168
165
  command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
@@ -206,8 +203,7 @@ module Google
206
203
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
207
204
  # @raise [Google::Apis::AuthorizationError] Authorization is required
208
205
  def list_datasets(project_id, all: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
209
- path = 'projects/{projectId}/datasets'
210
- command = make_simple_command(:get, path, options)
206
+ command = make_simple_command(:get, 'projects/{projectId}/datasets', options)
211
207
  command.response_representation = Google::Apis::BigqueryV2::DatasetList::Representation
212
208
  command.response_class = Google::Apis::BigqueryV2::DatasetList
213
209
  command.params['projectId'] = project_id unless project_id.nil?
@@ -251,8 +247,7 @@ module Google
251
247
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
252
248
  # @raise [Google::Apis::AuthorizationError] Authorization is required
253
249
  def patch_dataset(project_id, dataset_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
254
- path = 'projects/{projectId}/datasets/{datasetId}'
255
- command = make_simple_command(:patch, path, options)
250
+ command = make_simple_command(:patch, 'projects/{projectId}/datasets/{datasetId}', options)
256
251
  command.request_representation = Google::Apis::BigqueryV2::Dataset::Representation
257
252
  command.request_object = dataset_object
258
253
  command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
@@ -295,8 +290,7 @@ module Google
295
290
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
296
291
  # @raise [Google::Apis::AuthorizationError] Authorization is required
297
292
  def update_dataset(project_id, dataset_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
298
- path = 'projects/{projectId}/datasets/{datasetId}'
299
- command = make_simple_command(:put, path, options)
293
+ command = make_simple_command(:put, 'projects/{projectId}/datasets/{datasetId}', options)
300
294
  command.request_representation = Google::Apis::BigqueryV2::Dataset::Representation
301
295
  command.request_object = dataset_object
302
296
  command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
@@ -311,7 +305,7 @@ module Google
311
305
 
312
306
  # Requests that a job be cancelled. This call will return immediately, and the
313
307
  # client will need to poll for the job status to see if the cancel completed
314
- # successfully.
308
+ # successfully. Cancelled jobs may still incur costs.
315
309
  # @param [String] project_id
316
310
  # Project ID of the job to cancel
317
311
  # @param [String] job_id
@@ -338,8 +332,7 @@ module Google
338
332
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
339
333
  # @raise [Google::Apis::AuthorizationError] Authorization is required
340
334
  def cancel_job(project_id, job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
341
- path = 'project/{projectId}/jobs/{jobId}/cancel'
342
- command = make_simple_command(:post, path, options)
335
+ command = make_simple_command(:post, 'project/{projectId}/jobs/{jobId}/cancel', options)
343
336
  command.response_representation = Google::Apis::BigqueryV2::CancelJobResponse::Representation
344
337
  command.response_class = Google::Apis::BigqueryV2::CancelJobResponse
345
338
  command.params['projectId'] = project_id unless project_id.nil?
@@ -379,8 +372,7 @@ module Google
379
372
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
380
373
  # @raise [Google::Apis::AuthorizationError] Authorization is required
381
374
  def get_job(project_id, job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
382
- path = 'projects/{projectId}/jobs/{jobId}'
383
- command = make_simple_command(:get, path, options)
375
+ command = make_simple_command(:get, 'projects/{projectId}/jobs/{jobId}', options)
384
376
  command.response_representation = Google::Apis::BigqueryV2::Job::Representation
385
377
  command.response_class = Google::Apis::BigqueryV2::Job
386
378
  command.params['projectId'] = project_id unless project_id.nil?
@@ -428,8 +420,7 @@ module Google
428
420
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
429
421
  # @raise [Google::Apis::AuthorizationError] Authorization is required
430
422
  def get_job_query_results(project_id, job_id, max_results: nil, page_token: nil, start_index: nil, timeout_ms: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
431
- path = 'projects/{projectId}/queries/{jobId}'
432
- command = make_simple_command(:get, path, options)
423
+ command = make_simple_command(:get, 'projects/{projectId}/queries/{jobId}', options)
433
424
  command.response_representation = Google::Apis::BigqueryV2::GetQueryResultsResponse::Representation
434
425
  command.response_class = Google::Apis::BigqueryV2::GetQueryResultsResponse
435
426
  command.params['projectId'] = project_id unless project_id.nil?
@@ -474,11 +465,10 @@ module Google
474
465
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
475
466
  # @raise [Google::Apis::AuthorizationError] Authorization is required
476
467
  def insert_job(project_id, job_object = nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
477
- path = 'projects/{projectId}/jobs'
478
468
  if upload_source.nil?
479
- command = make_simple_command(:post, path, options)
469
+ command = make_simple_command(:post, 'projects/{projectId}/jobs', options)
480
470
  else
481
- command = make_upload_command(:post, path, options)
471
+ command = make_upload_command(:post, 'projects/{projectId}/jobs', options)
482
472
  command.upload_source = upload_source
483
473
  command.upload_content_type = content_type
484
474
  end
@@ -531,8 +521,7 @@ module Google
531
521
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
532
522
  # @raise [Google::Apis::AuthorizationError] Authorization is required
533
523
  def list_jobs(project_id, all_users: nil, max_results: nil, page_token: nil, projection: nil, state_filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
534
- path = 'projects/{projectId}/jobs'
535
- command = make_simple_command(:get, path, options)
524
+ command = make_simple_command(:get, 'projects/{projectId}/jobs', options)
536
525
  command.response_representation = Google::Apis::BigqueryV2::JobList::Representation
537
526
  command.response_class = Google::Apis::BigqueryV2::JobList
538
527
  command.params['projectId'] = project_id unless project_id.nil?
@@ -573,9 +562,8 @@ module Google
573
562
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
574
563
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
575
564
  # @raise [Google::Apis::AuthorizationError] Authorization is required
576
- def query(project_id, query_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
577
- path = 'projects/{projectId}/queries'
578
- command = make_simple_command(:post, path, options)
565
+ def query_job(project_id, query_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
566
+ command = make_simple_command(:post, 'projects/{projectId}/queries', options)
579
567
  command.request_representation = Google::Apis::BigqueryV2::QueryRequest::Representation
580
568
  command.request_object = query_request_object
581
569
  command.response_representation = Google::Apis::BigqueryV2::QueryResponse::Representation
@@ -614,8 +602,7 @@ module Google
614
602
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
615
603
  # @raise [Google::Apis::AuthorizationError] Authorization is required
616
604
  def list_projects(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
617
- path = 'projects'
618
- command = make_simple_command(:get, path, options)
605
+ command = make_simple_command(:get, 'projects', options)
619
606
  command.response_representation = Google::Apis::BigqueryV2::ProjectList::Representation
620
607
  command.response_class = Google::Apis::BigqueryV2::ProjectList
621
608
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -657,8 +644,7 @@ module Google
657
644
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
658
645
  # @raise [Google::Apis::AuthorizationError] Authorization is required
659
646
  def insert_all_table_data(project_id, dataset_id, table_id, insert_all_table_data_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
660
- path = 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAll'
661
- command = make_simple_command(:post, path, options)
647
+ command = make_simple_command(:post, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAll', options)
662
648
  command.request_representation = Google::Apis::BigqueryV2::InsertAllTableDataRequest::Representation
663
649
  command.request_object = insert_all_table_data_request_object
664
650
  command.response_representation = Google::Apis::BigqueryV2::InsertAllTableDataResponse::Representation
@@ -708,8 +694,7 @@ module Google
708
694
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
709
695
  # @raise [Google::Apis::AuthorizationError] Authorization is required
710
696
  def list_table_data(project_id, dataset_id, table_id, max_results: nil, page_token: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
711
- path = 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data'
712
- command = make_simple_command(:get, path, options)
697
+ command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data', options)
713
698
  command.response_representation = Google::Apis::BigqueryV2::TableDataList::Representation
714
699
  command.response_class = Google::Apis::BigqueryV2::TableDataList
715
700
  command.params['projectId'] = project_id unless project_id.nil?
@@ -754,8 +739,7 @@ module Google
754
739
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
755
740
  # @raise [Google::Apis::AuthorizationError] Authorization is required
756
741
  def delete_table(project_id, dataset_id, table_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
757
- path = 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}'
758
- command = make_simple_command(:delete, path, options)
742
+ command = make_simple_command(:delete, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
759
743
  command.params['projectId'] = project_id unless project_id.nil?
760
744
  command.params['datasetId'] = dataset_id unless dataset_id.nil?
761
745
  command.params['tableId'] = table_id unless table_id.nil?
@@ -796,8 +780,7 @@ module Google
796
780
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
797
781
  # @raise [Google::Apis::AuthorizationError] Authorization is required
798
782
  def get_table(project_id, dataset_id, table_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
799
- path = 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}'
800
- command = make_simple_command(:get, path, options)
783
+ command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
801
784
  command.response_representation = Google::Apis::BigqueryV2::Table::Representation
802
785
  command.response_class = Google::Apis::BigqueryV2::Table
803
786
  command.params['projectId'] = project_id unless project_id.nil?
@@ -837,8 +820,7 @@ module Google
837
820
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
838
821
  # @raise [Google::Apis::AuthorizationError] Authorization is required
839
822
  def insert_table(project_id, dataset_id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
840
- path = 'projects/{projectId}/datasets/{datasetId}/tables'
841
- command = make_simple_command(:post, path, options)
823
+ command = make_simple_command(:post, 'projects/{projectId}/datasets/{datasetId}/tables', options)
842
824
  command.request_representation = Google::Apis::BigqueryV2::Table::Representation
843
825
  command.request_object = table_object
844
826
  command.response_representation = Google::Apis::BigqueryV2::Table::Representation
@@ -882,8 +864,7 @@ module Google
882
864
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
883
865
  # @raise [Google::Apis::AuthorizationError] Authorization is required
884
866
  def list_tables(project_id, dataset_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
885
- path = 'projects/{projectId}/datasets/{datasetId}/tables'
886
- command = make_simple_command(:get, path, options)
867
+ command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables', options)
887
868
  command.response_representation = Google::Apis::BigqueryV2::TableList::Representation
888
869
  command.response_class = Google::Apis::BigqueryV2::TableList
889
870
  command.params['projectId'] = project_id unless project_id.nil?
@@ -928,8 +909,7 @@ module Google
928
909
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
929
910
  # @raise [Google::Apis::AuthorizationError] Authorization is required
930
911
  def patch_table(project_id, dataset_id, table_id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
931
- path = 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}'
932
- command = make_simple_command(:patch, path, options)
912
+ command = make_simple_command(:patch, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
933
913
  command.request_representation = Google::Apis::BigqueryV2::Table::Representation
934
914
  command.request_object = table_object
935
915
  command.response_representation = Google::Apis::BigqueryV2::Table::Representation
@@ -975,8 +955,7 @@ module Google
975
955
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
976
956
  # @raise [Google::Apis::AuthorizationError] Authorization is required
977
957
  def update_table(project_id, dataset_id, table_id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
978
- path = 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}'
979
- command = make_simple_command(:put, path, options)
958
+ command = make_simple_command(:put, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
980
959
  command.request_representation = Google::Apis::BigqueryV2::Table::Representation
981
960
  command.request_object = table_object
982
961
  command.response_representation = Google::Apis::BigqueryV2::Table::Representation
@@ -82,8 +82,7 @@ module Google
82
82
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
83
83
  # @raise [Google::Apis::AuthorizationError] Authorization is required
84
84
  def get_blog_user_info(user_id, blog_id, max_posts: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
85
- path = 'users/{userId}/blogs/{blogId}'
86
- command = make_simple_command(:get, path, options)
85
+ command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}', options)
87
86
  command.response_representation = Google::Apis::BloggerV3::BlogUserInfo::Representation
88
87
  command.response_class = Google::Apis::BloggerV3::BlogUserInfo
89
88
  command.params['userId'] = user_id unless user_id.nil?
@@ -125,8 +124,7 @@ module Google
125
124
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
126
125
  # @raise [Google::Apis::AuthorizationError] Authorization is required
127
126
  def get_blog(blog_id, max_posts: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
128
- path = 'blogs/{blogId}'
129
- command = make_simple_command(:get, path, options)
127
+ command = make_simple_command(:get, 'blogs/{blogId}', options)
130
128
  command.response_representation = Google::Apis::BloggerV3::Blog::Representation
131
129
  command.response_class = Google::Apis::BloggerV3::Blog
132
130
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -166,8 +164,7 @@ module Google
166
164
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
167
165
  # @raise [Google::Apis::AuthorizationError] Authorization is required
168
166
  def get_blog_by_url(url, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
169
- path = 'blogs/byurl'
170
- command = make_simple_command(:get, path, options)
167
+ command = make_simple_command(:get, 'blogs/byurl', options)
171
168
  command.response_representation = Google::Apis::BloggerV3::Blog::Representation
172
169
  command.response_class = Google::Apis::BloggerV3::Blog
173
170
  command.query['url'] = url unless url.nil?
@@ -217,8 +214,7 @@ module Google
217
214
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
218
215
  # @raise [Google::Apis::AuthorizationError] Authorization is required
219
216
  def list_blogs_by_user(user_id, fetch_user_info: nil, role: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
220
- path = 'users/{userId}/blogs'
221
- command = make_simple_command(:get, path, options)
217
+ command = make_simple_command(:get, 'users/{userId}/blogs', options)
222
218
  command.response_representation = Google::Apis::BloggerV3::BlogList::Representation
223
219
  command.response_class = Google::Apis::BloggerV3::BlogList
224
220
  command.params['userId'] = user_id unless user_id.nil?
@@ -261,8 +257,7 @@ module Google
261
257
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
262
258
  # @raise [Google::Apis::AuthorizationError] Authorization is required
263
259
  def approve_comment(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
264
- path = 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve'
265
- command = make_simple_command(:post, path, options)
260
+ command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve', options)
266
261
  command.response_representation = Google::Apis::BloggerV3::Comment::Representation
267
262
  command.response_class = Google::Apis::BloggerV3::Comment
268
263
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -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 delete_comment(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
306
- path = 'blogs/{blogId}/posts/{postId}/comments/{commentId}'
307
- command = make_simple_command(:delete, path, options)
301
+ command = make_simple_command(:delete, 'blogs/{blogId}/posts/{postId}/comments/{commentId}', options)
308
302
  command.params['blogId'] = blog_id unless blog_id.nil?
309
303
  command.params['postId'] = post_id unless post_id.nil?
310
304
  command.params['commentId'] = comment_id unless comment_id.nil?
@@ -348,8 +342,7 @@ module Google
348
342
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
349
343
  # @raise [Google::Apis::AuthorizationError] Authorization is required
350
344
  def get_comment(blog_id, post_id, comment_id, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
351
- path = 'blogs/{blogId}/posts/{postId}/comments/{commentId}'
352
- command = make_simple_command(:get, path, options)
345
+ command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}/comments/{commentId}', options)
353
346
  command.response_representation = Google::Apis::BloggerV3::Comment::Representation
354
347
  command.response_class = Google::Apis::BloggerV3::Comment
355
348
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -403,8 +396,7 @@ module Google
403
396
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
404
397
  # @raise [Google::Apis::AuthorizationError] Authorization is required
405
398
  def list_comments(blog_id, post_id, end_date: nil, fetch_bodies: nil, max_results: nil, page_token: nil, start_date: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
406
- path = 'blogs/{blogId}/posts/{postId}/comments'
407
- command = make_simple_command(:get, path, options)
399
+ command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}/comments', options)
408
400
  command.response_representation = Google::Apis::BloggerV3::CommentList::Representation
409
401
  command.response_class = Google::Apis::BloggerV3::CommentList
410
402
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -458,8 +450,7 @@ module Google
458
450
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
459
451
  # @raise [Google::Apis::AuthorizationError] Authorization is required
460
452
  def list_comments_by_blog(blog_id, end_date: nil, fetch_bodies: nil, max_results: nil, page_token: nil, start_date: nil, status: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
461
- path = 'blogs/{blogId}/comments'
462
- command = make_simple_command(:get, path, options)
453
+ command = make_simple_command(:get, 'blogs/{blogId}/comments', options)
463
454
  command.response_representation = Google::Apis::BloggerV3::CommentList::Representation
464
455
  command.response_class = Google::Apis::BloggerV3::CommentList
465
456
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -504,8 +495,7 @@ module Google
504
495
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
505
496
  # @raise [Google::Apis::AuthorizationError] Authorization is required
506
497
  def mark_comment_as_spam(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
507
- path = 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam'
508
- command = make_simple_command(:post, path, options)
498
+ command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam', options)
509
499
  command.response_representation = Google::Apis::BloggerV3::Comment::Representation
510
500
  command.response_class = Google::Apis::BloggerV3::Comment
511
501
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -546,8 +536,7 @@ module Google
546
536
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
547
537
  # @raise [Google::Apis::AuthorizationError] Authorization is required
548
538
  def remove_comment_content(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
549
- path = 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent'
550
- command = make_simple_command(:post, path, options)
539
+ command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent', options)
551
540
  command.response_representation = Google::Apis::BloggerV3::Comment::Representation
552
541
  command.response_class = Google::Apis::BloggerV3::Comment
553
542
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -585,8 +574,7 @@ module Google
585
574
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
586
575
  # @raise [Google::Apis::AuthorizationError] Authorization is required
587
576
  def get_page_view(blog_id, range: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
588
- path = 'blogs/{blogId}/pageviews'
589
- command = make_simple_command(:get, path, options)
577
+ command = make_simple_command(:get, 'blogs/{blogId}/pageviews', options)
590
578
  command.response_representation = Google::Apis::BloggerV3::Pageviews::Representation
591
579
  command.response_class = Google::Apis::BloggerV3::Pageviews
592
580
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -624,8 +612,7 @@ module Google
624
612
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
625
613
  # @raise [Google::Apis::AuthorizationError] Authorization is required
626
614
  def delete_page(blog_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
627
- path = 'blogs/{blogId}/pages/{pageId}'
628
- command = make_simple_command(:delete, path, options)
615
+ command = make_simple_command(:delete, 'blogs/{blogId}/pages/{pageId}', options)
629
616
  command.params['blogId'] = blog_id unless blog_id.nil?
630
617
  command.params['pageId'] = page_id unless page_id.nil?
631
618
  command.query['fields'] = fields unless fields.nil?
@@ -662,8 +649,7 @@ module Google
662
649
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
663
650
  # @raise [Google::Apis::AuthorizationError] Authorization is required
664
651
  def get_page(blog_id, page_id, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
665
- path = 'blogs/{blogId}/pages/{pageId}'
666
- command = make_simple_command(:get, path, options)
652
+ command = make_simple_command(:get, 'blogs/{blogId}/pages/{pageId}', options)
667
653
  command.response_representation = Google::Apis::BloggerV3::Page::Representation
668
654
  command.response_class = Google::Apis::BloggerV3::Page
669
655
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -703,8 +689,7 @@ module Google
703
689
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
704
690
  # @raise [Google::Apis::AuthorizationError] Authorization is required
705
691
  def insert_page(blog_id, page_object = nil, is_draft: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
706
- path = 'blogs/{blogId}/pages'
707
- command = make_simple_command(:post, path, options)
692
+ command = make_simple_command(:post, 'blogs/{blogId}/pages', options)
708
693
  command.request_representation = Google::Apis::BloggerV3::Page::Representation
709
694
  command.request_object = page_object
710
695
  command.response_representation = Google::Apis::BloggerV3::Page::Representation
@@ -752,8 +737,7 @@ module Google
752
737
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
753
738
  # @raise [Google::Apis::AuthorizationError] Authorization is required
754
739
  def list_pages(blog_id, fetch_bodies: nil, max_results: nil, page_token: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
755
- path = 'blogs/{blogId}/pages'
756
- command = make_simple_command(:get, path, options)
740
+ command = make_simple_command(:get, 'blogs/{blogId}/pages', options)
757
741
  command.response_representation = Google::Apis::BloggerV3::PageList::Representation
758
742
  command.response_class = Google::Apis::BloggerV3::PageList
759
743
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -802,8 +786,7 @@ module Google
802
786
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
803
787
  # @raise [Google::Apis::AuthorizationError] Authorization is required
804
788
  def patch_page(blog_id, page_id, page_object = nil, publish: nil, revert: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
805
- path = 'blogs/{blogId}/pages/{pageId}'
806
- command = make_simple_command(:patch, path, options)
789
+ command = make_simple_command(:patch, 'blogs/{blogId}/pages/{pageId}', options)
807
790
  command.request_representation = Google::Apis::BloggerV3::Page::Representation
808
791
  command.request_object = page_object
809
792
  command.response_representation = Google::Apis::BloggerV3::Page::Representation
@@ -845,8 +828,7 @@ module Google
845
828
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
846
829
  # @raise [Google::Apis::AuthorizationError] Authorization is required
847
830
  def publish_page(blog_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
848
- path = 'blogs/{blogId}/pages/{pageId}/publish'
849
- command = make_simple_command(:post, path, options)
831
+ command = make_simple_command(:post, 'blogs/{blogId}/pages/{pageId}/publish', options)
850
832
  command.response_representation = Google::Apis::BloggerV3::Page::Representation
851
833
  command.response_class = Google::Apis::BloggerV3::Page
852
834
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -884,8 +866,7 @@ module Google
884
866
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
885
867
  # @raise [Google::Apis::AuthorizationError] Authorization is required
886
868
  def revert_page(blog_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
887
- path = 'blogs/{blogId}/pages/{pageId}/revert'
888
- command = make_simple_command(:post, path, options)
869
+ command = make_simple_command(:post, 'blogs/{blogId}/pages/{pageId}/revert', options)
889
870
  command.response_representation = Google::Apis::BloggerV3::Page::Representation
890
871
  command.response_class = Google::Apis::BloggerV3::Page
891
872
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -930,8 +911,7 @@ module Google
930
911
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
931
912
  # @raise [Google::Apis::AuthorizationError] Authorization is required
932
913
  def update_page(blog_id, page_id, page_object = nil, publish: nil, revert: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
933
- path = 'blogs/{blogId}/pages/{pageId}'
934
- command = make_simple_command(:put, path, options)
914
+ command = make_simple_command(:put, 'blogs/{blogId}/pages/{pageId}', options)
935
915
  command.request_representation = Google::Apis::BloggerV3::Page::Representation
936
916
  command.request_object = page_object
937
917
  command.response_representation = Google::Apis::BloggerV3::Page::Representation
@@ -980,8 +960,7 @@ module Google
980
960
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
981
961
  # @raise [Google::Apis::AuthorizationError] Authorization is required
982
962
  def get_post_user_info(user_id, blog_id, post_id, max_comments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
983
- path = 'users/{userId}/blogs/{blogId}/posts/{postId}'
984
- command = make_simple_command(:get, path, options)
963
+ command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}/posts/{postId}', options)
985
964
  command.response_representation = Google::Apis::BloggerV3::PostUserInfo::Representation
986
965
  command.response_class = Google::Apis::BloggerV3::PostUserInfo
987
966
  command.params['userId'] = user_id unless user_id.nil?
@@ -1042,8 +1021,7 @@ module Google
1042
1021
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1043
1022
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1044
1023
  def list_post_user_info(user_id, blog_id, end_date: nil, fetch_bodies: nil, labels: nil, max_results: nil, order_by: nil, page_token: nil, start_date: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1045
- path = 'users/{userId}/blogs/{blogId}/posts'
1046
- command = make_simple_command(:get, path, options)
1024
+ command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}/posts', options)
1047
1025
  command.response_representation = Google::Apis::BloggerV3::PostUserInfosList::Representation
1048
1026
  command.response_class = Google::Apis::BloggerV3::PostUserInfosList
1049
1027
  command.params['userId'] = user_id unless user_id.nil?
@@ -1090,8 +1068,7 @@ module Google
1090
1068
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1091
1069
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1092
1070
  def delete_post(blog_id, post_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1093
- path = 'blogs/{blogId}/posts/{postId}'
1094
- command = make_simple_command(:delete, path, options)
1071
+ command = make_simple_command(:delete, 'blogs/{blogId}/posts/{postId}', options)
1095
1072
  command.params['blogId'] = blog_id unless blog_id.nil?
1096
1073
  command.params['postId'] = post_id unless post_id.nil?
1097
1074
  command.query['fields'] = fields unless fields.nil?
@@ -1138,8 +1115,7 @@ module Google
1138
1115
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1139
1116
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1140
1117
  def get_post(blog_id, post_id, fetch_body: nil, fetch_images: nil, max_comments: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1141
- path = 'blogs/{blogId}/posts/{postId}'
1142
- command = make_simple_command(:get, path, options)
1118
+ command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}', options)
1143
1119
  command.response_representation = Google::Apis::BloggerV3::Post::Representation
1144
1120
  command.response_class = Google::Apis::BloggerV3::Post
1145
1121
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -1186,8 +1162,7 @@ module Google
1186
1162
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1187
1163
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1188
1164
  def get_post_by_path(blog_id, path, max_comments: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1189
- path = 'blogs/{blogId}/posts/bypath'
1190
- command = make_simple_command(:get, path, options)
1165
+ command = make_simple_command(:get, 'blogs/{blogId}/posts/bypath', options)
1191
1166
  command.response_representation = Google::Apis::BloggerV3::Post::Representation
1192
1167
  command.response_class = Google::Apis::BloggerV3::Post
1193
1168
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -1234,8 +1209,7 @@ module Google
1234
1209
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1235
1210
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1236
1211
  def insert_post(blog_id, post_object = nil, fetch_body: nil, fetch_images: nil, is_draft: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1237
- path = 'blogs/{blogId}/posts'
1238
- command = make_simple_command(:post, path, options)
1212
+ command = make_simple_command(:post, 'blogs/{blogId}/posts', options)
1239
1213
  command.request_representation = Google::Apis::BloggerV3::Post::Representation
1240
1214
  command.request_object = post_object
1241
1215
  command.response_representation = Google::Apis::BloggerV3::Post::Representation
@@ -1297,8 +1271,7 @@ module Google
1297
1271
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1298
1272
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1299
1273
  def list_posts(blog_id, end_date: nil, fetch_bodies: nil, fetch_images: nil, labels: nil, max_results: nil, order_by: nil, page_token: nil, start_date: nil, status: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1300
- path = 'blogs/{blogId}/posts'
1301
- command = make_simple_command(:get, path, options)
1274
+ command = make_simple_command(:get, 'blogs/{blogId}/posts', options)
1302
1275
  command.response_representation = Google::Apis::BloggerV3::PostList::Representation
1303
1276
  command.response_class = Google::Apis::BloggerV3::PostList
1304
1277
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -1360,8 +1333,7 @@ module Google
1360
1333
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1361
1334
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1362
1335
  def patch_post(blog_id, post_id, post_object = nil, fetch_body: nil, fetch_images: nil, max_comments: nil, publish: nil, revert: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1363
- path = 'blogs/{blogId}/posts/{postId}'
1364
- command = make_simple_command(:patch, path, options)
1336
+ command = make_simple_command(:patch, 'blogs/{blogId}/posts/{postId}', options)
1365
1337
  command.request_representation = Google::Apis::BloggerV3::Post::Representation
1366
1338
  command.request_object = post_object
1367
1339
  command.response_representation = Google::Apis::BloggerV3::Post::Representation
@@ -1412,8 +1384,7 @@ module Google
1412
1384
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1413
1385
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1414
1386
  def publish_post(blog_id, post_id, publish_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1415
- path = 'blogs/{blogId}/posts/{postId}/publish'
1416
- command = make_simple_command(:post, path, options)
1387
+ command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/publish', options)
1417
1388
  command.response_representation = Google::Apis::BloggerV3::Post::Representation
1418
1389
  command.response_class = Google::Apis::BloggerV3::Post
1419
1390
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -1452,8 +1423,7 @@ module Google
1452
1423
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1453
1424
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1454
1425
  def revert_post(blog_id, post_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1455
- path = 'blogs/{blogId}/posts/{postId}/revert'
1456
- command = make_simple_command(:post, path, options)
1426
+ command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/revert', options)
1457
1427
  command.response_representation = Google::Apis::BloggerV3::Post::Representation
1458
1428
  command.response_class = Google::Apis::BloggerV3::Post
1459
1429
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -1496,8 +1466,7 @@ module Google
1496
1466
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1497
1467
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1498
1468
  def search_posts(blog_id, q, fetch_bodies: nil, order_by: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1499
- path = 'blogs/{blogId}/posts/search'
1500
- command = make_simple_command(:get, path, options)
1469
+ command = make_simple_command(:get, 'blogs/{blogId}/posts/search', options)
1501
1470
  command.response_representation = Google::Apis::BloggerV3::PostList::Representation
1502
1471
  command.response_class = Google::Apis::BloggerV3::PostList
1503
1472
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -1552,8 +1521,7 @@ module Google
1552
1521
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1553
1522
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1554
1523
  def update_post(blog_id, post_id, post_object = nil, fetch_body: nil, fetch_images: nil, max_comments: nil, publish: nil, revert: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1555
- path = 'blogs/{blogId}/posts/{postId}'
1556
- command = make_simple_command(:put, path, options)
1524
+ command = make_simple_command(:put, 'blogs/{blogId}/posts/{postId}', options)
1557
1525
  command.request_representation = Google::Apis::BloggerV3::Post::Representation
1558
1526
  command.request_object = post_object
1559
1527
  command.response_representation = Google::Apis::BloggerV3::Post::Representation
@@ -1596,8 +1564,7 @@ module Google
1596
1564
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1597
1565
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1598
1566
  def get_user(user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1599
- path = 'users/{userId}'
1600
- command = make_simple_command(:get, path, options)
1567
+ command = make_simple_command(:get, 'users/{userId}', options)
1601
1568
  command.response_representation = Google::Apis::BloggerV3::User::Representation
1602
1569
  command.response_class = Google::Apis::BloggerV3::User
1603
1570
  command.params['userId'] = user_id unless user_id.nil?