google-api-client 0.37.3 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (440) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +146 -0
  3. data/api_list_config.yaml +2 -0
  4. data/api_names.yaml +2 -0
  5. data/bin/generate-api +9 -1
  6. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  7. data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
  8. data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
  9. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
  17. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  18. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  19. data/generated/google/apis/adsense_v1_4.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
  28. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  29. data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  32. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta.rb +1 -1
  37. data/generated/google/apis/bigquery_v2.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +224 -5
  39. data/generated/google/apis/bigquery_v2/representations.rb +65 -0
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
  43. data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
  44. data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
  47. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
  48. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
  49. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  50. data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
  51. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
  53. data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
  54. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  55. data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
  56. data/generated/google/apis/blogger_v2.rb +5 -4
  57. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  58. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  59. data/generated/google/apis/blogger_v2/service.rb +79 -134
  60. data/generated/google/apis/blogger_v3.rb +4 -3
  61. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  62. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  63. data/generated/google/apis/blogger_v3/service.rb +183 -463
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +1 -14
  66. data/generated/google/apis/chat_v1.rb +1 -1
  67. data/generated/google/apis/chat_v1/classes.rb +1 -1
  68. data/generated/google/apis/cloudasset_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
  70. data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
  71. data/generated/google/apis/cloudasset_v1/service.rb +2 -2
  72. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  73. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
  74. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
  75. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
  76. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  77. data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
  78. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  79. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
  81. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  87. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  88. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
  89. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
  90. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  91. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
  92. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
  93. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
  94. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
  98. data/generated/google/apis/cloudshell_v1.rb +1 -1
  99. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  102. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  103. data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
  104. data/generated/google/apis/cloudtrace_v2.rb +3 -3
  105. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  106. data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
  107. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
  108. data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
  109. data/generated/google/apis/composer_v1.rb +1 -1
  110. data/generated/google/apis/composer_v1/classes.rb +178 -0
  111. data/generated/google/apis/composer_v1/representations.rb +54 -0
  112. data/generated/google/apis/composer_v1beta1.rb +1 -1
  113. data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
  114. data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
  115. data/generated/google/apis/compute_alpha.rb +1 -1
  116. data/generated/google/apis/compute_alpha/classes.rb +1320 -307
  117. data/generated/google/apis/compute_alpha/representations.rb +284 -18
  118. data/generated/google/apis/compute_alpha/service.rb +4914 -3211
  119. data/generated/google/apis/compute_beta.rb +1 -1
  120. data/generated/google/apis/compute_beta/classes.rb +819 -236
  121. data/generated/google/apis/compute_beta/representations.rb +245 -16
  122. data/generated/google/apis/compute_beta/service.rb +3369 -2227
  123. data/generated/google/apis/compute_v1.rb +1 -1
  124. data/generated/google/apis/compute_v1/classes.rb +837 -133
  125. data/generated/google/apis/compute_v1/representations.rb +307 -0
  126. data/generated/google/apis/compute_v1/service.rb +3155 -2026
  127. data/generated/google/apis/container_v1.rb +1 -1
  128. data/generated/google/apis/container_v1/classes.rb +42 -22
  129. data/generated/google/apis/container_v1/service.rb +2 -2
  130. data/generated/google/apis/container_v1beta1.rb +1 -1
  131. data/generated/google/apis/container_v1beta1/classes.rb +116 -136
  132. data/generated/google/apis/container_v1beta1/representations.rb +23 -51
  133. data/generated/google/apis/container_v1beta1/service.rb +2 -2
  134. data/generated/google/apis/content_v2.rb +1 -1
  135. data/generated/google/apis/content_v2/classes.rb +1030 -113
  136. data/generated/google/apis/content_v2_1.rb +1 -1
  137. data/generated/google/apis/content_v2_1/classes.rb +987 -138
  138. data/generated/google/apis/content_v2_1/representations.rb +87 -0
  139. data/generated/google/apis/content_v2_1/service.rb +73 -0
  140. data/generated/google/apis/customsearch_v1.rb +3 -3
  141. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  142. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  143. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  144. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  145. data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
  146. data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
  147. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  148. data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
  149. data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
  150. data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
  151. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  152. data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
  153. data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
  154. data/generated/google/apis/dataproc_v1.rb +1 -1
  155. data/generated/google/apis/dataproc_v1/classes.rb +76 -7
  156. data/generated/google/apis/dataproc_v1/representations.rb +21 -0
  157. data/generated/google/apis/dataproc_v1/service.rb +72 -15
  158. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  159. data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
  160. data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
  161. data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
  167. data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
  168. data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
  169. data/generated/google/apis/dialogflow_v2.rb +1 -1
  170. data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
  171. data/generated/google/apis/dialogflow_v2/service.rb +49 -49
  172. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  173. data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
  175. data/generated/google/apis/dlp_v2.rb +1 -1
  176. data/generated/google/apis/dlp_v2/classes.rb +80 -14
  177. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  178. data/generated/google/apis/dlp_v2/service.rb +3 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  180. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
  181. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  182. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  183. data/generated/google/apis/drive_v2.rb +1 -1
  184. data/generated/google/apis/drive_v2/classes.rb +54 -2
  185. data/generated/google/apis/drive_v2/representations.rb +18 -0
  186. data/generated/google/apis/drive_v2/service.rb +81 -9
  187. data/generated/google/apis/drive_v3.rb +1 -1
  188. data/generated/google/apis/drive_v3/classes.rb +54 -2
  189. data/generated/google/apis/drive_v3/representations.rb +18 -0
  190. data/generated/google/apis/drive_v3/service.rb +37 -4
  191. data/generated/google/apis/file_v1.rb +1 -1
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +2 -2
  194. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  195. data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
  196. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  197. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
  198. data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
  199. data/generated/google/apis/firestore_v1.rb +1 -1
  200. data/generated/google/apis/firestore_v1/classes.rb +11 -2
  201. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  202. data/generated/google/apis/firestore_v1/service.rb +2 -2
  203. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  204. data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
  205. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  206. data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
  207. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  208. data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
  209. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  210. data/generated/google/apis/games_management_v1management.rb +1 -1
  211. data/generated/google/apis/games_management_v1management/classes.rb +7 -0
  212. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  213. data/generated/google/apis/games_v1.rb +1 -1
  214. data/generated/google/apis/games_v1/classes.rb +13 -0
  215. data/generated/google/apis/games_v1/representations.rb +2 -0
  216. data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
  217. data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
  218. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  219. data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
  220. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  221. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  222. data/generated/google/apis/gmail_v1.rb +3 -2
  223. data/generated/google/apis/gmail_v1/classes.rb +258 -199
  224. data/generated/google/apis/gmail_v1/service.rb +552 -744
  225. data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
  226. data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
  227. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  228. data/generated/google/apis/healthcare_v1/service.rb +3470 -0
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
  231. data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
  232. data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
  233. data/generated/google/apis/homegraph_v1.rb +1 -1
  234. data/generated/google/apis/homegraph_v1/classes.rb +67 -63
  235. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  236. data/generated/google/apis/iap_v1.rb +1 -1
  237. data/generated/google/apis/iap_v1/classes.rb +190 -0
  238. data/generated/google/apis/iap_v1/representations.rb +66 -0
  239. data/generated/google/apis/jobs_v2.rb +1 -1
  240. data/generated/google/apis/language_v1.rb +1 -1
  241. data/generated/google/apis/language_v1/classes.rb +6 -6
  242. data/generated/google/apis/language_v1beta1.rb +1 -1
  243. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  244. data/generated/google/apis/language_v1beta2.rb +1 -1
  245. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  246. data/generated/google/apis/logging_v2.rb +3 -3
  247. data/generated/google/apis/logging_v2/classes.rb +3 -4
  248. data/generated/google/apis/logging_v2/service.rb +2 -2
  249. data/generated/google/apis/managedidentities_v1.rb +1 -1
  250. data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
  251. data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
  252. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  253. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
  254. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
  255. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  256. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
  257. data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
  258. data/generated/google/apis/manufacturers_v1.rb +1 -1
  259. data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
  260. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  261. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  262. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
  263. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  264. data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
  265. data/generated/google/apis/ml_v1.rb +1 -1
  266. data/generated/google/apis/ml_v1/classes.rb +47 -7
  267. data/generated/google/apis/ml_v1/representations.rb +4 -0
  268. data/generated/google/apis/monitoring_v1.rb +7 -8
  269. data/generated/google/apis/monitoring_v1/classes.rb +54 -15
  270. data/generated/google/apis/monitoring_v1/representations.rb +3 -0
  271. data/generated/google/apis/monitoring_v1/service.rb +7 -8
  272. data/generated/google/apis/monitoring_v3.rb +7 -8
  273. data/generated/google/apis/monitoring_v3/classes.rb +300 -27
  274. data/generated/google/apis/monitoring_v3/representations.rb +128 -0
  275. data/generated/google/apis/monitoring_v3/service.rb +52 -17
  276. data/generated/google/apis/oauth2_v2.rb +4 -4
  277. data/generated/google/apis/oauth2_v2/classes.rb +1 -13
  278. data/generated/google/apis/oauth2_v2/representations.rb +2 -4
  279. data/generated/google/apis/oauth2_v2/service.rb +10 -12
  280. data/generated/google/apis/osconfig_v1.rb +35 -0
  281. data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
  282. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  283. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  284. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  285. data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
  286. data/generated/google/apis/people_v1.rb +1 -1
  287. data/generated/google/apis/people_v1/classes.rb +30 -12
  288. data/generated/google/apis/people_v1/representations.rb +1 -0
  289. data/generated/google/apis/people_v1/service.rb +12 -24
  290. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  291. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
  292. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
  293. data/generated/google/apis/pubsub_v1.rb +1 -1
  294. data/generated/google/apis/pubsub_v1/classes.rb +9 -5
  295. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  296. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  297. data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
  298. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  299. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
  300. data/generated/google/apis/redis_v1.rb +1 -1
  301. data/generated/google/apis/redis_v1/classes.rb +30 -7
  302. data/generated/google/apis/redis_v1/representations.rb +13 -0
  303. data/generated/google/apis/redis_v1/service.rb +36 -0
  304. data/generated/google/apis/redis_v1beta1.rb +1 -1
  305. data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
  306. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  307. data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
  308. data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
  309. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  310. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
  311. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
  312. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  313. data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
  314. data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
  315. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  316. data/generated/google/apis/run_v1.rb +1 -1
  317. data/generated/google/apis/run_v1/classes.rb +6 -13
  318. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  319. data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
  320. data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
  321. data/generated/google/apis/secretmanager_v1.rb +2 -2
  322. data/generated/google/apis/secretmanager_v1/service.rb +4 -1
  323. data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
  324. data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
  325. data/generated/google/apis/securitycenter_v1.rb +4 -4
  326. data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
  327. data/generated/google/apis/securitycenter_v1/service.rb +11 -3
  328. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  329. data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
  330. data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
  331. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  332. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
  333. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  334. data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
  335. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
  336. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
  337. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  338. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
  339. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  340. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
  341. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
  342. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
  343. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  344. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  345. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
  346. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
  347. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
  348. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
  349. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  350. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  351. data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
  352. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  353. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  354. data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
  355. data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
  356. data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
  357. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
  359. data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
  360. data/generated/google/apis/serviceusage_v1.rb +1 -1
  361. data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
  362. data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
  363. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  364. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  365. data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
  366. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
  367. data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
  368. data/generated/google/apis/sheets_v4.rb +1 -1
  369. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  370. data/generated/google/apis/spanner_v1.rb +1 -1
  371. data/generated/google/apis/spanner_v1/classes.rb +463 -1
  372. data/generated/google/apis/spanner_v1/representations.rb +178 -0
  373. data/generated/google/apis/spanner_v1/service.rb +498 -10
  374. data/generated/google/apis/speech_v1.rb +1 -1
  375. data/generated/google/apis/speech_v1/classes.rb +7 -3
  376. data/generated/google/apis/speech_v1/representations.rb +1 -0
  377. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  378. data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
  379. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  380. data/generated/google/apis/speech_v2beta1.rb +1 -1
  381. data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
  382. data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
  383. data/generated/google/apis/sql_v1beta4.rb +1 -1
  384. data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
  385. data/generated/google/apis/sql_v1beta4/service.rb +54 -384
  386. data/generated/google/apis/storage_v1.rb +1 -1
  387. data/generated/google/apis/storage_v1/classes.rb +18 -0
  388. data/generated/google/apis/storage_v1/representations.rb +2 -0
  389. data/generated/google/apis/storage_v1/service.rb +28 -3
  390. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  391. data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
  392. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  393. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  394. data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
  395. data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
  396. data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
  397. data/generated/google/apis/vault_v1.rb +1 -1
  398. data/generated/google/apis/videointelligence_v1.rb +1 -1
  399. data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
  400. data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
  401. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  402. data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
  403. data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
  404. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
  406. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
  407. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
  409. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
  410. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
  412. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
  413. data/generated/google/apis/vision_v1.rb +1 -1
  414. data/generated/google/apis/vision_v1/classes.rb +1 -1
  415. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  416. data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
  417. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  418. data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
  419. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  420. data/generated/google/apis/youtube_v3.rb +4 -1
  421. data/generated/google/apis/youtube_v3/classes.rb +7 -0
  422. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  423. data/lib/google/apis/generator/annotator.rb +1 -1
  424. data/lib/google/apis/version.rb +1 -1
  425. metadata +32 -23
  426. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  427. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
  428. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  429. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
  430. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  431. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  432. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  433. data/generated/google/apis/mirror_v1/service.rb +0 -928
  434. data/generated/google/apis/oauth2_v1.rb +0 -40
  435. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  436. data/generated/google/apis/oauth2_v1/representations.rb +0 -73
  437. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  438. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  439. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  440. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -20,9 +20,10 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module BloggerV3
