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
@@ -81,8 +81,7 @@ module Google
81
81
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
82
82
  # @raise [Google::Apis::AuthorizationError] Authorization is required
83
83
  def get_taskqueue(project, taskqueue, get_stats: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
84
- path = '{project}/taskqueues/{taskqueue}'
85
- command = make_simple_command(:get, path, options)
84
+ command = make_simple_command(:get, '{project}/taskqueues/{taskqueue}', options)
86
85
  command.response_representation = Google::Apis::TaskqueueV1beta2::TaskQueue::Representation
87
86
  command.response_class = Google::Apis::TaskqueueV1beta2::TaskQueue
88
87
  command.params['project'] = project unless project.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 delete_task(project, taskqueue, task, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
126
- path = '{project}/taskqueues/{taskqueue}/tasks/{task}'
127
- command = make_simple_command(:delete, path, options)
125
+ command = make_simple_command(:delete, '{project}/taskqueues/{taskqueue}/tasks/{task}', options)
128
126
  command.params['project'] = project unless project.nil?
129
127
  command.params['taskqueue'] = taskqueue unless taskqueue.nil?
130
128
  command.params['task'] = task unless task.nil?
@@ -163,8 +161,7 @@ module Google
163
161
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
164
162
  # @raise [Google::Apis::AuthorizationError] Authorization is required
165
163
  def get_task(project, taskqueue, task, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
166
- path = '{project}/taskqueues/{taskqueue}/tasks/{task}'
167
- command = make_simple_command(:get, path, options)
164
+ command = make_simple_command(:get, '{project}/taskqueues/{taskqueue}/tasks/{task}', options)
168
165
  command.response_representation = Google::Apis::TaskqueueV1beta2::Task::Representation
169
166
  command.response_class = Google::Apis::TaskqueueV1beta2::Task
170
167
  command.params['project'] = project unless project.nil?
@@ -204,8 +201,7 @@ module Google
204
201
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
205
202
  # @raise [Google::Apis::AuthorizationError] Authorization is required
206
203
  def insert_task(project, taskqueue, task_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
207
- path = '{project}/taskqueues/{taskqueue}/tasks'
208
- command = make_simple_command(:post, path, options)
204
+ command = make_simple_command(:post, '{project}/taskqueues/{taskqueue}/tasks', options)
209
205
  command.request_representation = Google::Apis::TaskqueueV1beta2::Task::Representation
210
206
  command.request_object = task_object
211
207
  command.response_representation = Google::Apis::TaskqueueV1beta2::Task::Representation
@@ -255,8 +251,7 @@ module Google
255
251
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
256
252
  # @raise [Google::Apis::AuthorizationError] Authorization is required
257
253
  def lease_task(project, taskqueue, num_tasks, lease_secs, group_by_tag: nil, tag: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
258
- path = '{project}/taskqueues/{taskqueue}/tasks/lease'
259
- command = make_simple_command(:post, path, options)
254
+ command = make_simple_command(:post, '{project}/taskqueues/{taskqueue}/tasks/lease', options)
260
255
  command.response_representation = Google::Apis::TaskqueueV1beta2::Tasks::Representation
261
256
  command.response_class = Google::Apis::TaskqueueV1beta2::Tasks
262
257
  command.params['project'] = project unless project.nil?
@@ -298,8 +293,7 @@ module Google
298
293
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
299
294
  # @raise [Google::Apis::AuthorizationError] Authorization is required
300
295
  def list_tasks(project, taskqueue, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
301
- path = '{project}/taskqueues/{taskqueue}/tasks'
302
- command = make_simple_command(:get, path, options)
296
+ command = make_simple_command(:get, '{project}/taskqueues/{taskqueue}/tasks', options)
303
297
  command.response_representation = Google::Apis::TaskqueueV1beta2::Tasks2::Representation
304
298
  command.response_class = Google::Apis::TaskqueueV1beta2::Tasks2
305
299
  command.params['project'] = project unless project.nil?
@@ -341,8 +335,7 @@ module Google
341
335
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
342
336
  # @raise [Google::Apis::AuthorizationError] Authorization is required
343
337
  def patch_task(project, taskqueue, task, new_lease_seconds, task_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
344
- path = '{project}/taskqueues/{taskqueue}/tasks/{task}'
345
- command = make_simple_command(:patch, path, options)
338
+ command = make_simple_command(:patch, '{project}/taskqueues/{taskqueue}/tasks/{task}', options)
346
339
  command.request_representation = Google::Apis::TaskqueueV1beta2::Task::Representation
347
340
  command.request_object = task_object
348
341
  command.response_representation = Google::Apis::TaskqueueV1beta2::Task::Representation
@@ -387,8 +380,7 @@ module Google
387
380
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
388
381
  # @raise [Google::Apis::AuthorizationError] Authorization is required
389
382
  def update_task(project, taskqueue, task, new_lease_seconds, task_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
390
- path = '{project}/taskqueues/{taskqueue}/tasks/{task}'
391
- command = make_simple_command(:post, path, options)
383
+ command = make_simple_command(:post, '{project}/taskqueues/{taskqueue}/tasks/{task}', options)
392
384
  command.request_representation = Google::Apis::TaskqueueV1beta2::Task::Representation
393
385
  command.request_object = task_object
394
386
  command.response_representation = Google::Apis::TaskqueueV1beta2::Task::Representation
@@ -77,8 +77,7 @@ module Google
77
77
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
78
  # @raise [Google::Apis::AuthorizationError] Authorization is required
79
79
  def delete_tasklist(tasklist, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
80
- path = 'users/@me/lists/{tasklist}'
81
- command = make_simple_command(:delete, path, options)
80
+ command = make_simple_command(:delete, 'users/@me/lists/{tasklist}', options)
82
81
  command.params['tasklist'] = tasklist unless tasklist.nil?
83
82
  command.query['fields'] = fields unless fields.nil?
84
83
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -111,8 +110,7 @@ module Google
111
110
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
112
111
  # @raise [Google::Apis::AuthorizationError] Authorization is required
113
112
  def get_tasklist(tasklist, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
114
- path = 'users/@me/lists/{tasklist}'
115
- command = make_simple_command(:get, path, options)
113
+ command = make_simple_command(:get, 'users/@me/lists/{tasklist}', options)
116
114
  command.response_representation = Google::Apis::TasksV1::TaskList::Representation
117
115
  command.response_class = Google::Apis::TasksV1::TaskList
118
116
  command.params['tasklist'] = tasklist unless tasklist.nil?
@@ -146,8 +144,7 @@ module Google
146
144
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
147
145
  # @raise [Google::Apis::AuthorizationError] Authorization is required
148
146
  def insert_tasklist(task_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
149
- path = 'users/@me/lists'
150
- command = make_simple_command(:post, path, options)
147
+ command = make_simple_command(:post, 'users/@me/lists', options)
151
148
  command.request_representation = Google::Apis::TasksV1::TaskList::Representation
152
149
  command.request_object = task_list_object
153
150
  command.response_representation = Google::Apis::TasksV1::TaskList::Representation
@@ -186,8 +183,7 @@ module Google
186
183
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
187
184
  # @raise [Google::Apis::AuthorizationError] Authorization is required
188
185
  def list_tasklists(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
189
- path = 'users/@me/lists'
190
- command = make_simple_command(:get, path, options)
186
+ command = make_simple_command(:get, 'users/@me/lists', options)
191
187
  command.response_representation = Google::Apis::TasksV1::TaskLists::Representation
192
188
  command.response_class = Google::Apis::TasksV1::TaskLists
193
189
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -225,8 +221,7 @@ module Google
225
221
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
226
222
  # @raise [Google::Apis::AuthorizationError] Authorization is required
227
223
  def patch_tasklist(tasklist, task_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
228
- path = 'users/@me/lists/{tasklist}'
229
- command = make_simple_command(:patch, path, options)
224
+ command = make_simple_command(:patch, 'users/@me/lists/{tasklist}', options)
230
225
  command.request_representation = Google::Apis::TasksV1::TaskList::Representation
231
226
  command.request_object = task_list_object
232
227
  command.response_representation = Google::Apis::TasksV1::TaskList::Representation
@@ -264,8 +259,7 @@ module Google
264
259
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
265
260
  # @raise [Google::Apis::AuthorizationError] Authorization is required
266
261
  def update_tasklist(tasklist, task_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
267
- path = 'users/@me/lists/{tasklist}'
268
- command = make_simple_command(:put, path, options)
262
+ command = make_simple_command(:put, 'users/@me/lists/{tasklist}', options)
269
263
  command.request_representation = Google::Apis::TasksV1::TaskList::Representation
270
264
  command.request_object = task_list_object
271
265
  command.response_representation = Google::Apis::TasksV1::TaskList::Representation
@@ -304,8 +298,7 @@ module Google
304
298
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
305
299
  # @raise [Google::Apis::AuthorizationError] Authorization is required
306
300
  def clear_task(tasklist, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
307
- path = 'lists/{tasklist}/clear'
308
- command = make_simple_command(:post, path, options)
301
+ command = make_simple_command(:post, 'lists/{tasklist}/clear', options)
309
302
  command.params['tasklist'] = tasklist unless tasklist.nil?
310
303
  command.query['fields'] = fields unless fields.nil?
311
304
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -340,8 +333,7 @@ module Google
340
333
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
341
334
  # @raise [Google::Apis::AuthorizationError] Authorization is required
342
335
  def delete_task(tasklist, task, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
343
- path = 'lists/{tasklist}/tasks/{task}'
344
- command = make_simple_command(:delete, path, options)
336
+ command = make_simple_command(:delete, 'lists/{tasklist}/tasks/{task}', options)
345
337
  command.params['tasklist'] = tasklist unless tasklist.nil?
346
338
  command.params['task'] = task unless task.nil?
347
339
  command.query['fields'] = fields unless fields.nil?
@@ -377,8 +369,7 @@ module Google
377
369
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
378
370
  # @raise [Google::Apis::AuthorizationError] Authorization is required
379
371
  def get_task(tasklist, task, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
380
- path = 'lists/{tasklist}/tasks/{task}'
381
- command = make_simple_command(:get, path, options)
372
+ command = make_simple_command(:get, 'lists/{tasklist}/tasks/{task}', options)
382
373
  command.response_representation = Google::Apis::TasksV1::Task::Representation
383
374
  command.response_class = Google::Apis::TasksV1::Task
384
375
  command.params['tasklist'] = tasklist unless tasklist.nil?
@@ -421,8 +412,7 @@ module Google
421
412
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
422
413
  # @raise [Google::Apis::AuthorizationError] Authorization is required
423
414
  def insert_task(tasklist, task_object = nil, parent: nil, previous: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
424
- path = 'lists/{tasklist}/tasks'
425
- command = make_simple_command(:post, path, options)
415
+ command = make_simple_command(:post, 'lists/{tasklist}/tasks', options)
426
416
  command.request_representation = Google::Apis::TasksV1::Task::Representation
427
417
  command.request_object = task_object
428
418
  command.response_representation = Google::Apis::TasksV1::Task::Representation
@@ -490,8 +480,7 @@ module Google
490
480
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
491
481
  # @raise [Google::Apis::AuthorizationError] Authorization is required
492
482
  def list_tasks(tasklist, completed_max: nil, completed_min: nil, due_max: nil, due_min: nil, max_results: nil, page_token: nil, show_completed: nil, show_deleted: nil, show_hidden: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
493
- path = 'lists/{tasklist}/tasks'
494
- command = make_simple_command(:get, path, options)
483
+ command = make_simple_command(:get, 'lists/{tasklist}/tasks', options)
495
484
  command.response_representation = Google::Apis::TasksV1::Tasks::Representation
496
485
  command.response_class = Google::Apis::TasksV1::Tasks
497
486
  command.params['tasklist'] = tasklist unless tasklist.nil?
@@ -546,8 +535,7 @@ module Google
546
535
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
547
536
  # @raise [Google::Apis::AuthorizationError] Authorization is required
548
537
  def move_task(tasklist, task, parent: nil, previous: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
549
- path = 'lists/{tasklist}/tasks/{task}/move'
550
- command = make_simple_command(:post, path, options)
538
+ command = make_simple_command(:post, 'lists/{tasklist}/tasks/{task}/move', options)
551
539
  command.response_representation = Google::Apis::TasksV1::Task::Representation
552
540
  command.response_class = Google::Apis::TasksV1::Task
553
541
  command.params['tasklist'] = tasklist unless tasklist.nil?
@@ -588,8 +576,7 @@ module Google
588
576
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
589
577
  # @raise [Google::Apis::AuthorizationError] Authorization is required
590
578
  def patch_task(tasklist, task, task_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
591
- path = 'lists/{tasklist}/tasks/{task}'
592
- command = make_simple_command(:patch, path, options)
579
+ command = make_simple_command(:patch, 'lists/{tasklist}/tasks/{task}', options)
593
580
  command.request_representation = Google::Apis::TasksV1::Task::Representation
594
581
  command.request_object = task_object
595
582
  command.response_representation = Google::Apis::TasksV1::Task::Representation
@@ -630,8 +617,7 @@ module Google
630
617
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
631
618
  # @raise [Google::Apis::AuthorizationError] Authorization is required
632
619
  def update_task(tasklist, task, task_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
633
- path = 'lists/{tasklist}/tasks/{task}'
634
- command = make_simple_command(:put, path, options)
620
+ command = make_simple_command(:put, 'lists/{tasklist}/tasks/{task}', options)
635
621
  command.request_representation = Google::Apis::TasksV1::Task::Representation
636
622
  command.request_object = task_object
637
623
  command.response_representation = Google::Apis::TasksV1::Task::Representation
@@ -77,8 +77,7 @@ module Google
77
77
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
78
  # @raise [Google::Apis::AuthorizationError] Authorization is required
79
79
  def list_detections(q, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
80
- path = 'v2/detect'
81
- command = make_simple_command(:get, path, options)
80
+ command = make_simple_command(:get, 'v2/detect', options)
82
81
  command.response_representation = Google::Apis::TranslateV2::ListDetectionsResponse::Representation
83
82
  command.response_class = Google::Apis::TranslateV2::ListDetectionsResponse
84
83
  command.query['q'] = q unless q.nil?
@@ -113,8 +112,7 @@ module Google
113
112
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
114
113
  # @raise [Google::Apis::AuthorizationError] Authorization is required
115
114
  def list_languages(target: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
116
- path = 'v2/languages'
117
- command = make_simple_command(:get, path, options)
115
+ command = make_simple_command(:get, 'v2/languages', options)
118
116
  command.response_representation = Google::Apis::TranslateV2::ListLanguagesResponse::Representation
119
117
  command.response_class = Google::Apis::TranslateV2::ListLanguagesResponse
120
118
  command.query['target'] = target unless target.nil?
@@ -157,8 +155,7 @@ module Google
157
155
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
158
156
  # @raise [Google::Apis::AuthorizationError] Authorization is required
159
157
  def list_translations(q, target, cid: nil, format: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
160
- path = 'v2'
161
- command = make_simple_command(:get, path, options)
158
+ command = make_simple_command(:get, 'v2', options)
162
159
  command.response_representation = Google::Apis::TranslateV2::ListTranslationsResponse::Representation
163
160
  command.response_class = Google::Apis::TranslateV2::ListTranslationsResponse
164
161
  command.query['cid'] = cid unless cid.nil?
@@ -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 get_url(short_url, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
82
- path = 'url'
83
- command = make_simple_command(:get, path, options)
82
+ command = make_simple_command(:get, 'url', options)
84
83
  command.response_representation = Google::Apis::UrlshortenerV1::Url::Representation
85
84
  command.response_class = Google::Apis::UrlshortenerV1::Url
86
85
  command.query['projection'] = projection unless projection.nil?
@@ -115,8 +114,7 @@ module Google
115
114
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
116
115
  # @raise [Google::Apis::AuthorizationError] Authorization is required
117
116
  def insert_url(url_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
118
- path = 'url'
119
- command = make_simple_command(:post, path, options)
117
+ command = make_simple_command(:post, 'url', options)
120
118
  command.request_representation = Google::Apis::UrlshortenerV1::Url::Representation
121
119
  command.request_object = url_object
122
120
  command.response_representation = Google::Apis::UrlshortenerV1::Url::Representation
@@ -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 list_urls(projection: nil, start_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
157
- path = 'url/history'
158
- command = make_simple_command(:get, path, options)
155
+ command = make_simple_command(:get, 'url/history', options)
159
156
  command.response_representation = Google::Apis::UrlshortenerV1::UrlHistory::Representation
160
157
  command.response_class = Google::Apis::UrlshortenerV1::UrlHistory
161
158
  command.query['projection'] = projection unless projection.nil?
@@ -25,12 +25,12 @@ module Google
25
25
  # @see https://developers.google.com/webmaster-tools/
26
26
  module WebmastersV3
27
27
  VERSION = 'V3'
28
- REVISION = '20150715'
28
+ REVISION = '20151102'
29
29
 
30
- # View and modify Webmaster Tools data for your verified sites
30
+ # View and manage Search Console data for your verified sites
31
31
  AUTH_WEBMASTERS = 'https://www.googleapis.com/auth/webmasters'
32
32
 
33
- # View Webmaster Tools data for your verified sites
33
+ # View Search Console data for your verified sites
34
34
  AUTH_WEBMASTERS_READONLY = 'https://www.googleapis.com/auth/webmasters.readonly'
35
35
  end
36
36
  end
@@ -247,8 +247,8 @@ module Google
247
247
  class ListSitesResponse
248
248
  include Google::Apis::Core::Hashable
249
249
 
250
- # Contains permission level information about a Webmaster Tools site. For more
251
- # information, see Permissions in Webmaster Tools.
250
+ # Contains permission level information about a Search Console site. For more
251
+ # information, see Permissions in Search Console.
252
252
  # Corresponds to the JSON property `siteEntry`
253
253
  # @return [Array<Google::Apis::WebmastersV3::WmxSite>]
254
254
  attr_accessor :site_entry
@@ -429,8 +429,8 @@ module Google
429
429
  end
430
430
  end
431
431
 
432
- # Contains permission level information about a Webmaster Tools site. For more
433
- # information, see Permissions in Webmaster Tools.
432
+ # Contains permission level information about a Search Console site. For more
433
+ # information, see Permissions in Search Console.
434
434
  class WmxSite
435
435
  include Google::Apis::Core::Hashable
436
436
 
@@ -52,7 +52,6 @@ module Google
52
52
  super('https://www.googleapis.com/', 'webmasters/v3/')
53
53
  end
54
54
 
55
- # [LIMITED ACCESS]
56
55
  # Query your data with filters and parameters that you define. Returns zero or
57
56
  # more rows grouped by the row keys that you define. You must define a date
58
57
  # range of one or more days.
@@ -85,8 +84,7 @@ module Google
85
84
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
86
85
  # @raise [Google::Apis::AuthorizationError] Authorization is required
87
86
  def query_search_analytics(site_url, search_analytics_query_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
88
- path = 'sites/{siteUrl}/searchAnalytics/query'
89
- command = make_simple_command(:post, path, options)
87
+ command = make_simple_command(:post, 'sites/{siteUrl}/searchAnalytics/query', options)
90
88
  command.request_representation = Google::Apis::WebmastersV3::SearchAnalyticsQueryRequest::Representation
91
89
  command.request_object = search_analytics_query_request_object
92
90
  command.response_representation = Google::Apis::WebmastersV3::SearchAnalyticsQueryResponse::Representation
@@ -125,8 +123,7 @@ module Google
125
123
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
126
124
  # @raise [Google::Apis::AuthorizationError] Authorization is required
127
125
  def delete_sitemap(site_url, feedpath, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
128
- path = 'sites/{siteUrl}/sitemaps/{feedpath}'
129
- command = make_simple_command(:delete, path, options)
126
+ command = make_simple_command(:delete, 'sites/{siteUrl}/sitemaps/{feedpath}', options)
130
127
  command.params['siteUrl'] = site_url unless site_url.nil?
131
128
  command.params['feedpath'] = feedpath unless feedpath.nil?
132
129
  command.query['fields'] = fields unless fields.nil?
@@ -162,8 +159,7 @@ module Google
162
159
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
163
160
  # @raise [Google::Apis::AuthorizationError] Authorization is required
164
161
  def get_sitemap(site_url, feedpath, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
165
- path = 'sites/{siteUrl}/sitemaps/{feedpath}'
166
- command = make_simple_command(:get, path, options)
162
+ command = make_simple_command(:get, 'sites/{siteUrl}/sitemaps/{feedpath}', options)
167
163
  command.response_representation = Google::Apis::WebmastersV3::WmxSitemap::Representation
168
164
  command.response_class = Google::Apis::WebmastersV3::WmxSitemap
169
165
  command.params['siteUrl'] = site_url unless site_url.nil?
@@ -203,8 +199,7 @@ module Google
203
199
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
204
200
  # @raise [Google::Apis::AuthorizationError] Authorization is required
205
201
  def list_sitemaps(site_url, sitemap_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
206
- path = 'sites/{siteUrl}/sitemaps'
207
- command = make_simple_command(:get, path, options)
202
+ command = make_simple_command(:get, 'sites/{siteUrl}/sitemaps', options)
208
203
  command.response_representation = Google::Apis::WebmastersV3::ListSitemapsResponse::Representation
209
204
  command.response_class = Google::Apis::WebmastersV3::ListSitemapsResponse
210
205
  command.params['siteUrl'] = site_url unless site_url.nil?
@@ -242,8 +237,7 @@ module Google
242
237
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
243
238
  # @raise [Google::Apis::AuthorizationError] Authorization is required
244
239
  def submit_sitemap(site_url, feedpath, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
245
- path = 'sites/{siteUrl}/sitemaps/{feedpath}'
246
- command = make_simple_command(:put, path, options)
240
+ command = make_simple_command(:put, 'sites/{siteUrl}/sitemaps/{feedpath}', options)
247
241
  command.params['siteUrl'] = site_url unless site_url.nil?
248
242
  command.params['feedpath'] = feedpath unless feedpath.nil?
249
243
  command.query['fields'] = fields unless fields.nil?
@@ -252,7 +246,7 @@ module Google
252
246
  execute_or_queue_command(command, &block)
253
247
  end
254
248
 
255
- # Adds a site to the set of the user's sites in Webmaster Tools.
249
+ # Adds a site to the set of the user's sites in Search Console.
256
250
  # @param [String] site_url
257
251
  # The URL of the site to add.
258
252
  # @param [String] fields
@@ -277,8 +271,7 @@ module Google
277
271
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
278
272
  # @raise [Google::Apis::AuthorizationError] Authorization is required
279
273
  def add_site(site_url, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
280
- path = 'sites/{siteUrl}'
281
- command = make_simple_command(:put, path, options)
274
+ command = make_simple_command(:put, 'sites/{siteUrl}', options)
282
275
  command.params['siteUrl'] = site_url unless site_url.nil?
283
276
  command.query['fields'] = fields unless fields.nil?
284
277
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -286,7 +279,7 @@ module Google
286
279
  execute_or_queue_command(command, &block)
287
280
  end
288
281
 
289
- # Removes a site from the set of the user's Webmaster Tools sites.
282
+ # Removes a site from the set of the user's Search Console sites.
290
283
  # @param [String] site_url
291
284
  # The URI of the property as defined in Search Console. Examples: http://www.
292
285
  # example.com/ or android-app://com.example/
@@ -312,8 +305,7 @@ module Google
312
305
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
313
306
  # @raise [Google::Apis::AuthorizationError] Authorization is required
314
307
  def delete_site(site_url, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
315
- path = 'sites/{siteUrl}'
316
- command = make_simple_command(:delete, path, options)
308
+ command = make_simple_command(:delete, 'sites/{siteUrl}', options)
317
309
  command.params['siteUrl'] = site_url unless site_url.nil?
318
310
  command.query['fields'] = fields unless fields.nil?
319
311
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -347,8 +339,7 @@ module Google
347
339
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
348
340
  # @raise [Google::Apis::AuthorizationError] Authorization is required
349
341
  def get_site(site_url, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
350
- path = 'sites/{siteUrl}'
351
- command = make_simple_command(:get, path, options)
342
+ command = make_simple_command(:get, 'sites/{siteUrl}', options)
352
343
  command.response_representation = Google::Apis::WebmastersV3::WmxSite::Representation
353
344
  command.response_class = Google::Apis::WebmastersV3::WmxSite
354
345
  command.params['siteUrl'] = site_url unless site_url.nil?
@@ -358,7 +349,7 @@ module Google
358
349
  execute_or_queue_command(command, &block)
359
350
  end
360
351
 
361
- # Lists the user's Webmaster Tools sites.
352
+ # Lists the user's Search Console sites.
362
353
  # @param [String] fields
363
354
  # Selector specifying which fields to include in a partial response.
364
355
  # @param [String] quota_user
@@ -381,8 +372,7 @@ module Google
381
372
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
382
373
  # @raise [Google::Apis::AuthorizationError] Authorization is required
383
374
  def list_sites(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
384
- path = 'sites'
385
- command = make_simple_command(:get, path, options)
375
+ command = make_simple_command(:get, 'sites', options)
386
376
  command.response_representation = Google::Apis::WebmastersV3::ListSitesResponse::Representation
387
377
  command.response_class = Google::Apis::WebmastersV3::ListSitesResponse
388
378
  command.query['fields'] = fields unless fields.nil?
@@ -425,8 +415,7 @@ module Google
425
415
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
426
416
  # @raise [Google::Apis::AuthorizationError] Authorization is required
427
417
  def query_errors_count(site_url, category: nil, latest_counts_only: nil, platform: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
428
- path = 'sites/{siteUrl}/urlCrawlErrorsCounts/query'
429
- command = make_simple_command(:get, path, options)
418
+ command = make_simple_command(:get, 'sites/{siteUrl}/urlCrawlErrorsCounts/query', options)
430
419
  command.response_representation = Google::Apis::WebmastersV3::QueryUrlCrawlErrorsCountsResponse::Representation
431
420
  command.response_class = Google::Apis::WebmastersV3::QueryUrlCrawlErrorsCountsResponse
432
421
  command.params['siteUrl'] = site_url unless site_url.nil?
@@ -472,8 +461,7 @@ module Google
472
461
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
473
462
  # @raise [Google::Apis::AuthorizationError] Authorization is required
474
463
  def get_errors_sample(site_url, url, category, platform, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
475
- path = 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}'
476
- command = make_simple_command(:get, path, options)
464
+ command = make_simple_command(:get, 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}', options)
477
465
  command.response_representation = Google::Apis::WebmastersV3::UrlCrawlErrorsSample::Representation
478
466
  command.response_class = Google::Apis::WebmastersV3::UrlCrawlErrorsSample
479
467
  command.params['siteUrl'] = site_url unless site_url.nil?
@@ -515,8 +503,7 @@ module Google
515
503
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
516
504
  # @raise [Google::Apis::AuthorizationError] Authorization is required
517
505
  def list_errors_samples(site_url, category, platform, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
518
- path = 'sites/{siteUrl}/urlCrawlErrorsSamples'
519
- command = make_simple_command(:get, path, options)
506
+ command = make_simple_command(:get, 'sites/{siteUrl}/urlCrawlErrorsSamples', options)
520
507
  command.response_representation = Google::Apis::WebmastersV3::ListUrlCrawlErrorsSamplesResponse::Representation
521
508
  command.response_class = Google::Apis::WebmastersV3::ListUrlCrawlErrorsSamplesResponse
522
509
  command.params['siteUrl'] = site_url unless site_url.nil?
@@ -562,8 +549,7 @@ module Google
562
549
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
563
550
  # @raise [Google::Apis::AuthorizationError] Authorization is required
564
551
  def mark_as_fixed(site_url, url, category, platform, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
565
- path = 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}'
566
- command = make_simple_command(:delete, path, options)
552
+ command = make_simple_command(:delete, 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}', options)
567
553
  command.params['siteUrl'] = site_url unless site_url.nil?
568
554
  command.params['url'] = url unless url.nil?
569
555
  command.query['category'] = category unless category.nil?