23
- # Blogger API
23
+ # Blogger API v3
24
24
  #
25
- # API for access to the data within Blogger.
25
+ # The Blogger API provides access to posts, comments and pages of a
26
+ # Blogger blog.
26
27
  #
27
28
  # @example
28
29
  # require 'google/apis/blogger_v3'
@@ -38,34 +39,24 @@ module Google
38
39
  attr_accessor :key
39
40
 
40
41
  # @return [String]
41
- # An opaque string that represents a user for quota purposes. Must not exceed 40
42
- # characters.
42
+ # Available to use for quota purposes for server-side applications. Can be any
43
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
43
44
  attr_accessor :quota_user
44
45
 
45
- # @return [String]
46
- # Deprecated. Please use quotaUser instead.
47
- attr_accessor :user_ip
48
-
49
46
  def initialize
50
- super('https://www.googleapis.com/', 'blogger/v3/')
51
- @batch_path = 'batch/blogger/v3'
47
+ super('https://blogger.googleapis.com/', '')
48
+ @batch_path = 'batch'
52
49
  end
53
50
 
54
- # Gets one blog and user info pair by blogId and userId.
51
+ # Gets one blog and user info pair by blog id and user id.
55
52
  # @param [String] user_id
56
- # ID of the user whose blogs are to be fetched. Either the word 'self' or the
57
- # user's profile identifier.
58
53
  # @param [String] blog_id
59
- # The ID of the blog to get.
60
54
  # @param [Fixnum] max_posts
61
- # Maximum number of posts to pull back with the blog.
62
55
  # @param [String] fields
63
56
  # Selector specifying which fields to include in a partial response.
64
57
  # @param [String] quota_user
65
- # An opaque string that represents a user for quota purposes. Must not exceed 40
66
- # characters.
67
- # @param [String] user_ip
68
- # Deprecated. Please use quotaUser instead.
58
+ # Available to use for quota purposes for server-side applications. Can be any
59
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
69
60
  # @param [Google::Apis::RequestOptions] options
70
61
  # Request-specific options
71
62
  #
@@ -78,8 +69,8 @@ module Google
78
69
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
79
70
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
71
  # @raise [Google::Apis::AuthorizationError] Authorization is required
81
- def get_blog_user_info(user_id, blog_id, max_posts: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
82
- command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}', options)
72
+ def get_blog_user_info(user_id, blog_id, max_posts: nil, fields: nil, quota_user: nil, options: nil, &block)
73
+ command = make_simple_command(:get, 'v3/users/{userId}/blogs/{blogId}', options)
83
74
  command.response_representation = Google::Apis::BloggerV3::BlogUserInfo::Representation
84
75
  command.response_class = Google::Apis::BloggerV3::BlogUserInfo
85
76
  command.params['userId'] = user_id unless user_id.nil?
@@ -87,25 +78,18 @@ module Google
87
78
  command.query['maxPosts'] = max_posts unless max_posts.nil?
88
79
  command.query['fields'] = fields unless fields.nil?
89
80
  command.query['quotaUser'] = quota_user unless quota_user.nil?
90
- command.query['userIp'] = user_ip unless user_ip.nil?
91
81
  execute_or_queue_command(command, &block)
92
82
  end
93
83
 
94
- # Gets one blog by ID.
84
+ # Gets a blog by id.
95
85
  # @param [String] blog_id
96
- # The ID of the blog to get.
97
86
  # @param [Fixnum] max_posts
98
- # Maximum number of posts to pull back with the blog.
99
87
  # @param [String] view
100
- # Access level with which to view the blog. Note that some fields require
101
- # elevated access.
102
88
  # @param [String] fields
103
89
  # Selector specifying which fields to include in a partial response.
104
90
  # @param [String] quota_user
105
- # An opaque string that represents a user for quota purposes. Must not exceed 40
106
- # characters.
107
- # @param [String] user_ip
108
- # Deprecated. Please use quotaUser instead.
91
+ # Available to use for quota purposes for server-side applications. Can be any
92
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
109
93
  # @param [Google::Apis::RequestOptions] options
110
94
  # Request-specific options
111
95
  #
@@ -118,8 +102,8 @@ module Google
118
102
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
119
103
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
120
104
  # @raise [Google::Apis::AuthorizationError] Authorization is required
121
- def get_blog(blog_id, max_posts: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
122
- command = make_simple_command(:get, 'blogs/{blogId}', options)
105
+ def get_blog(blog_id, max_posts: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
106
+ command = make_simple_command(:get, 'v3/blogs/{blogId}', options)
123
107
  command.response_representation = Google::Apis::BloggerV3::Blog::Representation
124
108
  command.response_class = Google::Apis::BloggerV3::Blog
125
109
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -127,23 +111,17 @@ module Google
127
111
  command.query['view'] = view unless view.nil?
128
112
  command.query['fields'] = fields unless fields.nil?
129
113
  command.query['quotaUser'] = quota_user unless quota_user.nil?
130
- command.query['userIp'] = user_ip unless user_ip.nil?
131
114
  execute_or_queue_command(command, &block)
132
115
  end
133
116
 
134
- # Retrieve a Blog by URL.
117
+ # Gets a blog by url.
135
118
  # @param [String] url
136
- # The URL of the blog to retrieve.
137
119
  # @param [String] view
138
- # Access level with which to view the blog. Note that some fields require
139
- # elevated access.
140
120
  # @param [String] fields
141
121
  # Selector specifying which fields to include in a partial response.
142
122
  # @param [String] quota_user
143
- # An opaque string that represents a user for quota purposes. Must not exceed 40
144
- # characters.
145
- # @param [String] user_ip
146
- # Deprecated. Please use quotaUser instead.
123
+ # Available to use for quota purposes for server-side applications. Can be any
124
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
147
125
  # @param [Google::Apis::RequestOptions] options
148
126
  # Request-specific options
149
127
  #
@@ -156,42 +134,29 @@ module Google
156
134
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
157
135
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
158
136
  # @raise [Google::Apis::AuthorizationError] Authorization is required
159
- def get_blog_by_url(url, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
160
- command = make_simple_command(:get, 'blogs/byurl', options)
137
+ def get_blog_by_url(url, view: nil, fields: nil, quota_user: nil, options: nil, &block)
138
+ command = make_simple_command(:get, 'v3/blogs/byurl', options)
161
139
  command.response_representation = Google::Apis::BloggerV3::Blog::Representation
162
140
  command.response_class = Google::Apis::BloggerV3::Blog
163
141
  command.query['url'] = url unless url.nil?
164
142
  command.query['view'] = view unless view.nil?
165
143
  command.query['fields'] = fields unless fields.nil?
166
144
  command.query['quotaUser'] = quota_user unless quota_user.nil?
167
- command.query['userIp'] = user_ip unless user_ip.nil?
168
145
  execute_or_queue_command(command, &block)
169
146
  end
170
147
 
171
- # Retrieves a list of blogs, possibly filtered.
148
+ # Lists blogs by user.
172
149
  # @param [String] user_id
173
- # ID of the user whose blogs are to be fetched. Either the word 'self' or the
174
- # user's profile identifier.
175
150
  # @param [Boolean] fetch_user_info
176
- # Whether the response is a list of blogs with per-user information instead of
177
- # just blogs.
178
151
  # @param [Array<String>, String] role
179
- # User access types for blogs to include in the results, e.g. AUTHOR will return
180
- # blogs where the user has author level access. If no roles are specified,
181
- # defaults to ADMIN and AUTHOR roles.
182
152
  # @param [Array<String>, String] status
183
- # Blog statuses to include in the result (default: Live blogs only). Note that
184
- # ADMIN access is required to view deleted blogs.
153
+ # Default value of status is LIVE.
185
154
  # @param [String] view
186
- # Access level with which to view the blogs. Note that some fields require
187
- # elevated access.
188
155
  # @param [String] fields
189
156
  # Selector specifying which fields to include in a partial response.
190
157
  # @param [String] quota_user
191
- # An opaque string that represents a user for quota purposes. Must not exceed 40
192
- # characters.
193
- # @param [String] user_ip
194
- # Deprecated. Please use quotaUser instead.
158
+ # Available to use for quota purposes for server-side applications. Can be any
159
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
195
160
  # @param [Google::Apis::RequestOptions] options
196
161
  # Request-specific options
197
162
  #
@@ -204,8 +169,8 @@ module Google
204
169
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
205
170
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
206
171
  # @raise [Google::Apis::AuthorizationError] Authorization is required
207
- 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)
208
- command = make_simple_command(:get, 'users/{userId}/blogs', options)
172
+ def list_blogs_by_user(user_id, fetch_user_info: nil, role: nil, status: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
173
+ command = make_simple_command(:get, 'v3/users/{userId}/blogs', options)
209
174
  command.response_representation = Google::Apis::BloggerV3::BlogList::Representation
210
175
  command.response_class = Google::Apis::BloggerV3::BlogList
211
176
  command.params['userId'] = user_id unless user_id.nil?
@@ -215,24 +180,18 @@ module Google
215
180
  command.query['view'] = view unless view.nil?
216
181
  command.query['fields'] = fields unless fields.nil?
217
182
  command.query['quotaUser'] = quota_user unless quota_user.nil?
218
- command.query['userIp'] = user_ip unless user_ip.nil?
219
183
  execute_or_queue_command(command, &block)
220
184
  end
221
185
 
222
- # Marks a comment as not spam.
186
+ # Marks a comment as not spam by blog id, post id and comment id.
223
187
  # @param [String] blog_id
224
- # The ID of the Blog.
225
188
  # @param [String] post_id
226
- # The ID of the Post.
227
189
  # @param [String] comment_id
228
- # The ID of the comment to mark as not spam.
229
190
  # @param [String] fields
230
191
  # Selector specifying which fields to include in a partial response.
231
192
  # @param [String] quota_user
232
- # An opaque string that represents a user for quota purposes. Must not exceed 40
233
- # characters.
234
- # @param [String] user_ip
235
- # Deprecated. Please use quotaUser instead.
193
+ # Available to use for quota purposes for server-side applications. Can be any
194
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
236
195
  # @param [Google::Apis::RequestOptions] options
237
196
  # Request-specific options
238
197
  #
@@ -245,8 +204,8 @@ module Google
245
204
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
246
205
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
247
206
  # @raise [Google::Apis::AuthorizationError] Authorization is required
248
- def approve_comment(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
249
- command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve', options)
207
+ def approve_comment(blog_id, post_id, comment_id, fields: nil, quota_user: nil, options: nil, &block)
208
+ command = make_simple_command(:post, 'v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/approve', options)
250
209
  command.response_representation = Google::Apis::BloggerV3::Comment::Representation
251
210
  command.response_class = Google::Apis::BloggerV3::Comment
252
211
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -254,24 +213,18 @@ module Google
254
213
  command.params['commentId'] = comment_id unless comment_id.nil?
255
214
  command.query['fields'] = fields unless fields.nil?
256
215
  command.query['quotaUser'] = quota_user unless quota_user.nil?
257
- command.query['userIp'] = user_ip unless user_ip.nil?
258
216
  execute_or_queue_command(command, &block)
259
217
  end
260
218
 
261
- # Delete a comment by ID.
219
+ # Deletes a comment by blog id, post id and comment id.
262
220
  # @param [String] blog_id
263
- # The ID of the Blog.
264
221
  # @param [String] post_id
265
- # The ID of the Post.
266
222
  # @param [String] comment_id
267
- # The ID of the comment to delete.
268
223
  # @param [String] fields
269
224
  # Selector specifying which fields to include in a partial response.
270
225
  # @param [String] quota_user
271
- # An opaque string that represents a user for quota purposes. Must not exceed 40
272
- # characters.
273
- # @param [String] user_ip
274
- # Deprecated. Please use quotaUser instead.
226
+ # Available to use for quota purposes for server-side applications. Can be any
227
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
275
228
  # @param [Google::Apis::RequestOptions] options
276
229
  # Request-specific options
277
230
  #
@@ -284,36 +237,26 @@ module Google
284
237
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
285
238
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
286
239
  # @raise [Google::Apis::AuthorizationError] Authorization is required
287
- def delete_comment(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
288
- command = make_simple_command(:delete, 'blogs/{blogId}/posts/{postId}/comments/{commentId}', options)
240
+ def delete_comment(blog_id, post_id, comment_id, fields: nil, quota_user: nil, options: nil, &block)
241
+ command = make_simple_command(:delete, 'v3/blogs/{blogId}/posts/{postId}/comments/{commentId}', options)
289
242
  command.params['blogId'] = blog_id unless blog_id.nil?
290
243
  command.params['postId'] = post_id unless post_id.nil?
291
244
  command.params['commentId'] = comment_id unless comment_id.nil?
292
245
  command.query['fields'] = fields unless fields.nil?
293
246
  command.query['quotaUser'] = quota_user unless quota_user.nil?
294
- command.query['userIp'] = user_ip unless user_ip.nil?
295
247
  execute_or_queue_command(command, &block)
296
248
  end
297
249
 
298
- # Gets one comment by ID.
250
+ # Gets a comment by id.
299
251
  # @param [String] blog_id
300
- # ID of the blog to containing the comment.
301
252
  # @param [String] post_id
302
- # ID of the post to fetch posts from.
303
253
  # @param [String] comment_id
304
- # The ID of the comment to get.
305
254
  # @param [String] view
306
- # Access level for the requested comment (default: READER). Note that some
307
- # comments will require elevated permissions, for example comments where the
308
- # parent posts which is in a draft state, or comments that are pending
309
- # moderation.
310
255
  # @param [String] fields
311
256
  # Selector specifying which fields to include in a partial response.
312
257
  # @param [String] quota_user
313
- # An opaque string that represents a user for quota purposes. Must not exceed 40
314
- # characters.
315
- # @param [String] user_ip
316
- # Deprecated. Please use quotaUser instead.
258
+ # Available to use for quota purposes for server-side applications. Can be any
259
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
317
260
  # @param [Google::Apis::RequestOptions] options
318
261
  # Request-specific options
319
262
  #
@@ -326,8 +269,8 @@ module Google
326
269
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
327
270
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
328
271
  # @raise [Google::Apis::AuthorizationError] Authorization is required
329
- def get_comment(blog_id, post_id, comment_id, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
330
- command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}/comments/{commentId}', options)
272
+ def get_comment(blog_id, post_id, comment_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
273
+ command = make_simple_command(:get, 'v3/blogs/{blogId}/posts/{postId}/comments/{commentId}', options)
331
274
  command.response_representation = Google::Apis::BloggerV3::Comment::Representation
332
275
  command.response_class = Google::Apis::BloggerV3::Comment
333
276
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -336,36 +279,24 @@ module Google
336
279
  command.query['view'] = view unless view.nil?
337
280
  command.query['fields'] = fields unless fields.nil?
338
281
  command.query['quotaUser'] = quota_user unless quota_user.nil?
339
- command.query['userIp'] = user_ip unless user_ip.nil?
340
282
  execute_or_queue_command(command, &block)
341
283
  end
342
284
 
343
- # Retrieves the comments for a post, possibly filtered.
285
+ # Lists comments.
344
286
  # @param [String] blog_id
345
- # ID of the blog to fetch comments from.
346
287
  # @param [String] post_id
347
- # ID of the post to fetch posts from.
348
- # @param [DateTime] end_date
349
- # Latest date of comment to fetch, a date-time with RFC 3339 formatting.
288
+ # @param [String] end_date
350
289
  # @param [Boolean] fetch_bodies
351
- # Whether the body content of the comments is included.
352
290
  # @param [Fixnum] max_results
353
- # Maximum number of comments to include in the result.
354
291
  # @param [String] page_token
355
- # Continuation token if request is paged.
356
- # @param [DateTime] start_date
357
- # Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
358
- # @param [Array<String>, String] status
292
+ # @param [String] start_date
293
+ # @param [String] status
359
294
  # @param [String] view
360
- # Access level with which to view the returned result. Note that some fields
361
- # require elevated access.
362
295
  # @param [String] fields
363
296
  # Selector specifying which fields to include in a partial response.
364
297
  # @param [String] quota_user
365
- # An opaque string that represents a user for quota purposes. Must not exceed 40
366
- # characters.
367
- # @param [String] user_ip
368
- # Deprecated. Please use quotaUser instead.
298
+ # Available to use for quota purposes for server-side applications. Can be any
299
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
369
300
  # @param [Google::Apis::RequestOptions] options
370
301
  # Request-specific options
371
302
  #
@@ -378,8 +309,8 @@ module Google
378
309
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
379
310
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
380
311
  # @raise [Google::Apis::AuthorizationError] Authorization is required
381
- 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)
382
- command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}/comments', options)
312
+ 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, options: nil, &block)
313
+ command = make_simple_command(:get, 'v3/blogs/{blogId}/posts/{postId}/comments', options)
383
314
  command.response_representation = Google::Apis::BloggerV3::CommentList::Representation
384
315
  command.response_class = Google::Apis::BloggerV3::CommentList
385
316
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -393,31 +324,22 @@ module Google
393
324
  command.query['view'] = view unless view.nil?
394
325
  command.query['fields'] = fields unless fields.nil?
395
326
  command.query['quotaUser'] = quota_user unless quota_user.nil?
396
- command.query['userIp'] = user_ip unless user_ip.nil?
397
327
  execute_or_queue_command(command, &block)
398
328
  end
399
329
 
400
- # Retrieves the comments for a blog, across all posts, possibly filtered.
330
+ # Lists comments by blog.
401
331
  # @param [String] blog_id
402
- # ID of the blog to fetch comments from.
403
- # @param [DateTime] end_date
404
- # Latest date of comment to fetch, a date-time with RFC 3339 formatting.
332
+ # @param [String] end_date
405
333
  # @param [Boolean] fetch_bodies
406
- # Whether the body content of the comments is included.
407
334
  # @param [Fixnum] max_results
408
- # Maximum number of comments to include in the result.
409
335
  # @param [String] page_token
410
- # Continuation token if request is paged.
411
- # @param [DateTime] start_date
412
- # Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
336
+ # @param [String] start_date
413
337
  # @param [Array<String>, String] status
414
338
  # @param [String] fields
415
339
  # Selector specifying which fields to include in a partial response.
416
340
  # @param [String] quota_user
417
- # An opaque string that represents a user for quota purposes. Must not exceed 40
418
- # characters.
419
- # @param [String] user_ip
420
- # Deprecated. Please use quotaUser instead.
341
+ # Available to use for quota purposes for server-side applications. Can be any
342
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
421
343
  # @param [Google::Apis::RequestOptions] options
422
344
  # Request-specific options
423
345
  #
@@ -430,8 +352,8 @@ module Google
430
352
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
431
353
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
432
354
  # @raise [Google::Apis::AuthorizationError] Authorization is required
433
- 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)
434
- command = make_simple_command(:get, 'blogs/{blogId}/comments', options)
355
+ 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, options: nil, &block)
356
+ command = make_simple_command(:get, 'v3/blogs/{blogId}/comments', options)
435
357
  command.response_representation = Google::Apis::BloggerV3::CommentList::Representation
436
358
  command.response_class = Google::Apis::BloggerV3::CommentList
437
359
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -443,24 +365,18 @@ module Google
443
365
  command.query['status'] = status unless status.nil?
444
366
  command.query['fields'] = fields unless fields.nil?
445
367
  command.query['quotaUser'] = quota_user unless quota_user.nil?
446
- command.query['userIp'] = user_ip unless user_ip.nil?
447
368
  execute_or_queue_command(command, &block)
448
369
  end
449
370
 
450
- # Marks a comment as spam.
371
+ # Marks a comment as spam by blog id, post id and comment id.
451
372
  # @param [String] blog_id
452
- # The ID of the Blog.
453
373
  # @param [String] post_id
454
- # The ID of the Post.
455
374
  # @param [String] comment_id
456
- # The ID of the comment to mark as spam.
457
375
  # @param [String] fields
458
376
  # Selector specifying which fields to include in a partial response.
459
377
  # @param [String] quota_user
460
- # An opaque string that represents a user for quota purposes. Must not exceed 40
461
- # characters.
462
- # @param [String] user_ip
463
- # Deprecated. Please use quotaUser instead.
378
+ # Available to use for quota purposes for server-side applications. Can be any
379
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
464
380
  # @param [Google::Apis::RequestOptions] options
465
381
  # Request-specific options
466
382
  #
@@ -473,8 +389,8 @@ module Google
473
389
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
474
390
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
475
391
  # @raise [Google::Apis::AuthorizationError] Authorization is required
476
- def mark_comment_as_spam(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
477
- command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam', options)
392
+ def mark_comment_as_spam(blog_id, post_id, comment_id, fields: nil, quota_user: nil, options: nil, &block)
393
+ command = make_simple_command(:post, 'v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/spam', options)
478
394
  command.response_representation = Google::Apis::BloggerV3::Comment::Representation
479
395
  command.response_class = Google::Apis::BloggerV3::Comment
480
396
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -482,24 +398,18 @@ module Google
482
398
  command.params['commentId'] = comment_id unless comment_id.nil?
483
399
  command.query['fields'] = fields unless fields.nil?
484
400
  command.query['quotaUser'] = quota_user unless quota_user.nil?
485
- command.query['userIp'] = user_ip unless user_ip.nil?
486
401
  execute_or_queue_command(command, &block)
487
402
  end
488
403
 
489
- # Removes the content of a comment.
404
+ # Removes the content of a comment by blog id, post id and comment id.
490
405
  # @param [String] blog_id
491
- # The ID of the Blog.
492
406
  # @param [String] post_id
493
- # The ID of the Post.
494
407
  # @param [String] comment_id
495
- # The ID of the comment to delete content from.
496
408
  # @param [String] fields
497
409
  # Selector specifying which fields to include in a partial response.
498
410
  # @param [String] quota_user
499
- # An opaque string that represents a user for quota purposes. Must not exceed 40
500
- # characters.
501
- # @param [String] user_ip
502
- # Deprecated. Please use quotaUser instead.
411
+ # Available to use for quota purposes for server-side applications. Can be any
412
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
503
413
  # @param [Google::Apis::RequestOptions] options
504
414
  # Request-specific options
505
415
  #
@@ -512,8 +422,8 @@ module Google
512
422
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
513
423
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
514
424
  # @raise [Google::Apis::AuthorizationError] Authorization is required
515
- def remove_comment_content(blog_id, post_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
516
- command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent', options)
425
+ def remove_comment_content(blog_id, post_id, comment_id, fields: nil, quota_user: nil, options: nil, &block)
426
+ command = make_simple_command(:post, 'v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent', options)
517
427
  command.response_representation = Google::Apis::BloggerV3::Comment::Representation
518
428
  command.response_class = Google::Apis::BloggerV3::Comment
519
429
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -521,21 +431,17 @@ module Google
521
431
  command.params['commentId'] = comment_id unless comment_id.nil?
522
432
  command.query['fields'] = fields unless fields.nil?
523
433
  command.query['quotaUser'] = quota_user unless quota_user.nil?
524
- command.query['userIp'] = user_ip unless user_ip.nil?
525
434
  execute_or_queue_command(command, &block)
526
435
  end
527
436
 
528
- # Retrieve pageview stats for a Blog.
437
+ # Gets page views by blog id.
529
438
  # @param [String] blog_id
530
- # The ID of the blog to get.
531
439
  # @param [Array<String>, String] range
532
440
  # @param [String] fields
533
441
  # Selector specifying which fields to include in a partial response.
534
442
  # @param [String] quota_user
535
- # An opaque string that represents a user for quota purposes. Must not exceed 40
536
- # characters.
537
- # @param [String] user_ip
538
- # Deprecated. Please use quotaUser instead.
443
+ # Available to use for quota purposes for server-side applications. Can be any
444
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
539
445
  # @param [Google::Apis::RequestOptions] options
540
446
  # Request-specific options
541
447
  #
@@ -548,30 +454,25 @@ module Google
548
454
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
549
455
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
550
456
  # @raise [Google::Apis::AuthorizationError] Authorization is required
551
- def get_page_view(blog_id, range: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
552
- command = make_simple_command(:get, 'blogs/{blogId}/pageviews', options)
457
+ def get_page_view(blog_id, range: nil, fields: nil, quota_user: nil, options: nil, &block)
458
+ command = make_simple_command(:get, 'v3/blogs/{blogId}/pageviews', options)
553
459
  command.response_representation = Google::Apis::BloggerV3::Pageviews::Representation
554
460
  command.response_class = Google::Apis::BloggerV3::Pageviews
555
461
  command.params['blogId'] = blog_id unless blog_id.nil?
556
462
  command.query['range'] = range unless range.nil?
557
463
  command.query['fields'] = fields unless fields.nil?
558
464
  command.query['quotaUser'] = quota_user unless quota_user.nil?
559
- command.query['userIp'] = user_ip unless user_ip.nil?
560
465
  execute_or_queue_command(command, &block)
561
466
  end
562
467
 
563
- # Delete a page by ID.
468
+ # Deletes a page by blog id and page id.
564
469
  # @param [String] blog_id
565
- # The ID of the Blog.
566
470
  # @param [String] page_id
567
- # The ID of the Page.
568
471
  # @param [String] fields
569
472
  # Selector specifying which fields to include in a partial response.
570
473
  # @param [String] quota_user
571
- # An opaque string that represents a user for quota purposes. Must not exceed 40
572
- # characters.
573
- # @param [String] user_ip
574
- # Deprecated. Please use quotaUser instead.
474
+ # Available to use for quota purposes for server-side applications. Can be any
475
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
575
476
  # @param [Google::Apis::RequestOptions] options
576
477
  # Request-specific options
577
478
  #
@@ -584,29 +485,24 @@ module Google
584
485
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
585
486
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
586
487
  # @raise [Google::Apis::AuthorizationError] Authorization is required
587
- def delete_page(blog_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
588
- command = make_simple_command(:delete, 'blogs/{blogId}/pages/{pageId}', options)
488
+ def delete_page(blog_id, page_id, fields: nil, quota_user: nil, options: nil, &block)
489
+ command = make_simple_command(:delete, 'v3/blogs/{blogId}/pages/{pageId}', options)
589
490
  command.params['blogId'] = blog_id unless blog_id.nil?
590
491
  command.params['pageId'] = page_id unless page_id.nil?
591
492
  command.query['fields'] = fields unless fields.nil?
592
493
  command.query['quotaUser'] = quota_user unless quota_user.nil?
593
- command.query['userIp'] = user_ip unless user_ip.nil?
594
494
  execute_or_queue_command(command, &block)
595
495
  end
596
496
 
597
- # Gets one blog page by ID.
497
+ # Gets a page by blog id and page id.
598
498
  # @param [String] blog_id
599
- # ID of the blog containing the page.
600
499
  # @param [String] page_id
601
- # The ID of the page to get.
602
500
  # @param [String] view
603
501
  # @param [String] fields
604
502
  # Selector specifying which fields to include in a partial response.
605
503
  # @param [String] quota_user
606
- # An opaque string that represents a user for quota purposes. Must not exceed 40
607
- # characters.
608
- # @param [String] user_ip
609
- # Deprecated. Please use quotaUser instead.
504
+ # Available to use for quota purposes for server-side applications. Can be any
505
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
610
506
  # @param [Google::Apis::RequestOptions] options
611
507
  # Request-specific options
612
508
  #
@@ -619,8 +515,8 @@ module Google
619
515
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
620
516
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
621
517
  # @raise [Google::Apis::AuthorizationError] Authorization is required
622
- def get_page(blog_id, page_id, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
623
- command = make_simple_command(:get, 'blogs/{blogId}/pages/{pageId}', options)
518
+ def get_page(blog_id, page_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
519
+ command = make_simple_command(:get, 'v3/blogs/{blogId}/pages/{pageId}', options)
624
520
  command.response_representation = Google::Apis::BloggerV3::Page::Representation
625
521
  command.response_class = Google::Apis::BloggerV3::Page
626
522
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -628,23 +524,18 @@ module Google
628
524
  command.query['view'] = view unless view.nil?
629
525
  command.query['fields'] = fields unless fields.nil?
630
526
  command.query['quotaUser'] = quota_user unless quota_user.nil?
631
- command.query['userIp'] = user_ip unless user_ip.nil?
632
527
  execute_or_queue_command(command, &block)
633
528
  end
634
529
 
635
- # Add a page.
530
+ # Inserts a page.
636
531
  # @param [String] blog_id
637
- # ID of the blog to add the page to.
638
532
  # @param [Google::Apis::BloggerV3::Page] page_object
639
533
  # @param [Boolean] is_draft
640
- # Whether to create the page as a draft (default: false).
641
534
  # @param [String] fields
642
535
  # Selector specifying which fields to include in a partial response.
643
536
  # @param [String] quota_user
644
- # An opaque string that represents a user for quota purposes. Must not exceed 40
645
- # characters.
646
- # @param [String] user_ip
647
- # Deprecated. Please use quotaUser instead.
537
+ # Available to use for quota purposes for server-side applications. Can be any
538
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
648
539
  # @param [Google::Apis::RequestOptions] options
649
540
  # Request-specific options
650
541
  #
@@ -657,8 +548,8 @@ module Google
657
548
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
658
549
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
659
550
  # @raise [Google::Apis::AuthorizationError] Authorization is required
660
- def insert_page(blog_id, page_object = nil, is_draft: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
661
- command = make_simple_command(:post, 'blogs/{blogId}/pages', options)
551
+ def insert_page(blog_id, page_object = nil, is_draft: nil, fields: nil, quota_user: nil, options: nil, &block)
552
+ command = make_simple_command(:post, 'v3/blogs/{blogId}/pages', options)
662
553
  command.request_representation = Google::Apis::BloggerV3::Page::Representation
663
554
  command.request_object = page_object
664
555
  command.response_representation = Google::Apis::BloggerV3::Page::Representation
@@ -667,30 +558,21 @@ module Google
667
558
  command.query['isDraft'] = is_draft unless is_draft.nil?
668
559
  command.query['fields'] = fields unless fields.nil?
669
560
  command.query['quotaUser'] = quota_user unless quota_user.nil?
670
- command.query['userIp'] = user_ip unless user_ip.nil?
671
561
  execute_or_queue_command(command, &block)
672
562
  end
673
563
 
674
- # Retrieves the pages for a blog, optionally including non-LIVE statuses.
564
+ # Lists pages.
675
565
  # @param [String] blog_id
676
- # ID of the blog to fetch Pages from.
677
566
  # @param [Boolean] fetch_bodies
678
- # Whether to retrieve the Page bodies.
679
567
  # @param [Fixnum] max_results
680
- # Maximum number of Pages to fetch.
681
568
  # @param [String] page_token
682
- # Continuation token if the request is paged.
683
569
  # @param [Array<String>, String] status
684
570
  # @param [String] view
685
- # Access level with which to view the returned result. Note that some fields
686
- # require elevated access.
687
571
  # @param [String] fields
688
572
  # Selector specifying which fields to include in a partial response.
689
573
  # @param [String] quota_user
690
- # An opaque string that represents a user for quota purposes. Must not exceed 40
691
- # characters.
692
- # @param [String] user_ip
693
- # Deprecated. Please use quotaUser instead.
574
+ # Available to use for quota purposes for server-side applications. Can be any
575
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
694
576
  # @param [Google::Apis::RequestOptions] options
695
577
  # Request-specific options
696
578
  #
@@ -703,8 +585,8 @@ module Google
703
585
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
704
586
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
705
587
  # @raise [Google::Apis::AuthorizationError] Authorization is required
706
- 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)
707
- command = make_simple_command(:get, 'blogs/{blogId}/pages', options)
588
+ def list_pages(blog_id, fetch_bodies: nil, max_results: nil, page_token: nil, status: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
589
+ command = make_simple_command(:get, 'v3/blogs/{blogId}/pages', options)
708
590
  command.response_representation = Google::Apis::BloggerV3::PageList::Representation
709
591
  command.response_class = Google::Apis::BloggerV3::PageList
710
592
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -715,29 +597,20 @@ module Google
715
597
  command.query['view'] = view unless view.nil?
716
598
  command.query['fields'] = fields unless fields.nil?
717
599
  command.query['quotaUser'] = quota_user unless quota_user.nil?
718
- command.query['userIp'] = user_ip unless user_ip.nil?
719
600
  execute_or_queue_command(command, &block)
720
601
  end
721
602
 
722
- # Update a page. This method supports patch semantics.
603
+ # Patches a page.
723
604
  # @param [String] blog_id
724
- # The ID of the Blog.
725
605
  # @param [String] page_id
726
- # The ID of the Page.
727
606
  # @param [Google::Apis::BloggerV3::Page] page_object
728
607
  # @param [Boolean] publish
729
- # Whether a publish action should be performed when the page is updated (default:
730
- # false).
731
608
  # @param [Boolean] revert
732
- # Whether a revert action should be performed when the page is updated (default:
733
- # false).
734
609
  # @param [String] fields
735
610
  # Selector specifying which fields to include in a partial response.
736
611
  # @param [String] quota_user
737
- # An opaque string that represents a user for quota purposes. Must not exceed 40
738
- # characters.
739
- # @param [String] user_ip
740
- # Deprecated. Please use quotaUser instead.
612
+ # Available to use for quota purposes for server-side applications. Can be any
613
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
741
614
  # @param [Google::Apis::RequestOptions] options
742
615
  # Request-specific options
743
616
  #
@@ -750,8 +623,8 @@ module Google
750
623
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
751
624
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
752
625
  # @raise [Google::Apis::AuthorizationError] Authorization is required
753
- 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)
754
- command = make_simple_command(:patch, 'blogs/{blogId}/pages/{pageId}', options)
626
+ def patch_page(blog_id, page_id, page_object = nil, publish: nil, revert: nil, fields: nil, quota_user: nil, options: nil, &block)
627
+ command = make_simple_command(:patch, 'v3/blogs/{blogId}/pages/{pageId}', options)
755
628
  command.request_representation = Google::Apis::BloggerV3::Page::Representation
756
629
  command.request_object = page_object
757
630
  command.response_representation = Google::Apis::BloggerV3::Page::Representation
@@ -762,22 +635,17 @@ module Google
762
635
  command.query['revert'] = revert unless revert.nil?
763
636
  command.query['fields'] = fields unless fields.nil?
764
637
  command.query['quotaUser'] = quota_user unless quota_user.nil?
765
- command.query['userIp'] = user_ip unless user_ip.nil?
766
638
  execute_or_queue_command(command, &block)
767
639
  end
768
640
 
769
- # Publishes a draft page.
641
+ # Publishes a page.
770
642
  # @param [String] blog_id
771
- # The ID of the blog.
772
643
  # @param [String] page_id
773
- # The ID of the page.
774
644
  # @param [String] fields
775
645
  # Selector specifying which fields to include in a partial response.
776
646
  # @param [String] quota_user
777
- # An opaque string that represents a user for quota purposes. Must not exceed 40
778
- # characters.
779
- # @param [String] user_ip
780
- # Deprecated. Please use quotaUser instead.
647
+ # Available to use for quota purposes for server-side applications. Can be any
648
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
781
649
  # @param [Google::Apis::RequestOptions] options
782
650
  # Request-specific options
783
651
  #
@@ -790,30 +658,25 @@ module Google
790
658
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
791
659
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
792
660
  # @raise [Google::Apis::AuthorizationError] Authorization is required
793
- def publish_page(blog_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
794
- command = make_simple_command(:post, 'blogs/{blogId}/pages/{pageId}/publish', options)
661
+ def publish_page(blog_id, page_id, fields: nil, quota_user: nil, options: nil, &block)
662
+ command = make_simple_command(:post, 'v3/blogs/{blogId}/pages/{pageId}/publish', options)
795
663
  command.response_representation = Google::Apis::BloggerV3::Page::Representation
796
664
  command.response_class = Google::Apis::BloggerV3::Page
797
665
  command.params['blogId'] = blog_id unless blog_id.nil?
798
666
  command.params['pageId'] = page_id unless page_id.nil?
799
667
  command.query['fields'] = fields unless fields.nil?
800
668
  command.query['quotaUser'] = quota_user unless quota_user.nil?
801
- command.query['userIp'] = user_ip unless user_ip.nil?
802
669
  execute_or_queue_command(command, &block)
803
670
  end
804
671
 
805
- # Revert a published or scheduled page to draft state.
672
+ # Reverts a published or scheduled page to draft state.
806
673
  # @param [String] blog_id
807
- # The ID of the blog.
808
674
  # @param [String] page_id
809
- # The ID of the page.
810
675
  # @param [String] fields
811
676
  # Selector specifying which fields to include in a partial response.
812
677
  # @param [String] quota_user
813
- # An opaque string that represents a user for quota purposes. Must not exceed 40
814
- # characters.
815
- # @param [String] user_ip
816
- # Deprecated. Please use quotaUser instead.
678
+ # Available to use for quota purposes for server-side applications. Can be any
679
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
817
680
  # @param [Google::Apis::RequestOptions] options
818
681
  # Request-specific options
819
682
  #
@@ -826,37 +689,28 @@ module Google
826
689
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
827
690
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
828
691
  # @raise [Google::Apis::AuthorizationError] Authorization is required
829
- def revert_page(blog_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
830
- command = make_simple_command(:post, 'blogs/{blogId}/pages/{pageId}/revert', options)
692
+ def revert_page(blog_id, page_id, fields: nil, quota_user: nil, options: nil, &block)
693
+ command = make_simple_command(:post, 'v3/blogs/{blogId}/pages/{pageId}/revert', options)
831
694
  command.response_representation = Google::Apis::BloggerV3::Page::Representation
832
695
  command.response_class = Google::Apis::BloggerV3::Page
833
696
  command.params['blogId'] = blog_id unless blog_id.nil?
834
697
  command.params['pageId'] = page_id unless page_id.nil?
835
698
  command.query['fields'] = fields unless fields.nil?
836
699
  command.query['quotaUser'] = quota_user unless quota_user.nil?
837
- command.query['userIp'] = user_ip unless user_ip.nil?
838
700
  execute_or_queue_command(command, &block)
839
701
  end
840
702
 
841
- # Update a page.
703
+ # Updates a page by blog id and page id.
842
704
  # @param [String] blog_id
843
- # The ID of the Blog.
844
705
  # @param [String] page_id
845
- # The ID of the Page.
846
706
  # @param [Google::Apis::BloggerV3::Page] page_object
847
707
  # @param [Boolean] publish
848
- # Whether a publish action should be performed when the page is updated (default:
849
- # false).
850
708
  # @param [Boolean] revert
851
- # Whether a revert action should be performed when the page is updated (default:
852
- # false).
853
709
  # @param [String] fields
854
710
  # Selector specifying which fields to include in a partial response.
855
711
  # @param [String] quota_user
856
- # An opaque string that represents a user for quota purposes. Must not exceed 40
857
- # characters.
858
- # @param [String] user_ip
859
- # Deprecated. Please use quotaUser instead.
712
+ # Available to use for quota purposes for server-side applications. Can be any
713
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
860
714
  # @param [Google::Apis::RequestOptions] options
861
715
  # Request-specific options
862
716
  #
@@ -869,8 +723,8 @@ module Google
869
723
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
870
724
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
871
725
  # @raise [Google::Apis::AuthorizationError] Authorization is required
872
- 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)
873
- command = make_simple_command(:put, 'blogs/{blogId}/pages/{pageId}', options)
726
+ def update_page(blog_id, page_id, page_object = nil, publish: nil, revert: nil, fields: nil, quota_user: nil, options: nil, &block)
727
+ command = make_simple_command(:put, 'v3/blogs/{blogId}/pages/{pageId}', options)
874
728
  command.request_representation = Google::Apis::BloggerV3::Page::Representation
875
729
  command.request_object = page_object
876
730
  command.response_representation = Google::Apis::BloggerV3::Page::Representation
@@ -881,29 +735,19 @@ module Google
881
735
  command.query['revert'] = revert unless revert.nil?
882
736
  command.query['fields'] = fields unless fields.nil?
883
737
  command.query['quotaUser'] = quota_user unless quota_user.nil?
884
- command.query['userIp'] = user_ip unless user_ip.nil?
885
738
  execute_or_queue_command(command, &block)
886
739
  end
887
740
 
888
- # Gets one post and user info pair, by post ID and user ID. The post user info
889
- # contains per-user information about the post, such as access rights, specific
890
- # to the user.
741
+ # Gets one post and user info pair, by post_id and user_id.
891
742
  # @param [String] user_id
892
- # ID of the user for the per-user information to be fetched. Either the word '
893
- # self' or the user's profile identifier.
894
743
  # @param [String] blog_id
895
- # The ID of the blog.
896
744
  # @param [String] post_id
897
- # The ID of the post to get.
898
745
  # @param [Fixnum] max_comments
899
- # Maximum number of comments to pull back on a post.
900
746
  # @param [String] fields
901
747
  # Selector specifying which fields to include in a partial response.
902
748
  # @param [String] quota_user
903
- # An opaque string that represents a user for quota purposes. Must not exceed 40
904
- # characters.
905
- # @param [String] user_ip
906
- # Deprecated. Please use quotaUser instead.
749
+ # Available to use for quota purposes for server-side applications. Can be any
750
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
907
751
  # @param [Google::Apis::RequestOptions] options
908
752
  # Request-specific options
909
753
  #
@@ -916,8 +760,8 @@ module Google
916
760
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
917
761
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
918
762
  # @raise [Google::Apis::AuthorizationError] Authorization is required
919
- 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)
920
- command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}/posts/{postId}', options)
763
+ def get_post_user_info(user_id, blog_id, post_id, max_comments: nil, fields: nil, quota_user: nil, options: nil, &block)
764
+ command = make_simple_command(:get, 'v3/users/{userId}/blogs/{blogId}/posts/{postId}', options)
921
765
  command.response_representation = Google::Apis::BloggerV3::PostUserInfo::Representation
922
766
  command.response_class = Google::Apis::BloggerV3::PostUserInfo
923
767
  command.params['userId'] = user_id unless user_id.nil?
@@ -926,43 +770,26 @@ module Google
926
770
  command.query['maxComments'] = max_comments unless max_comments.nil?
927
771
  command.query['fields'] = fields unless fields.nil?
928
772
  command.query['quotaUser'] = quota_user unless quota_user.nil?
929
- command.query['userIp'] = user_ip unless user_ip.nil?
930
773
  execute_or_queue_command(command, &block)
931
774
  end
932
775
 
933
- # Retrieves a list of post and post user info pairs, possibly filtered. The post
934
- # user info contains per-user information about the post, such as access rights,
935
- # specific to the user.
776
+ # Lists post and user info pairs.
936
777
  # @param [String] user_id
937
- # ID of the user for the per-user information to be fetched. Either the word '
938
- # self' or the user's profile identifier.
939
778
  # @param [String] blog_id
940
- # ID of the blog to fetch posts from.
941
- # @param [DateTime] end_date
942
- # Latest post date to fetch, a date-time with RFC 3339 formatting.
779
+ # @param [String] end_date
943
780
  # @param [Boolean] fetch_bodies
944
- # Whether the body content of posts is included. Default is false.
945
781
  # @param [String] labels
946
- # Comma-separated list of labels to search for.
947
782
  # @param [Fixnum] max_results
948
- # Maximum number of posts to fetch.
949
783
  # @param [String] order_by
950
- # Sort order applied to search results. Default is published.
951
784
  # @param [String] page_token
952
- # Continuation token if the request is paged.
953
- # @param [DateTime] start_date
954
- # Earliest post date to fetch, a date-time with RFC 3339 formatting.
785
+ # @param [String] start_date
955
786
  # @param [Array<String>, String] status
956
787
  # @param [String] view
957
- # Access level with which to view the returned result. Note that some fields
958
- # require elevated access.
959
788
  # @param [String] fields
960
789
  # Selector specifying which fields to include in a partial response.
961
790
  # @param [String] quota_user
962
- # An opaque string that represents a user for quota purposes. Must not exceed 40
963
- # characters.
964
- # @param [String] user_ip
965
- # Deprecated. Please use quotaUser instead.
791
+ # Available to use for quota purposes for server-side applications. Can be any
792
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
966
793
  # @param [Google::Apis::RequestOptions] options
967
794
  # Request-specific options
968
795
  #
@@ -975,8 +802,8 @@ module Google
975
802
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
976
803
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
977
804
  # @raise [Google::Apis::AuthorizationError] Authorization is required
978
- 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)
979
- command = make_simple_command(:get, 'users/{userId}/blogs/{blogId}/posts', options)
805
+ 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, options: nil, &block)
806
+ command = make_simple_command(:get, 'v3/users/{userId}/blogs/{blogId}/posts', options)
980
807
  command.response_representation = Google::Apis::BloggerV3::PostUserInfosList::Representation
981
808
  command.response_class = Google::Apis::BloggerV3::PostUserInfosList
982
809
  command.params['userId'] = user_id unless user_id.nil?
@@ -992,22 +819,17 @@ module Google
992
819
  command.query['view'] = view unless view.nil?
993
820
  command.query['fields'] = fields unless fields.nil?
994
821
  command.query['quotaUser'] = quota_user unless quota_user.nil?
995
- command.query['userIp'] = user_ip unless user_ip.nil?
996
822
  execute_or_queue_command(command, &block)
997
823
  end
998
824
 
999
- # Delete a post by ID.
825
+ # Deletes a post by blog id and post id.
1000
826
  # @param [String] blog_id
1001
- # The ID of the Blog.
1002
827
  # @param [String] post_id
1003
- # The ID of the Post.
1004
828
  # @param [String] fields
1005
829
  # Selector specifying which fields to include in a partial response.
1006
830
  # @param [String] quota_user
1007
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1008
- # characters.
1009
- # @param [String] user_ip
1010
- # Deprecated. Please use quotaUser instead.
831
+ # Available to use for quota purposes for server-side applications. Can be any
832
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1011
833
  # @param [Google::Apis::RequestOptions] options
1012
834
  # Request-specific options
1013
835
  #
@@ -1020,39 +842,27 @@ module Google
1020
842
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1021
843
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1022
844
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1023
- def delete_post(blog_id, post_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1024
- command = make_simple_command(:delete, 'blogs/{blogId}/posts/{postId}', options)
845
+ def delete_post(blog_id, post_id, fields: nil, quota_user: nil, options: nil, &block)
846
+ command = make_simple_command(:delete, 'v3/blogs/{blogId}/posts/{postId}', options)
1025
847
  command.params['blogId'] = blog_id unless blog_id.nil?
1026
848
  command.params['postId'] = post_id unless post_id.nil?
1027
849
  command.query['fields'] = fields unless fields.nil?
1028
850
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1029
- command.query['userIp'] = user_ip unless user_ip.nil?
1030
851
  execute_or_queue_command(command, &block)
1031
852
  end
1032
853
 
1033
- # Get a post by ID.
854
+ # Gets a post by blog id and post id
1034
855
  # @param [String] blog_id
1035
- # ID of the blog to fetch the post from.
1036
856
  # @param [String] post_id
1037
- # The ID of the post
1038
857
  # @param [Boolean] fetch_body
1039
- # Whether the body content of the post is included (default: true). This should
1040
- # be set to false when the post bodies are not required, to help minimize
1041
- # traffic.
1042
858
  # @param [Boolean] fetch_images
1043
- # Whether image URL metadata for each post is included (default: false).
1044
859
  # @param [Fixnum] max_comments
1045
- # Maximum number of comments to pull back on a post.
1046
860
  # @param [String] view
1047
- # Access level with which to view the returned result. Note that some fields
1048
- # require elevated access.
1049
861
  # @param [String] fields
1050
862
  # Selector specifying which fields to include in a partial response.
1051
863
  # @param [String] quota_user
1052
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1053
- # characters.
1054
- # @param [String] user_ip
1055
- # Deprecated. Please use quotaUser instead.
864
+ # Available to use for quota purposes for server-side applications. Can be any
865
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1056
866
  # @param [Google::Apis::RequestOptions] options
1057
867
  # Request-specific options
1058
868
  #
@@ -1065,8 +875,8 @@ module Google
1065
875
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1066
876
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1067
877
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1068
- 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)
1069
- command = make_simple_command(:get, 'blogs/{blogId}/posts/{postId}', options)
878
+ def get_post(blog_id, post_id, fetch_body: nil, fetch_images: nil, max_comments: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
879
+ command = make_simple_command(:get, 'v3/blogs/{blogId}/posts/{postId}', options)
1070
880
  command.response_representation = Google::Apis::BloggerV3::Post::Representation
1071
881
  command.response_class = Google::Apis::BloggerV3::Post
1072
882
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -1077,27 +887,19 @@ module Google
1077
887
  command.query['view'] = view unless view.nil?
1078
888
  command.query['fields'] = fields unless fields.nil?
1079
889
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1080
- command.query['userIp'] = user_ip unless user_ip.nil?
1081
890
  execute_or_queue_command(command, &block)
1082
891
  end
1083
892
 
1084
- # Retrieve a Post by Path.
893
+ # Gets a post by path.
1085
894
  # @param [String] blog_id
1086
- # ID of the blog to fetch the post from.
1087
895
  # @param [String] path
1088
- # Path of the Post to retrieve.
1089
896
  # @param [Fixnum] max_comments
1090
- # Maximum number of comments to pull back on a post.
1091
897
  # @param [String] view
1092
- # Access level with which to view the returned result. Note that some fields
1093
- # require elevated access.
1094
898
  # @param [String] fields
1095
899
  # Selector specifying which fields to include in a partial response.
1096
900
  # @param [String] quota_user
1097
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1098
- # characters.
1099
- # @param [String] user_ip
1100
- # Deprecated. Please use quotaUser instead.
901
+ # Available to use for quota purposes for server-side applications. Can be any
902
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1101
903
  # @param [Google::Apis::RequestOptions] options
1102
904
  # Request-specific options
1103
905
  #
@@ -1110,8 +912,8 @@ module Google
1110
912
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1111
913
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1112
914
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1113
- def get_post_by_path(blog_id, path, max_comments: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1114
- command = make_simple_command(:get, 'blogs/{blogId}/posts/bypath', options)
915
+ def get_post_by_path(blog_id, path, max_comments: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
916
+ command = make_simple_command(:get, 'v3/blogs/{blogId}/posts/bypath', options)
1115
917
  command.response_representation = Google::Apis::BloggerV3::Post::Representation
1116
918
  command.response_class = Google::Apis::BloggerV3::Post
1117
919
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -1120,29 +922,20 @@ module Google
1120
922
  command.query['view'] = view unless view.nil?
1121
923
  command.query['fields'] = fields unless fields.nil?
1122
924
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1123
- command.query['userIp'] = user_ip unless user_ip.nil?
1124
925
  execute_or_queue_command(command, &block)
1125
926
  end
1126
927
 
1127
- # Add a post.
928
+ # Inserts a post.
1128
929
  # @param [String] blog_id
1129
- # ID of the blog to add the post to.
1130
930
  # @param [Google::Apis::BloggerV3::Post] post_object
1131
931
  # @param [Boolean] fetch_body
1132
- # Whether the body content of the post is included with the result (default:
1133
- # true).
1134
932
  # @param [Boolean] fetch_images
1135
- # Whether image URL metadata for each post is included in the returned result (
1136
- # default: false).
1137
933
  # @param [Boolean] is_draft
1138
- # Whether to create the post as a draft (default: false).
1139
934
  # @param [String] fields
1140
935
  # Selector specifying which fields to include in a partial response.
1141
936
  # @param [String] quota_user
1142
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1143
- # characters.
1144
- # @param [String] user_ip
1145
- # Deprecated. Please use quotaUser instead.
937
+ # Available to use for quota purposes for server-side applications. Can be any
938
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1146
939
  # @param [Google::Apis::RequestOptions] options
1147
940
  # Request-specific options
1148
941
  #
@@ -1155,8 +948,8 @@ module Google
1155
948
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1156
949
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1157
950
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1158
- 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)
1159
- command = make_simple_command(:post, 'blogs/{blogId}/posts', options)
951
+ def insert_post(blog_id, post_object = nil, fetch_body: nil, fetch_images: nil, is_draft: nil, fields: nil, quota_user: nil, options: nil, &block)
952
+ command = make_simple_command(:post, 'v3/blogs/{blogId}/posts', options)
1160
953
  command.request_representation = Google::Apis::BloggerV3::Post::Representation
1161
954
  command.request_object = post_object
1162
955
  command.response_representation = Google::Apis::BloggerV3::Post::Representation
@@ -1167,42 +960,26 @@ module Google
1167
960
  command.query['isDraft'] = is_draft unless is_draft.nil?
1168
961
  command.query['fields'] = fields unless fields.nil?
1169
962
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1170
- command.query['userIp'] = user_ip unless user_ip.nil?
1171
963
  execute_or_queue_command(command, &block)
1172
964
  end
1173
965
 
1174
- # Retrieves a list of posts, possibly filtered.
966
+ # Lists posts.
1175
967
  # @param [String] blog_id
1176
- # ID of the blog to fetch posts from.
1177
- # @param [DateTime] end_date
1178
- # Latest post date to fetch, a date-time with RFC 3339 formatting.
968
+ # @param [String] end_date
1179
969
  # @param [Boolean] fetch_bodies
1180
- # Whether the body content of posts is included (default: true). This should be
1181
- # set to false when the post bodies are not required, to help minimize traffic.
1182
970
  # @param [Boolean] fetch_images
1183
- # Whether image URL metadata for each post is included.
1184
971
  # @param [String] labels
1185
- # Comma-separated list of labels to search for.
1186
972
  # @param [Fixnum] max_results
1187
- # Maximum number of posts to fetch.
1188
973
  # @param [String] order_by
1189
- # Sort search results
1190
974
  # @param [String] page_token
1191
- # Continuation token if the request is paged.
1192
- # @param [DateTime] start_date
1193
- # Earliest post date to fetch, a date-time with RFC 3339 formatting.
975
+ # @param [String] start_date
1194
976
  # @param [Array<String>, String] status
1195
- # Statuses to include in the results.
1196
977
  # @param [String] view
1197
- # Access level with which to view the returned result. Note that some fields
1198
- # require escalated access.
1199
978
  # @param [String] fields
1200
979
  # Selector specifying which fields to include in a partial response.
1201
980
  # @param [String] quota_user
1202
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1203
- # characters.
1204
- # @param [String] user_ip
1205
- # Deprecated. Please use quotaUser instead.
981
+ # Available to use for quota purposes for server-side applications. Can be any
982
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1206
983
  # @param [Google::Apis::RequestOptions] options
1207
984
  # Request-specific options
1208
985
  #
@@ -1215,8 +992,8 @@ module Google
1215
992
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1216
993
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1217
994
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1218
- 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)
1219
- command = make_simple_command(:get, 'blogs/{blogId}/posts', options)
995
+ 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, options: nil, &block)
996
+ command = make_simple_command(:get, 'v3/blogs/{blogId}/posts', options)
1220
997
  command.response_representation = Google::Apis::BloggerV3::PostList::Representation
1221
998
  command.response_class = Google::Apis::BloggerV3::PostList
1222
999
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -1232,37 +1009,23 @@ module Google
1232
1009
  command.query['view'] = view unless view.nil?
1233
1010
  command.query['fields'] = fields unless fields.nil?
1234
1011
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1235
- command.query['userIp'] = user_ip unless user_ip.nil?
1236
1012
  execute_or_queue_command(command, &block)
1237
1013
  end
1238
1014
 
1239
- # Update a post. This method supports patch semantics.
1015
+ # Patches a post.
1240
1016
  # @param [String] blog_id
1241
- # The ID of the Blog.
1242
1017
  # @param [String] post_id
1243
- # The ID of the Post.
1244
1018
  # @param [Google::Apis::BloggerV3::Post] post_object
1245
1019
  # @param [Boolean] fetch_body
1246
- # Whether the body content of the post is included with the result (default:
1247
- # true).
1248
1020
  # @param [Boolean] fetch_images
1249
- # Whether image URL metadata for each post is included in the returned result (
1250
- # default: false).
1251
1021
  # @param [Fixnum] max_comments
1252
- # Maximum number of comments to retrieve with the returned post.
1253
1022
  # @param [Boolean] publish
1254
- # Whether a publish action should be performed when the post is updated (default:
1255
- # false).
1256
1023
  # @param [Boolean] revert
1257
- # Whether a revert action should be performed when the post is updated (default:
1258
- # false).
1259
1024
  # @param [String] fields
1260
1025
  # Selector specifying which fields to include in a partial response.
1261
1026
  # @param [String] quota_user
1262
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1263
- # characters.
1264
- # @param [String] user_ip
1265
- # Deprecated. Please use quotaUser instead.
1027
+ # Available to use for quota purposes for server-side applications. Can be any
1028
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1266
1029
  # @param [Google::Apis::RequestOptions] options
1267
1030
  # Request-specific options
1268
1031
  #
@@ -1275,8 +1038,8 @@ module Google
1275
1038
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1276
1039
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1277
1040
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1278
- 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)
1279
- command = make_simple_command(:patch, 'blogs/{blogId}/posts/{postId}', options)
1041
+ 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, options: nil, &block)
1042
+ command = make_simple_command(:patch, 'v3/blogs/{blogId}/posts/{postId}', options)
1280
1043
  command.request_representation = Google::Apis::BloggerV3::Post::Representation
1281
1044
  command.request_object = post_object
1282
1045
  command.response_representation = Google::Apis::BloggerV3::Post::Representation
@@ -1290,28 +1053,18 @@ module Google
1290
1053
  command.query['revert'] = revert unless revert.nil?
1291
1054
  command.query['fields'] = fields unless fields.nil?
1292
1055
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1293
- command.query['userIp'] = user_ip unless user_ip.nil?
1294
1056
  execute_or_queue_command(command, &block)
1295
1057
  end
1296
1058
 
1297
- # Publishes a draft post, optionally at the specific time of the given
1298
- # publishDate parameter.
1059
+ # Publishes a post.
1299
1060
  # @param [String] blog_id
1300
- # The ID of the Blog.
1301
1061
  # @param [String] post_id
1302
- # The ID of the Post.
1303
- # @param [DateTime] publish_date
1304
- # Optional date and time to schedule the publishing of the Blog. If no
1305
- # publishDate parameter is given, the post is either published at the a
1306
- # previously saved schedule date (if present), or the current time. If a future
1307
- # date is given, the post will be scheduled to be published.
1062
+ # @param [String] publish_date
1308
1063
  # @param [String] fields
1309
1064
  # Selector specifying which fields to include in a partial response.
1310
1065
  # @param [String] quota_user
1311
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1312
- # characters.
1313
- # @param [String] user_ip
1314
- # Deprecated. Please use quotaUser instead.
1066
+ # Available to use for quota purposes for server-side applications. Can be any
1067
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1315
1068
  # @param [Google::Apis::RequestOptions] options
1316
1069
  # Request-specific options
1317
1070
  #
@@ -1324,8 +1077,8 @@ module Google
1324
1077
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1325
1078
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1326
1079
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1327
- def publish_post(blog_id, post_id, publish_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1328
- command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/publish', options)
1080
+ def publish_post(blog_id, post_id, publish_date: nil, fields: nil, quota_user: nil, options: nil, &block)
1081
+ command = make_simple_command(:post, 'v3/blogs/{blogId}/posts/{postId}/publish', options)
1329
1082
  command.response_representation = Google::Apis::BloggerV3::Post::Representation
1330
1083
  command.response_class = Google::Apis::BloggerV3::Post
1331
1084
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -1333,22 +1086,17 @@ module Google
1333
1086
  command.query['publishDate'] = publish_date unless publish_date.nil?
1334
1087
  command.query['fields'] = fields unless fields.nil?
1335
1088
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1336
- command.query['userIp'] = user_ip unless user_ip.nil?
1337
1089
  execute_or_queue_command(command, &block)
1338
1090
  end
1339
1091
 
1340
- # Revert a published or scheduled post to draft state.
1092
+ # Reverts a published or scheduled post to draft state.
1341
1093
  # @param [String] blog_id
1342
- # The ID of the Blog.
1343
1094
  # @param [String] post_id
1344
- # The ID of the Post.
1345
1095
  # @param [String] fields
1346
1096
  # Selector specifying which fields to include in a partial response.
1347
1097
  # @param [String] quota_user
1348
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1349
- # characters.
1350
- # @param [String] user_ip
1351
- # Deprecated. Please use quotaUser instead.
1098
+ # Available to use for quota purposes for server-side applications. Can be any
1099
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1352
1100
  # @param [Google::Apis::RequestOptions] options
1353
1101
  # Request-specific options
1354
1102
  #
@@ -1361,35 +1109,27 @@ module Google
1361
1109
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1362
1110
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1363
1111
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1364
- def revert_post(blog_id, post_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1365
- command = make_simple_command(:post, 'blogs/{blogId}/posts/{postId}/revert', options)
1112
+ def revert_post(blog_id, post_id, fields: nil, quota_user: nil, options: nil, &block)
1113
+ command = make_simple_command(:post, 'v3/blogs/{blogId}/posts/{postId}/revert', options)
1366
1114
  command.response_representation = Google::Apis::BloggerV3::Post::Representation
1367
1115
  command.response_class = Google::Apis::BloggerV3::Post
1368
1116
  command.params['blogId'] = blog_id unless blog_id.nil?
1369
1117
  command.params['postId'] = post_id unless post_id.nil?
1370
1118
  command.query['fields'] = fields unless fields.nil?
1371
1119
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1372
- command.query['userIp'] = user_ip unless user_ip.nil?
1373
1120
  execute_or_queue_command(command, &block)
1374
1121
  end
1375
1122
 
1376
- # Search for a post.
1123
+ # Searches for posts matching given query terms in the specified blog.
1377
1124
  # @param [String] blog_id
1378
- # ID of the blog to fetch the post from.
1379
1125
  # @param [String] q
1380
- # Query terms to search this blog for matching posts.
1381
1126
  # @param [Boolean] fetch_bodies
1382
- # Whether the body content of posts is included (default: true). This should be
1383
- # set to false when the post bodies are not required, to help minimize traffic.
1384
1127
  # @param [String] order_by
1385
- # Sort search results
1386
1128
  # @param [String] fields
1387
1129
  # Selector specifying which fields to include in a partial response.
1388
1130
  # @param [String] quota_user
1389
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1390
- # characters.
1391
- # @param [String] user_ip
1392
- # Deprecated. Please use quotaUser instead.
1131
+ # Available to use for quota purposes for server-side applications. Can be any
1132
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1393
1133
  # @param [Google::Apis::RequestOptions] options
1394
1134
  # Request-specific options
1395
1135
  #
@@ -1402,8 +1142,8 @@ module Google
1402
1142
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1403
1143
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1404
1144
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1405
- def search_posts(blog_id, q, fetch_bodies: nil, order_by: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1406
- command = make_simple_command(:get, 'blogs/{blogId}/posts/search', options)
1145
+ def search_posts(blog_id, q, fetch_bodies: nil, order_by: nil, fields: nil, quota_user: nil, options: nil, &block)
1146
+ command = make_simple_command(:get, 'v3/blogs/{blogId}/posts/search', options)
1407
1147
  command.response_representation = Google::Apis::BloggerV3::PostList::Representation
1408
1148
  command.response_class = Google::Apis::BloggerV3::PostList
1409
1149
  command.params['blogId'] = blog_id unless blog_id.nil?
@@ -1412,37 +1152,23 @@ module Google
1412
1152
  command.query['q'] = q unless q.nil?
1413
1153
  command.query['fields'] = fields unless fields.nil?
1414
1154
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1415
- command.query['userIp'] = user_ip unless user_ip.nil?
1416
1155
  execute_or_queue_command(command, &block)
1417
1156
  end
1418
1157
 
1419
- # Update a post.
1158
+ # Updates a post by blog id and post id.
1420
1159
  # @param [String] blog_id
1421
- # The ID of the Blog.
1422
1160
  # @param [String] post_id
1423
- # The ID of the Post.
1424
1161
  # @param [Google::Apis::BloggerV3::Post] post_object
1425
1162
  # @param [Boolean] fetch_body
1426
- # Whether the body content of the post is included with the result (default:
1427
- # true).
1428
1163
  # @param [Boolean] fetch_images
1429
- # Whether image URL metadata for each post is included in the returned result (
1430
- # default: false).
1431
1164
  # @param [Fixnum] max_comments
1432
- # Maximum number of comments to retrieve with the returned post.
1433
1165
  # @param [Boolean] publish
1434
- # Whether a publish action should be performed when the post is updated (default:
1435
- # false).
1436
1166
  # @param [Boolean] revert
1437
- # Whether a revert action should be performed when the post is updated (default:
1438
- # false).
1439
1167
  # @param [String] fields
1440
1168
  # Selector specifying which fields to include in a partial response.
1441
1169
  # @param [String] quota_user
1442
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1443
- # characters.
1444
- # @param [String] user_ip
1445
- # Deprecated. Please use quotaUser instead.
1170
+ # Available to use for quota purposes for server-side applications. Can be any
1171
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1446
1172
  # @param [Google::Apis::RequestOptions] options
1447
1173
  # Request-specific options
1448
1174
  #
@@ -1455,8 +1181,8 @@ module Google
1455
1181
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1456
1182
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1457
1183
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1458
- 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)
1459
- command = make_simple_command(:put, 'blogs/{blogId}/posts/{postId}', options)
1184
+ 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, options: nil, &block)
1185
+ command = make_simple_command(:put, 'v3/blogs/{blogId}/posts/{postId}', options)
1460
1186
  command.request_representation = Google::Apis::BloggerV3::Post::Representation
1461
1187
  command.request_object = post_object
1462
1188
  command.response_representation = Google::Apis::BloggerV3::Post::Representation
@@ -1470,20 +1196,16 @@ module Google
1470
1196
  command.query['revert'] = revert unless revert.nil?
1471
1197
  command.query['fields'] = fields unless fields.nil?
1472
1198
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1473
- command.query['userIp'] = user_ip unless user_ip.nil?
1474
1199
  execute_or_queue_command(command, &block)
1475
1200
  end
1476
1201
 
1477
- # Gets one user by ID.
1202
+ # Gets one user by user_id.
1478
1203
  # @param [String] user_id
1479
- # The ID of the user to get.
1480
1204
  # @param [String] fields
1481
1205
  # Selector specifying which fields to include in a partial response.
1482
1206
  # @param [String] quota_user
1483
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1484
- # characters.
1485
- # @param [String] user_ip
1486
- # Deprecated. Please use quotaUser instead.
1207
+ # Available to use for quota purposes for server-side applications. Can be any
1208
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1487
1209
  # @param [Google::Apis::RequestOptions] options
1488
1210
  # Request-specific options
1489
1211
  #
@@ -1496,14 +1218,13 @@ module Google
1496
1218
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1497
1219
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1498
1220
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1499
- def get_user(user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1500
- command = make_simple_command(:get, 'users/{userId}', options)
1221
+ def get_user(user_id, fields: nil, quota_user: nil, options: nil, &block)
1222
+ command = make_simple_command(:get, 'v3/users/{userId}', options)
1501
1223
  command.response_representation = Google::Apis::BloggerV3::User::Representation
1502
1224
  command.response_class = Google::Apis::BloggerV3::User
1503
1225
  command.params['userId'] = user_id unless user_id.nil?
1504
1226
  command.query['fields'] = fields unless fields.nil?
1505
1227
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1506
- command.query['userIp'] = user_ip unless user_ip.nil?
1507
1228
  execute_or_queue_command(command, &block)
1508
1229
  end
1509
1230
 
@@ -1512,7 +1233,6 @@ module Google
1512
1233
  def apply_command_defaults(command)
1513
1234
  command.query['key'] = key unless key.nil?
1514
1235
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1515
- command.query['userIp'] = user_ip unless user_ip.nil?
1516
1236
  end
1517
1237
  end
1518
1238
  end