google-api-client 0.13.2 → 0.13.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (524) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +149 -0
  3. data/bin/generate-api +6 -2
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
  12. data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
  13. data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
  14. data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
  15. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
  16. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
  22. data/generated/google/apis/adexchangeseller_v1.rb +37 -0
  23. data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
  24. data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
  25. data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
  26. data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
  27. data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
  28. data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
  29. data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
  30. data/generated/google/apis/adexperiencereport_v1.rb +35 -0
  31. data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
  32. data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
  33. data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
  34. data/generated/google/apis/admin_directory_v1.rb +1 -1
  35. data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
  36. data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
  37. data/generated/google/apis/admin_directory_v1/service.rb +39 -0
  38. data/generated/google/apis/adsense_v1_4.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  40. data/generated/google/apis/analytics_v2_4.rb +37 -0
  41. data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
  42. data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
  43. data/generated/google/apis/analytics_v2_4/service.rb +345 -0
  44. data/generated/google/apis/analytics_v3.rb +1 -1
  45. data/generated/google/apis/analytics_v3/classes.rb +15 -2
  46. data/generated/google/apis/analytics_v3/representations.rb +3 -0
  47. data/generated/google/apis/analyticsreporting_v4.rb +4 -4
  48. data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
  49. data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
  50. data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
  51. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
  52. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
  53. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
  54. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  55. data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
  56. data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
  57. data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
  58. data/generated/google/apis/androidmanagement_v1.rb +35 -0
  59. data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
  60. data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
  61. data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
  62. data/generated/google/apis/androidpublisher_v1.rb +34 -0
  63. data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
  64. data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
  65. data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
  66. data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
  67. data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
  68. data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
  69. data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
  70. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  71. data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
  72. data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
  73. data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
  74. data/generated/google/apis/appengine_v1.rb +4 -4
  75. data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
  76. data/generated/google/apis/appengine_v1/representations.rb +351 -335
  77. data/generated/google/apis/appengine_v1/service.rb +255 -239
  78. data/generated/google/apis/appengine_v1alpha.rb +41 -0
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
  80. data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
  81. data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
  82. data/generated/google/apis/appengine_v1beta.rb +41 -0
  83. data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
  84. data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
  85. data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
  86. data/generated/google/apis/appengine_v1beta4.rb +41 -0
  87. data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
  88. data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
  89. data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
  90. data/generated/google/apis/appengine_v1beta5.rb +41 -0
  91. data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
  92. data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
  93. data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
  94. data/generated/google/apis/appsactivity_v1.rb +1 -1
  95. data/generated/google/apis/appstate_v1.rb +1 -1
  96. data/generated/google/apis/bigquery_v2.rb +1 -1
  97. data/generated/google/apis/bigquery_v2/classes.rb +106 -18
  98. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  99. data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
  100. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
  101. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
  102. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
  103. data/generated/google/apis/blogger_v2.rb +34 -0
  104. data/generated/google/apis/blogger_v2/classes.rb +947 -0
  105. data/generated/google/apis/blogger_v2/representations.rb +465 -0
  106. data/generated/google/apis/blogger_v2/service.rb +424 -0
  107. data/generated/google/apis/calendar_v3.rb +1 -1
  108. data/generated/google/apis/calendar_v3/classes.rb +4 -207
  109. data/generated/google/apis/calendar_v3/representations.rb +0 -97
  110. data/generated/google/apis/calendar_v3/service.rb +8 -4
  111. data/generated/google/apis/classroom_v1.rb +27 -27
  112. data/generated/google/apis/classroom_v1/classes.rb +1037 -926
  113. data/generated/google/apis/classroom_v1/representations.rb +294 -244
  114. data/generated/google/apis/classroom_v1/service.rb +1114 -1109
  115. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  116. data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
  117. data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
  118. data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
  119. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  120. data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
  121. data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
  122. data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
  123. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  124. data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
  125. data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
  126. data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
  127. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  128. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
  129. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
  130. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
  131. data/generated/google/apis/cloudfunctions_v1.rb +4 -1
  132. data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
  133. data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
  135. data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
  136. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
  137. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
  138. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
  139. data/generated/google/apis/cloudkms_v1.rb +1 -1
  140. data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
  141. data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
  142. data/generated/google/apis/cloudkms_v1/service.rb +320 -320
  143. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  145. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
  146. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  147. data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
  148. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  149. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
  150. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
  151. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
  152. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
  153. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
  154. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
  155. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
  156. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  157. data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
  158. data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
  159. data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
  160. data/generated/google/apis/cloudtrace_v2.rb +43 -0
  161. data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
  162. data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
  163. data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
  164. data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
  165. data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
  166. data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
  167. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
  168. data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
  169. data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
  170. data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
  171. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
  172. data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
  173. data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
  174. data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
  175. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
  176. data/generated/google/apis/compute_alpha.rb +49 -0
  177. data/generated/google/apis/compute_alpha/classes.rb +23796 -0
  178. data/generated/google/apis/compute_alpha/representations.rb +9391 -0
  179. data/generated/google/apis/compute_alpha/service.rb +24188 -0
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_beta/classes.rb +1597 -235
  182. data/generated/google/apis/compute_beta/representations.rb +477 -0
  183. data/generated/google/apis/compute_beta/service.rb +2875 -1677
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/compute_v1/classes.rb +319 -197
  186. data/generated/google/apis/compute_v1/representations.rb +51 -0
  187. data/generated/google/apis/compute_v1/service.rb +2057 -172
  188. data/generated/google/apis/consumersurveys_v2.rb +40 -0
  189. data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
  190. data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
  191. data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
  192. data/generated/google/apis/container_v1.rb +1 -1
  193. data/generated/google/apis/container_v1/classes.rb +1072 -936
  194. data/generated/google/apis/container_v1/representations.rb +266 -202
  195. data/generated/google/apis/container_v1/service.rb +243 -243
  196. data/generated/google/apis/container_v1beta1.rb +35 -0
  197. data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
  198. data/generated/google/apis/container_v1beta1/representations.rb +662 -0
  199. data/generated/google/apis/container_v1beta1/service.rb +1875 -0
  200. data/generated/google/apis/content_v2.rb +1 -1
  201. data/generated/google/apis/content_v2/classes.rb +72 -3
  202. data/generated/google/apis/content_v2/representations.rb +23 -0
  203. data/generated/google/apis/content_v2/service.rb +23 -18
  204. data/generated/google/apis/content_v2sandbox.rb +35 -0
  205. data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
  206. data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
  207. data/generated/google/apis/content_v2sandbox/service.rb +709 -0
  208. data/generated/google/apis/dataflow_v1b3.rb +5 -5
  209. data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
  210. data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
  211. data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
  212. data/generated/google/apis/dataproc_v1.rb +1 -1
  213. data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
  214. data/generated/google/apis/dataproc_v1/representations.rb +227 -227
  215. data/generated/google/apis/dataproc_v1/service.rb +254 -254
  216. data/generated/google/apis/dataproc_v1beta2.rb +34 -0
  217. data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
  218. data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
  220. data/generated/google/apis/datastore_v1.rb +4 -4
  221. data/generated/google/apis/datastore_v1/classes.rb +1311 -773
  222. data/generated/google/apis/datastore_v1/representations.rb +351 -148
  223. data/generated/google/apis/datastore_v1/service.rb +206 -55
  224. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  225. data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
  226. data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
  227. data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
  228. data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
  229. data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
  230. data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
  231. data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
  232. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  233. data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
  234. data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
  235. data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
  236. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
  237. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
  238. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
  239. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  240. data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
  241. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
  242. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  243. data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
  244. data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
  245. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
  246. data/generated/google/apis/dlp_v2beta1.rb +36 -0
  247. data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
  248. data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
  249. data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
  250. data/generated/google/apis/dns_v1.rb +1 -1
  251. data/generated/google/apis/dns_v2beta1.rb +1 -1
  252. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  253. data/generated/google/apis/drive_v2.rb +1 -1
  254. data/generated/google/apis/drive_v3.rb +1 -1
  255. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  256. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
  257. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
  258. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  259. data/generated/google/apis/firebaserules_v1.rb +1 -1
  260. data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
  261. data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
  262. data/generated/google/apis/firebaserules_v1/service.rb +113 -113
  263. data/generated/google/apis/fitness_v1.rb +1 -1
  264. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  265. data/generated/google/apis/fusiontables_v1.rb +37 -0
  266. data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
  267. data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
  268. data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
  269. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  270. data/generated/google/apis/games_management_v1management.rb +1 -1
  271. data/generated/google/apis/games_v1.rb +1 -1
  272. data/generated/google/apis/genomics_v1.rb +8 -8
  273. data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
  274. data/generated/google/apis/genomics_v1/representations.rb +482 -482
  275. data/generated/google/apis/genomics_v1/service.rb +966 -966
  276. data/generated/google/apis/genomics_v1alpha2.rb +40 -0
  277. data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
  278. data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
  279. data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
  280. data/generated/google/apis/gmail_v1.rb +1 -1
  281. data/generated/google/apis/iam_v1.rb +1 -1
  282. data/generated/google/apis/iam_v1/classes.rb +664 -395
  283. data/generated/google/apis/iam_v1/representations.rb +194 -81
  284. data/generated/google/apis/iam_v1/service.rb +657 -92
  285. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  286. data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
  287. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  288. data/generated/google/apis/kgsearch_v1/service.rb +8 -8
  289. data/generated/google/apis/language_v1.rb +4 -1
  290. data/generated/google/apis/language_v1/classes.rb +393 -393
  291. data/generated/google/apis/language_v1/representations.rb +95 -95
  292. data/generated/google/apis/language_v1/service.rb +42 -42
  293. data/generated/google/apis/language_v1beta1.rb +4 -1
  294. data/generated/google/apis/language_v1beta1/classes.rb +457 -457
  295. data/generated/google/apis/language_v1beta1/representations.rb +114 -114
  296. data/generated/google/apis/language_v1beta1/service.rb +48 -48
  297. data/generated/google/apis/language_v1beta2.rb +39 -0
  298. data/generated/google/apis/language_v1beta2/classes.rb +824 -0
  299. data/generated/google/apis/language_v1beta2/representations.rb +373 -0
  300. data/generated/google/apis/language_v1beta2/service.rb +217 -0
  301. data/generated/google/apis/logging_v2.rb +9 -9
  302. data/generated/google/apis/logging_v2/classes.rb +840 -834
  303. data/generated/google/apis/logging_v2/representations.rb +168 -167
  304. data/generated/google/apis/logging_v2/service.rb +667 -463
  305. data/generated/google/apis/logging_v2beta1.rb +9 -9
  306. data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
  307. data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
  308. data/generated/google/apis/logging_v2beta1/service.rb +253 -255
  309. data/generated/google/apis/manufacturers_v1.rb +1 -1
  310. data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
  311. data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
  312. data/generated/google/apis/manufacturers_v1/service.rb +8 -7
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +1487 -1676
  315. data/generated/google/apis/ml_v1/representations.rb +229 -299
  316. data/generated/google/apis/ml_v1/service.rb +359 -253
  317. data/generated/google/apis/ml_v1beta1.rb +34 -0
  318. data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
  319. data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
  320. data/generated/google/apis/ml_v1beta1/service.rb +975 -0
  321. data/generated/google/apis/monitoring_v3.rb +6 -6
  322. data/generated/google/apis/monitoring_v3/classes.rb +834 -834
  323. data/generated/google/apis/monitoring_v3/representations.rb +168 -168
  324. data/generated/google/apis/monitoring_v3/service.rb +330 -330
  325. data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
  326. data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
  327. data/generated/google/apis/mybusiness_v3/service.rb +241 -241
  328. data/generated/google/apis/oauth2_v1.rb +43 -0
  329. data/generated/google/apis/oauth2_v1/classes.rb +321 -0
  330. data/generated/google/apis/oauth2_v1/representations.rb +135 -0
  331. data/generated/google/apis/oauth2_v1/service.rb +337 -0
  332. data/generated/google/apis/oauth2_v2.rb +1 -1
  333. data/generated/google/apis/oslogin_v1alpha.rb +37 -0
  334. data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
  335. data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
  336. data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
  337. data/generated/google/apis/pagespeedonline_v1.rb +32 -0
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
  341. data/generated/google/apis/partners_v2.rb +1 -1
  342. data/generated/google/apis/partners_v2/classes.rb +1512 -1512
  343. data/generated/google/apis/partners_v2/representations.rb +368 -368
  344. data/generated/google/apis/partners_v2/service.rb +596 -596
  345. data/generated/google/apis/people_v1.rb +15 -15
  346. data/generated/google/apis/people_v1/classes.rb +1384 -1383
  347. data/generated/google/apis/people_v1/representations.rb +311 -311
  348. data/generated/google/apis/people_v1/service.rb +208 -202
  349. data/generated/google/apis/playcustomapp_v1.rb +34 -0
  350. data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
  351. data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
  352. data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
  353. data/generated/google/apis/playmoviespartner_v1.rb +34 -0
  354. data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
  355. data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
  356. data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
  357. data/generated/google/apis/plus_domains_v1.rb +1 -1
  358. data/generated/google/apis/plus_v1.rb +1 -1
  359. data/generated/google/apis/prediction_v1_2.rb +44 -0
  360. data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
  361. data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
  362. data/generated/google/apis/prediction_v1_2/service.rb +287 -0
  363. data/generated/google/apis/prediction_v1_3.rb +44 -0
  364. data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
  365. data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
  366. data/generated/google/apis/prediction_v1_3/service.rb +284 -0
  367. data/generated/google/apis/prediction_v1_4.rb +44 -0
  368. data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
  369. data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
  370. data/generated/google/apis/prediction_v1_4/service.rb +284 -0
  371. data/generated/google/apis/prediction_v1_5.rb +44 -0
  372. data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
  373. data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
  374. data/generated/google/apis/prediction_v1_5/service.rb +357 -0
  375. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  376. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
  377. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
  378. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
  379. data/generated/google/apis/pubsub_v1.rb +4 -4
  380. data/generated/google/apis/pubsub_v1/classes.rb +352 -352
  381. data/generated/google/apis/pubsub_v1/representations.rb +77 -77
  382. data/generated/google/apis/pubsub_v1/service.rb +346 -346
  383. data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
  384. data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
  385. data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
  386. data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
  387. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  388. data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
  389. data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
  390. data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
  391. data/generated/google/apis/replicapool_v1beta1.rb +50 -0
  392. data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
  393. data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
  394. data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
  395. data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
  396. data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
  397. data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
  398. data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
  399. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  400. data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
  401. data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
  402. data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
  403. data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
  404. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
  405. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
  406. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
  407. data/generated/google/apis/safebrowsing_v4.rb +32 -0
  408. data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
  409. data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
  410. data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
  411. data/generated/google/apis/script_v1.rb +19 -19
  412. data/generated/google/apis/script_v1/classes.rb +99 -157
  413. data/generated/google/apis/script_v1/representations.rb +17 -47
  414. data/generated/google/apis/script_v1/service.rb +12 -12
  415. data/generated/google/apis/searchconsole_v1.rb +1 -1
  416. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  417. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  418. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  419. data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
  420. data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
  421. data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
  422. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  423. data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
  424. data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
  425. data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
  426. data/generated/google/apis/serviceuser_v1.rb +5 -5
  427. data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
  428. data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
  429. data/generated/google/apis/serviceuser_v1/service.rb +43 -43
  430. data/generated/google/apis/sheets_v4.rb +7 -7
  431. data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
  432. data/generated/google/apis/sheets_v4/representations.rb +931 -930
  433. data/generated/google/apis/sheets_v4/service.rb +244 -244
  434. data/generated/google/apis/slides_v1.rb +10 -10
  435. data/generated/google/apis/slides_v1/classes.rb +2915 -2915
  436. data/generated/google/apis/slides_v1/representations.rb +698 -698
  437. data/generated/google/apis/slides_v1/service.rb +35 -35
  438. data/generated/google/apis/sourcerepo_v1.rb +3 -3
  439. data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
  440. data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
  441. data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
  442. data/generated/google/apis/spanner_v1.rb +4 -4
  443. data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
  444. data/generated/google/apis/spanner_v1/representations.rb +338 -323
  445. data/generated/google/apis/spanner_v1/service.rb +689 -689
  446. data/generated/google/apis/spectrum_v1explorer.rb +31 -0
  447. data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
  448. data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
  449. data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
  450. data/generated/google/apis/speech_v1.rb +34 -0
  451. data/generated/google/apis/speech_v1/classes.rb +572 -0
  452. data/generated/google/apis/speech_v1/representations.rb +236 -0
  453. data/generated/google/apis/speech_v1/service.rb +277 -0
  454. data/generated/google/apis/speech_v1beta1.rb +1 -1
  455. data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
  456. data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
  457. data/generated/google/apis/speech_v1beta1/service.rb +46 -46
  458. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  459. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
  460. data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
  461. data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
  462. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  463. data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
  464. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  465. data/generated/google/apis/storage_v1.rb +1 -1
  466. data/generated/google/apis/storage_v1/classes.rb +7 -6
  467. data/generated/google/apis/storage_v1/service.rb +51 -29
  468. data/generated/google/apis/storage_v1beta1.rb +40 -0
  469. data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
  470. data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
  471. data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
  472. data/generated/google/apis/storage_v1beta2.rb +40 -0
  473. data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
  474. data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
  475. data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
  476. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  477. data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
  478. data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
  479. data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
  480. data/generated/google/apis/streetviewpublish_v1.rb +36 -0
  481. data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
  482. data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
  483. data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
  484. data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
  485. data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
  486. data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
  487. data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
  488. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  489. data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
  490. data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
  491. data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
  492. data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
  493. data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
  494. data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
  495. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
  496. data/generated/google/apis/translate_v2/classes.rb +111 -111
  497. data/generated/google/apis/translate_v2/representations.rb +49 -49
  498. data/generated/google/apis/translate_v2/service.rb +94 -94
  499. data/generated/google/apis/vault_v1.rb +31 -0
  500. data/generated/google/apis/vault_v1/classes.rb +554 -0
  501. data/generated/google/apis/vault_v1/representations.rb +318 -0
  502. data/generated/google/apis/vault_v1/service.rb +677 -0
  503. data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
  504. data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
  505. data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
  506. data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
  507. data/generated/google/apis/vision_v1.rb +4 -4
  508. data/generated/google/apis/vision_v1/classes.rb +1176 -1178
  509. data/generated/google/apis/vision_v1/representations.rb +235 -235
  510. data/generated/google/apis/webmasters_v3.rb +1 -1
  511. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  512. data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
  513. data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
  514. data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
  515. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
  516. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  517. data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
  518. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
  519. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  520. data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
  521. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  522. data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
  523. data/lib/google/apis/version.rb +1 -1
  524. metadata +246 -2
@@ -22,43 +22,43 @@ module Google
22
22
  module Apis
23
23
  module PubsubV1
24
24
 
25
- class PublishResponse
25
+ class AcknowledgeRequest
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class Subscription
31
+ class Binding
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class TestIamPermissionsRequest
37
+ class Empty
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class Policy
43
+ class ListSubscriptionsResponse
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class Topic
49
+ class ListTopicSubscriptionsResponse
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class ModifyAckDeadlineRequest
55
+ class ListTopicsResponse
56
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
57
 
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class SetIamPolicyRequest
61
+ class ModifyAckDeadlineRequest
62
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
63
 
64
64
  include Google::Apis::Core::JsonObjectSupport
@@ -70,43 +70,43 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class Message
73
+ class Policy
74
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
75
 
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class Binding
79
+ class PublishRequest
80
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
81
 
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class Empty
85
+ class PublishResponse
86
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
87
 
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class AcknowledgeRequest
91
+ class Message
92
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
93
 
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class ListTopicsResponse
97
+ class PullRequest
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
99
 
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class ListTopicSubscriptionsResponse
103
+ class PullResponse
104
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
105
 
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class PullResponse
109
+ class PushConfig
110
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
111
 
112
112
  include Google::Apis::Core::JsonObjectSupport
@@ -118,91 +118,88 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class PushConfig
121
+ class SetIamPolicyRequest
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
- class TestIamPermissionsResponse
127
+ class Subscription
128
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
129
 
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class PullRequest
133
+ class TestIamPermissionsRequest
134
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
135
 
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
- class ListSubscriptionsResponse
139
+ class TestIamPermissionsResponse
140
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
141
 
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
- class PublishRequest
145
+ class Topic
146
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
147
 
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
- class PublishResponse
151
+ class AcknowledgeRequest
152
152
  # @private
153
153
  class Representation < Google::Apis::Core::JsonRepresentation
154
- collection :message_ids, as: 'messageIds'
154
+ collection :ack_ids, as: 'ackIds'
155
155
  end
156
156
  end
157
157
 
158
- class Subscription
158
+ class Binding
159
159
  # @private
160
160
  class Representation < Google::Apis::Core::JsonRepresentation
161
- property :topic, as: 'topic'
162
- property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation
163
-
164
- property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
165
- property :name, as: 'name'
161
+ collection :members, as: 'members'
162
+ property :role, as: 'role'
166
163
  end
167
164
  end
168
165
 
169
- class TestIamPermissionsRequest
166
+ class Empty
170
167
  # @private
171
168
  class Representation < Google::Apis::Core::JsonRepresentation
172
- collection :permissions, as: 'permissions'
173
169
  end
174
170
  end
175
171
 
176
- class Policy
172
+ class ListSubscriptionsResponse
177
173
  # @private
178
174
  class Representation < Google::Apis::Core::JsonRepresentation
179
- property :etag, :base64 => true, as: 'etag'
180
- property :version, as: 'version'
181
- collection :bindings, as: 'bindings', class: Google::Apis::PubsubV1::Binding, decorator: Google::Apis::PubsubV1::Binding::Representation
175
+ property :next_page_token, as: 'nextPageToken'
176
+ collection :subscriptions, as: 'subscriptions', class: Google::Apis::PubsubV1::Subscription, decorator: Google::Apis::PubsubV1::Subscription::Representation
182
177
 
183
178
  end
184
179
  end
185
180
 
186
- class Topic
181
+ class ListTopicSubscriptionsResponse
187
182
  # @private
188
183
  class Representation < Google::Apis::Core::JsonRepresentation
189
- property :name, as: 'name'
184
+ property :next_page_token, as: 'nextPageToken'
185
+ collection :subscriptions, as: 'subscriptions'
190
186
  end
191
187
  end
192
188
 
193
- class ModifyAckDeadlineRequest
189
+ class ListTopicsResponse
194
190
  # @private
195
191
  class Representation < Google::Apis::Core::JsonRepresentation
196
- property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
197
- collection :ack_ids, as: 'ackIds'
192
+ property :next_page_token, as: 'nextPageToken'
193
+ collection :topics, as: 'topics', class: Google::Apis::PubsubV1::Topic, decorator: Google::Apis::PubsubV1::Topic::Representation
194
+
198
195
  end
199
196
  end
200
197
 
201
- class SetIamPolicyRequest
198
+ class ModifyAckDeadlineRequest
202
199
  # @private
203
200
  class Representation < Google::Apis::Core::JsonRepresentation
204
- property :policy, as: 'policy', class: Google::Apis::PubsubV1::Policy, decorator: Google::Apis::PubsubV1::Policy::Representation
205
-
201
+ property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
202
+ collection :ack_ids, as: 'ackIds'
206
203
  end
207
204
  end
208
205
 
@@ -214,59 +211,62 @@ module Google
214
211
  end
215
212
  end
216
213
 
217
- class Message
214
+ class Policy
218
215
  # @private
219
216
  class Representation < Google::Apis::Core::JsonRepresentation
220
- property :message_id, as: 'messageId'
221
- hash :attributes, as: 'attributes'
222
- property :publish_time, as: 'publishTime'
223
- property :data, :base64 => true, as: 'data'
217
+ collection :bindings, as: 'bindings', class: Google::Apis::PubsubV1::Binding, decorator: Google::Apis::PubsubV1::Binding::Representation
218
+
219
+ property :etag, :base64 => true, as: 'etag'
220
+ property :version, as: 'version'
224
221
  end
225
222
  end
226
223
 
227
- class Binding
224
+ class PublishRequest
228
225
  # @private
229
226
  class Representation < Google::Apis::Core::JsonRepresentation
230
- property :role, as: 'role'
231
- collection :members, as: 'members'
227
+ collection :messages, as: 'messages', class: Google::Apis::PubsubV1::Message, decorator: Google::Apis::PubsubV1::Message::Representation
228
+
232
229
  end
233
230
  end
234
231
 
235
- class Empty
232
+ class PublishResponse
236
233
  # @private
237
234
  class Representation < Google::Apis::Core::JsonRepresentation
235
+ collection :message_ids, as: 'messageIds'
238
236
  end
239
237
  end
240
238
 
241
- class AcknowledgeRequest
239
+ class Message
242
240
  # @private
243
241
  class Representation < Google::Apis::Core::JsonRepresentation
244
- collection :ack_ids, as: 'ackIds'
242
+ hash :attributes, as: 'attributes'
243
+ property :data, :base64 => true, as: 'data'
244
+ property :message_id, as: 'messageId'
245
+ property :publish_time, as: 'publishTime'
245
246
  end
246
247
  end
247
248
 
248
- class ListTopicsResponse
249
+ class PullRequest
249
250
  # @private
250
251
  class Representation < Google::Apis::Core::JsonRepresentation
251
- property :next_page_token, as: 'nextPageToken'
252
- collection :topics, as: 'topics', class: Google::Apis::PubsubV1::Topic, decorator: Google::Apis::PubsubV1::Topic::Representation
253
-
252
+ property :max_messages, as: 'maxMessages'
253
+ property :return_immediately, as: 'returnImmediately'
254
254
  end
255
255
  end
256
256
 
257
- class ListTopicSubscriptionsResponse
257
+ class PullResponse
258
258
  # @private
259
259
  class Representation < Google::Apis::Core::JsonRepresentation
260
- property :next_page_token, as: 'nextPageToken'
261
- collection :subscriptions, as: 'subscriptions'
260
+ collection :received_messages, as: 'receivedMessages', class: Google::Apis::PubsubV1::ReceivedMessage, decorator: Google::Apis::PubsubV1::ReceivedMessage::Representation
261
+
262
262
  end
263
263
  end
264
264
 
265
- class PullResponse
265
+ class PushConfig
266
266
  # @private
267
267
  class Representation < Google::Apis::Core::JsonRepresentation
268
- collection :received_messages, as: 'receivedMessages', class: Google::Apis::PubsubV1::ReceivedMessage, decorator: Google::Apis::PubsubV1::ReceivedMessage::Representation
269
-
268
+ hash :attributes, as: 'attributes'
269
+ property :push_endpoint, as: 'pushEndpoint'
270
270
  end
271
271
  end
272
272
 
@@ -279,43 +279,43 @@ module Google
279
279
  end
280
280
  end
281
281
 
282
- class PushConfig
282
+ class SetIamPolicyRequest
283
283
  # @private
284
284
  class Representation < Google::Apis::Core::JsonRepresentation
285
- hash :attributes, as: 'attributes'
286
- property :push_endpoint, as: 'pushEndpoint'
285
+ property :policy, as: 'policy', class: Google::Apis::PubsubV1::Policy, decorator: Google::Apis::PubsubV1::Policy::Representation
286
+
287
287
  end
288
288
  end
289
289
 
290
- class TestIamPermissionsResponse
290
+ class Subscription
291
291
  # @private
292
292
  class Representation < Google::Apis::Core::JsonRepresentation
293
- collection :permissions, as: 'permissions'
293
+ property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
294
+ property :name, as: 'name'
295
+ property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation
296
+
297
+ property :topic, as: 'topic'
294
298
  end
295
299
  end
296
300
 
297
- class PullRequest
301
+ class TestIamPermissionsRequest
298
302
  # @private
299
303
  class Representation < Google::Apis::Core::JsonRepresentation
300
- property :return_immediately, as: 'returnImmediately'
301
- property :max_messages, as: 'maxMessages'
304
+ collection :permissions, as: 'permissions'
302
305
  end
303
306
  end
304
307
 
305
- class ListSubscriptionsResponse
308
+ class TestIamPermissionsResponse
306
309
  # @private
307
310
  class Representation < Google::Apis::Core::JsonRepresentation
308
- property :next_page_token, as: 'nextPageToken'
309
- collection :subscriptions, as: 'subscriptions', class: Google::Apis::PubsubV1::Subscription, decorator: Google::Apis::PubsubV1::Subscription::Representation
310
-
311
+ collection :permissions, as: 'permissions'
311
312
  end
312
313
  end
313
314
 
314
- class PublishRequest
315
+ class Topic
315
316
  # @private
316
317
  class Representation < Google::Apis::Core::JsonRepresentation
317
- collection :messages, as: 'messages', class: Google::Apis::PubsubV1::Message, decorator: Google::Apis::PubsubV1::Message::Representation
318
-
318
+ property :name, as: 'name'
319
319
  end
320
320
  end
321
321
  end
@@ -47,17 +47,50 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
+ # Gets the access control policy for a resource.
51
+ # Returns an empty policy if the resource exists and does not have a policy
52
+ # set.
53
+ # @param [String] resource
54
+ # REQUIRED: The resource for which the policy is being requested.
55
+ # See the operation documentation for the appropriate value for this field.
56
+ # @param [String] fields
57
+ # Selector specifying which fields to include in a partial response.
58
+ # @param [String] quota_user
59
+ # Available to use for quota purposes for server-side applications. Can be any
60
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
61
+ # @param [Google::Apis::RequestOptions] options
62
+ # Request-specific options
63
+ #
64
+ # @yield [result, err] Result & error if block supplied
65
+ # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object
66
+ # @yieldparam err [StandardError] error object if request failed
67
+ #
68
+ # @return [Google::Apis::PubsubV1::Policy]
69
+ #
70
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
71
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
72
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
73
+ def get_project_snapshot_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
74
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
75
+ command.response_representation = Google::Apis::PubsubV1::Policy::Representation
76
+ command.response_class = Google::Apis::PubsubV1::Policy
77
+ command.params['resource'] = resource unless resource.nil?
78
+ command.query['fields'] = fields unless fields.nil?
79
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
80
+ execute_or_queue_command(command, &block)
81
+ end
82
+
50
83
  # Sets the access control policy on the specified resource. Replaces any
51
84
  # existing policy.
52
85
  # @param [String] resource
53
86
  # REQUIRED: The resource for which the policy is being specified.
54
87
  # See the operation documentation for the appropriate value for this field.
55
88
  # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
89
+ # @param [String] fields
90
+ # Selector specifying which fields to include in a partial response.
56
91
  # @param [String] quota_user
57
92
  # Available to use for quota purposes for server-side applications. Can be any
58
93
  # arbitrary string assigned to a user, but should not exceed 40 characters.
59
- # @param [String] fields
60
- # Selector specifying which fields to include in a partial response.
61
94
  # @param [Google::Apis::RequestOptions] options
62
95
  # Request-specific options
63
96
  #
@@ -70,15 +103,15 @@ module Google
70
103
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
71
104
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
72
105
  # @raise [Google::Apis::AuthorizationError] Authorization is required
73
- def set_snapshot_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
106
+ def set_snapshot_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
74
107
  command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
75
108
  command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation
76
109
  command.request_object = set_iam_policy_request_object
77
110
  command.response_representation = Google::Apis::PubsubV1::Policy::Representation
78
111
  command.response_class = Google::Apis::PubsubV1::Policy
79
112
  command.params['resource'] = resource unless resource.nil?
80
- command.query['quotaUser'] = quota_user unless quota_user.nil?
81
113
  command.query['fields'] = fields unless fields.nil?
114
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
82
115
  execute_or_queue_command(command, &block)
83
116
  end
84
117
 
@@ -92,11 +125,11 @@ module Google
92
125
  # REQUIRED: The resource for which the policy detail is being requested.
93
126
  # See the operation documentation for the appropriate value for this field.
94
127
  # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
128
+ # @param [String] fields
129
+ # Selector specifying which fields to include in a partial response.
95
130
  # @param [String] quota_user
96
131
  # Available to use for quota purposes for server-side applications. Can be any
97
132
  # arbitrary string assigned to a user, but should not exceed 40 characters.
98
- # @param [String] fields
99
- # Selector specifying which fields to include in a partial response.
100
133
  # @param [Google::Apis::RequestOptions] options
101
134
  # Request-specific options
102
135
  #
@@ -109,173 +142,180 @@ module Google
109
142
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
110
143
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
111
144
  # @raise [Google::Apis::AuthorizationError] Authorization is required
112
- def test_snapshot_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
145
+ def test_snapshot_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
113
146
  command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
114
147
  command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation
115
148
  command.request_object = test_iam_permissions_request_object
116
149
  command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation
117
150
  command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse
118
151
  command.params['resource'] = resource unless resource.nil?
119
- command.query['quotaUser'] = quota_user unless quota_user.nil?
120
152
  command.query['fields'] = fields unless fields.nil?
153
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
121
154
  execute_or_queue_command(command, &block)
122
155
  end
123
156
 
124
- # Gets the access control policy for a resource.
125
- # Returns an empty policy if the resource exists and does not have a policy
126
- # set.
127
- # @param [String] resource
128
- # REQUIRED: The resource for which the policy is being requested.
129
- # See the operation documentation for the appropriate value for this field.
157
+ # Acknowledges the messages associated with the `ack_ids` in the
158
+ # `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages
159
+ # from the subscription.
160
+ # Acknowledging a message whose ack deadline has expired may succeed,
161
+ # but such a message may be redelivered later. Acknowledging a message more
162
+ # than once will not result in an error.
163
+ # @param [String] subscription
164
+ # The subscription whose message is being acknowledged.
165
+ # Format is `projects/`project`/subscriptions/`sub``.
166
+ # @param [Google::Apis::PubsubV1::AcknowledgeRequest] acknowledge_request_object
167
+ # @param [String] fields
168
+ # Selector specifying which fields to include in a partial response.
130
169
  # @param [String] quota_user
131
170
  # Available to use for quota purposes for server-side applications. Can be any
132
171
  # arbitrary string assigned to a user, but should not exceed 40 characters.
133
- # @param [String] fields
134
- # Selector specifying which fields to include in a partial response.
135
172
  # @param [Google::Apis::RequestOptions] options
136
173
  # Request-specific options
137
174
  #
138
175
  # @yield [result, err] Result & error if block supplied
139
- # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object
176
+ # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object
140
177
  # @yieldparam err [StandardError] error object if request failed
141
178
  #
142
- # @return [Google::Apis::PubsubV1::Policy]
179
+ # @return [Google::Apis::PubsubV1::Empty]
143
180
  #
144
181
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
145
182
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
146
183
  # @raise [Google::Apis::AuthorizationError] Authorization is required
147
- def get_project_snapshot_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block)
148
- command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
149
- command.response_representation = Google::Apis::PubsubV1::Policy::Representation
150
- command.response_class = Google::Apis::PubsubV1::Policy
151
- command.params['resource'] = resource unless resource.nil?
152
- command.query['quotaUser'] = quota_user unless quota_user.nil?
184
+ def acknowledge_subscription(subscription, acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
185
+ command = make_simple_command(:post, 'v1/{+subscription}:acknowledge', options)
186
+ command.request_representation = Google::Apis::PubsubV1::AcknowledgeRequest::Representation
187
+ command.request_object = acknowledge_request_object
188
+ command.response_representation = Google::Apis::PubsubV1::Empty::Representation
189
+ command.response_class = Google::Apis::PubsubV1::Empty
190
+ command.params['subscription'] = subscription unless subscription.nil?
153
191
  command.query['fields'] = fields unless fields.nil?
192
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
154
193
  execute_or_queue_command(command, &block)
155
194
  end
156
195
 
157
- # Deletes an existing subscription. All messages retained in the subscription
158
- # are immediately dropped. Calls to `Pull` after deletion will return
159
- # `NOT_FOUND`. After a subscription is deleted, a new one may be created with
160
- # the same name, but the new one has no association with the old
161
- # subscription or its topic unless the same topic is specified.
162
- # @param [String] subscription
163
- # The subscription to delete.
164
- # Format is `projects/`project`/subscriptions/`sub``.
196
+ # Creates a subscription to a given topic.
197
+ # If the subscription already exists, returns `ALREADY_EXISTS`.
198
+ # If the corresponding topic doesn't exist, returns `NOT_FOUND`.
199
+ # If the name is not provided in the request, the server will assign a random
200
+ # name for this subscription on the same project as the topic, conforming
201
+ # to the
202
+ # [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
203
+ # The generated name is populated in the returned Subscription object.
204
+ # Note that for REST API requests, you must specify a name in the request.
205
+ # @param [String] name
206
+ # The name of the subscription. It must have the format
207
+ # `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must
208
+ # start with a letter, and contain only letters (`[A-Za-z]`), numbers
209
+ # (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
210
+ # plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters
211
+ # in length, and it must not start with `"goog"`.
212
+ # @param [Google::Apis::PubsubV1::Subscription] subscription_object
213
+ # @param [String] fields
214
+ # Selector specifying which fields to include in a partial response.
165
215
  # @param [String] quota_user
166
216
  # Available to use for quota purposes for server-side applications. Can be any
167
217
  # arbitrary string assigned to a user, but should not exceed 40 characters.
168
- # @param [String] fields
169
- # Selector specifying which fields to include in a partial response.
170
218
  # @param [Google::Apis::RequestOptions] options
171
219
  # Request-specific options
172
220
  #
173
221
  # @yield [result, err] Result & error if block supplied
174
- # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object
222
+ # @yieldparam result [Google::Apis::PubsubV1::Subscription] parsed result object
175
223
  # @yieldparam err [StandardError] error object if request failed
176
224
  #
177
- # @return [Google::Apis::PubsubV1::Empty]
225
+ # @return [Google::Apis::PubsubV1::Subscription]
178
226
  #
179
227
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
180
228
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
181
229
  # @raise [Google::Apis::AuthorizationError] Authorization is required
182
- def delete_subscription(subscription, quota_user: nil, fields: nil, options: nil, &block)
183
- command = make_simple_command(:delete, 'v1/{+subscription}', options)
184
- command.response_representation = Google::Apis::PubsubV1::Empty::Representation
185
- command.response_class = Google::Apis::PubsubV1::Empty
186
- command.params['subscription'] = subscription unless subscription.nil?
187
- command.query['quotaUser'] = quota_user unless quota_user.nil?
230
+ def create_subscription(name, subscription_object = nil, fields: nil, quota_user: nil, options: nil, &block)
231
+ command = make_simple_command(:put, 'v1/{+name}', options)
232
+ command.request_representation = Google::Apis::PubsubV1::Subscription::Representation
233
+ command.request_object = subscription_object
234
+ command.response_representation = Google::Apis::PubsubV1::Subscription::Representation
235
+ command.response_class = Google::Apis::PubsubV1::Subscription
236
+ command.params['name'] = name unless name.nil?
188
237
  command.query['fields'] = fields unless fields.nil?
238
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
189
239
  execute_or_queue_command(command, &block)
190
240
  end
191
241
 
192
- # Pulls messages from the server. Returns an empty list if there are no
193
- # messages available in the backlog. The server may return `UNAVAILABLE` if
194
- # there are too many concurrent pull requests pending for the given
195
- # subscription.
242
+ # Deletes an existing subscription. All messages retained in the subscription
243
+ # are immediately dropped. Calls to `Pull` after deletion will return
244
+ # `NOT_FOUND`. After a subscription is deleted, a new one may be created with
245
+ # the same name, but the new one has no association with the old
246
+ # subscription or its topic unless the same topic is specified.
196
247
  # @param [String] subscription
197
- # The subscription from which messages should be pulled.
248
+ # The subscription to delete.
198
249
  # Format is `projects/`project`/subscriptions/`sub``.
199
- # @param [Google::Apis::PubsubV1::PullRequest] pull_request_object
250
+ # @param [String] fields
251
+ # Selector specifying which fields to include in a partial response.
200
252
  # @param [String] quota_user
201
253
  # Available to use for quota purposes for server-side applications. Can be any
202
254
  # arbitrary string assigned to a user, but should not exceed 40 characters.
203
- # @param [String] fields
204
- # Selector specifying which fields to include in a partial response.
205
255
  # @param [Google::Apis::RequestOptions] options
206
256
  # Request-specific options
207
257
  #
208
258
  # @yield [result, err] Result & error if block supplied
209
- # @yieldparam result [Google::Apis::PubsubV1::PullResponse] parsed result object
259
+ # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object
210
260
  # @yieldparam err [StandardError] error object if request failed
211
261
  #
212
- # @return [Google::Apis::PubsubV1::PullResponse]
262
+ # @return [Google::Apis::PubsubV1::Empty]
213
263
  #
214
264
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
215
265
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
216
266
  # @raise [Google::Apis::AuthorizationError] Authorization is required
217
- def pull_subscription(subscription, pull_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
218
- command = make_simple_command(:post, 'v1/{+subscription}:pull', options)
219
- command.request_representation = Google::Apis::PubsubV1::PullRequest::Representation
220
- command.request_object = pull_request_object
221
- command.response_representation = Google::Apis::PubsubV1::PullResponse::Representation
222
- command.response_class = Google::Apis::PubsubV1::PullResponse
267
+ def delete_subscription(subscription, fields: nil, quota_user: nil, options: nil, &block)
268
+ command = make_simple_command(:delete, 'v1/{+subscription}', options)
269
+ command.response_representation = Google::Apis::PubsubV1::Empty::Representation
270
+ command.response_class = Google::Apis::PubsubV1::Empty
223
271
  command.params['subscription'] = subscription unless subscription.nil?
224
- command.query['quotaUser'] = quota_user unless quota_user.nil?
225
272
  command.query['fields'] = fields unless fields.nil?
273
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
226
274
  execute_or_queue_command(command, &block)
227
275
  end
228
276
 
229
- # Lists matching subscriptions.
230
- # @param [String] project
231
- # The name of the cloud project that subscriptions belong to.
232
- # Format is `projects/`project``.
233
- # @param [String] page_token
234
- # The value returned by the last `ListSubscriptionsResponse`; indicates that
235
- # this is a continuation of a prior `ListSubscriptions` call, and that the
236
- # system should return the next page of data.
237
- # @param [Fixnum] page_size
238
- # Maximum number of subscriptions to return.
277
+ # Gets the configuration details of a subscription.
278
+ # @param [String] subscription
279
+ # The name of the subscription to get.
280
+ # Format is `projects/`project`/subscriptions/`sub``.
281
+ # @param [String] fields
282
+ # Selector specifying which fields to include in a partial response.
239
283
  # @param [String] quota_user
240
284
  # Available to use for quota purposes for server-side applications. Can be any
241
285
  # arbitrary string assigned to a user, but should not exceed 40 characters.
242
- # @param [String] fields
243
- # Selector specifying which fields to include in a partial response.
244
286
  # @param [Google::Apis::RequestOptions] options
245
287
  # Request-specific options
246
288
  #
247
289
  # @yield [result, err] Result & error if block supplied
248
- # @yieldparam result [Google::Apis::PubsubV1::ListSubscriptionsResponse] parsed result object
290
+ # @yieldparam result [Google::Apis::PubsubV1::Subscription] parsed result object
249
291
  # @yieldparam err [StandardError] error object if request failed
250
292
  #
251
- # @return [Google::Apis::PubsubV1::ListSubscriptionsResponse]
293
+ # @return [Google::Apis::PubsubV1::Subscription]
252
294
  #
253
295
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
254
296
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
255
297
  # @raise [Google::Apis::AuthorizationError] Authorization is required
256
- def list_subscriptions(project, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
257
- command = make_simple_command(:get, 'v1/{+project}/subscriptions', options)
258
- command.response_representation = Google::Apis::PubsubV1::ListSubscriptionsResponse::Representation
259
- command.response_class = Google::Apis::PubsubV1::ListSubscriptionsResponse
260
- command.params['project'] = project unless project.nil?
261
- command.query['pageToken'] = page_token unless page_token.nil?
262
- command.query['pageSize'] = page_size unless page_size.nil?
263
- command.query['quotaUser'] = quota_user unless quota_user.nil?
298
+ def get_subscription(subscription, fields: nil, quota_user: nil, options: nil, &block)
299
+ command = make_simple_command(:get, 'v1/{+subscription}', options)
300
+ command.response_representation = Google::Apis::PubsubV1::Subscription::Representation
301
+ command.response_class = Google::Apis::PubsubV1::Subscription
302
+ command.params['subscription'] = subscription unless subscription.nil?
264
303
  command.query['fields'] = fields unless fields.nil?
304
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
265
305
  execute_or_queue_command(command, &block)
266
306
  end
267
307
 
268
- # Sets the access control policy on the specified resource. Replaces any
269
- # existing policy.
308
+ # Gets the access control policy for a resource.
309
+ # Returns an empty policy if the resource exists and does not have a policy
310
+ # set.
270
311
  # @param [String] resource
271
- # REQUIRED: The resource for which the policy is being specified.
312
+ # REQUIRED: The resource for which the policy is being requested.
272
313
  # See the operation documentation for the appropriate value for this field.
273
- # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
314
+ # @param [String] fields
315
+ # Selector specifying which fields to include in a partial response.
274
316
  # @param [String] quota_user
275
317
  # Available to use for quota purposes for server-side applications. Can be any
276
318
  # arbitrary string assigned to a user, but should not exceed 40 characters.
277
- # @param [String] fields
278
- # Selector specifying which fields to include in a partial response.
279
319
  # @param [Google::Apis::RequestOptions] options
280
320
  # Request-specific options
281
321
  #
@@ -288,94 +328,52 @@ module Google
288
328
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
289
329
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
290
330
  # @raise [Google::Apis::AuthorizationError] Authorization is required
291
- def set_subscription_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
292
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
293
- command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation
294
- command.request_object = set_iam_policy_request_object
331
+ def get_project_subscription_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
332
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
295
333
  command.response_representation = Google::Apis::PubsubV1::Policy::Representation
296
334
  command.response_class = Google::Apis::PubsubV1::Policy
297
335
  command.params['resource'] = resource unless resource.nil?
298
- command.query['quotaUser'] = quota_user unless quota_user.nil?
299
336
  command.query['fields'] = fields unless fields.nil?
337
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
300
338
  execute_or_queue_command(command, &block)
301
339
  end
302
340
 
303
- # Creates a subscription to a given topic.
304
- # If the subscription already exists, returns `ALREADY_EXISTS`.
305
- # If the corresponding topic doesn't exist, returns `NOT_FOUND`.
306
- # If the name is not provided in the request, the server will assign a random
307
- # name for this subscription on the same project as the topic, conforming
308
- # to the
309
- # [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
310
- # The generated name is populated in the returned Subscription object.
311
- # Note that for REST API requests, you must specify a name in the request.
312
- # @param [String] name
313
- # The name of the subscription. It must have the format
314
- # `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must
315
- # start with a letter, and contain only letters (`[A-Za-z]`), numbers
316
- # (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
317
- # plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters
318
- # in length, and it must not start with `"goog"`.
319
- # @param [Google::Apis::PubsubV1::Subscription] subscription_object
320
- # @param [String] quota_user
321
- # Available to use for quota purposes for server-side applications. Can be any
322
- # arbitrary string assigned to a user, but should not exceed 40 characters.
341
+ # Lists matching subscriptions.
342
+ # @param [String] project
343
+ # The name of the cloud project that subscriptions belong to.
344
+ # Format is `projects/`project``.
345
+ # @param [Fixnum] page_size
346
+ # Maximum number of subscriptions to return.
347
+ # @param [String] page_token
348
+ # The value returned by the last `ListSubscriptionsResponse`; indicates that
349
+ # this is a continuation of a prior `ListSubscriptions` call, and that the
350
+ # system should return the next page of data.
323
351
  # @param [String] fields
324
352
  # Selector specifying which fields to include in a partial response.
325
- # @param [Google::Apis::RequestOptions] options
326
- # Request-specific options
327
- #
328
- # @yield [result, err] Result & error if block supplied
329
- # @yieldparam result [Google::Apis::PubsubV1::Subscription] parsed result object
330
- # @yieldparam err [StandardError] error object if request failed
331
- #
332
- # @return [Google::Apis::PubsubV1::Subscription]
333
- #
334
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
335
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
336
- # @raise [Google::Apis::AuthorizationError] Authorization is required
337
- def create_subscription(name, subscription_object = nil, quota_user: nil, fields: nil, options: nil, &block)
338
- command = make_simple_command(:put, 'v1/{+name}', options)
339
- command.request_representation = Google::Apis::PubsubV1::Subscription::Representation
340
- command.request_object = subscription_object
341
- command.response_representation = Google::Apis::PubsubV1::Subscription::Representation
342
- command.response_class = Google::Apis::PubsubV1::Subscription
343
- command.params['name'] = name unless name.nil?
344
- command.query['quotaUser'] = quota_user unless quota_user.nil?
345
- command.query['fields'] = fields unless fields.nil?
346
- execute_or_queue_command(command, &block)
347
- end
348
-
349
- # Gets the access control policy for a resource.
350
- # Returns an empty policy if the resource exists and does not have a policy
351
- # set.
352
- # @param [String] resource
353
- # REQUIRED: The resource for which the policy is being requested.
354
- # See the operation documentation for the appropriate value for this field.
355
353
  # @param [String] quota_user
356
354
  # Available to use for quota purposes for server-side applications. Can be any
357
355
  # arbitrary string assigned to a user, but should not exceed 40 characters.
358
- # @param [String] fields
359
- # Selector specifying which fields to include in a partial response.
360
356
  # @param [Google::Apis::RequestOptions] options
361
357
  # Request-specific options
362
358
  #
363
359
  # @yield [result, err] Result & error if block supplied
364
- # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object
360
+ # @yieldparam result [Google::Apis::PubsubV1::ListSubscriptionsResponse] parsed result object
365
361
  # @yieldparam err [StandardError] error object if request failed
366
362
  #
367
- # @return [Google::Apis::PubsubV1::Policy]
363
+ # @return [Google::Apis::PubsubV1::ListSubscriptionsResponse]
368
364
  #
369
365
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
370
366
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
371
367
  # @raise [Google::Apis::AuthorizationError] Authorization is required
372
- def get_project_subscription_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block)
373
- command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
374
- command.response_representation = Google::Apis::PubsubV1::Policy::Representation
375
- command.response_class = Google::Apis::PubsubV1::Policy
376
- command.params['resource'] = resource unless resource.nil?
377
- command.query['quotaUser'] = quota_user unless quota_user.nil?
368
+ def list_subscriptions(project, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
369
+ command = make_simple_command(:get, 'v1/{+project}/subscriptions', options)
370
+ command.response_representation = Google::Apis::PubsubV1::ListSubscriptionsResponse::Representation
371
+ command.response_class = Google::Apis::PubsubV1::ListSubscriptionsResponse
372
+ command.params['project'] = project unless project.nil?
373
+ command.query['pageSize'] = page_size unless page_size.nil?
374
+ command.query['pageToken'] = page_token unless page_token.nil?
378
375
  command.query['fields'] = fields unless fields.nil?
376
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
379
377
  execute_or_queue_command(command, &block)
380
378
  end
381
379
 
@@ -388,11 +386,11 @@ module Google
388
386
  # The name of the subscription.
389
387
  # Format is `projects/`project`/subscriptions/`sub``.
390
388
  # @param [Google::Apis::PubsubV1::ModifyAckDeadlineRequest] modify_ack_deadline_request_object
389
+ # @param [String] fields
390
+ # Selector specifying which fields to include in a partial response.
391
391
  # @param [String] quota_user
392
392
  # Available to use for quota purposes for server-side applications. Can be any
393
393
  # arbitrary string assigned to a user, but should not exceed 40 characters.
394
- # @param [String] fields
395
- # Selector specifying which fields to include in a partial response.
396
394
  # @param [Google::Apis::RequestOptions] options
397
395
  # Request-specific options
398
396
  #
@@ -405,33 +403,32 @@ module Google
405
403
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
406
404
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
407
405
  # @raise [Google::Apis::AuthorizationError] Authorization is required
408
- def modify_subscription_ack_deadline(subscription, modify_ack_deadline_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
406
+ def modify_subscription_ack_deadline(subscription, modify_ack_deadline_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
409
407
  command = make_simple_command(:post, 'v1/{+subscription}:modifyAckDeadline', options)
410
408
  command.request_representation = Google::Apis::PubsubV1::ModifyAckDeadlineRequest::Representation
411
409
  command.request_object = modify_ack_deadline_request_object
412
410
  command.response_representation = Google::Apis::PubsubV1::Empty::Representation
413
411
  command.response_class = Google::Apis::PubsubV1::Empty
414
412
  command.params['subscription'] = subscription unless subscription.nil?
415
- command.query['quotaUser'] = quota_user unless quota_user.nil?
416
413
  command.query['fields'] = fields unless fields.nil?
414
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
417
415
  execute_or_queue_command(command, &block)
418
416
  end
419
417
 
420
- # Acknowledges the messages associated with the `ack_ids` in the
421
- # `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages
422
- # from the subscription.
423
- # Acknowledging a message whose ack deadline has expired may succeed,
424
- # but such a message may be redelivered later. Acknowledging a message more
425
- # than once will not result in an error.
418
+ # Modifies the `PushConfig` for a specified subscription.
419
+ # This may be used to change a push subscription to a pull one (signified by
420
+ # an empty `PushConfig`) or vice versa, or change the endpoint URL and other
421
+ # attributes of a push subscription. Messages will accumulate for delivery
422
+ # continuously through the call regardless of changes to the `PushConfig`.
426
423
  # @param [String] subscription
427
- # The subscription whose message is being acknowledged.
424
+ # The name of the subscription.
428
425
  # Format is `projects/`project`/subscriptions/`sub``.
429
- # @param [Google::Apis::PubsubV1::AcknowledgeRequest] acknowledge_request_object
426
+ # @param [Google::Apis::PubsubV1::ModifyPushConfigRequest] modify_push_config_request_object
427
+ # @param [String] fields
428
+ # Selector specifying which fields to include in a partial response.
430
429
  # @param [String] quota_user
431
430
  # Available to use for quota purposes for server-side applications. Can be any
432
431
  # arbitrary string assigned to a user, but should not exceed 40 characters.
433
- # @param [String] fields
434
- # Selector specifying which fields to include in a partial response.
435
432
  # @param [Google::Apis::RequestOptions] options
436
433
  # Request-specific options
437
434
  #
@@ -444,162 +441,126 @@ module Google
444
441
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
445
442
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
446
443
  # @raise [Google::Apis::AuthorizationError] Authorization is required
447
- def acknowledge_subscription(subscription, acknowledge_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
448
- command = make_simple_command(:post, 'v1/{+subscription}:acknowledge', options)
449
- command.request_representation = Google::Apis::PubsubV1::AcknowledgeRequest::Representation
450
- command.request_object = acknowledge_request_object
444
+ def modify_subscription_push_config(subscription, modify_push_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
445
+ command = make_simple_command(:post, 'v1/{+subscription}:modifyPushConfig', options)
446
+ command.request_representation = Google::Apis::PubsubV1::ModifyPushConfigRequest::Representation
447
+ command.request_object = modify_push_config_request_object
451
448
  command.response_representation = Google::Apis::PubsubV1::Empty::Representation
452
449
  command.response_class = Google::Apis::PubsubV1::Empty
453
450
  command.params['subscription'] = subscription unless subscription.nil?
454
- command.query['quotaUser'] = quota_user unless quota_user.nil?
455
451
  command.query['fields'] = fields unless fields.nil?
452
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
456
453
  execute_or_queue_command(command, &block)
457
454
  end
458
455
 
459
- # Gets the configuration details of a subscription.
456
+ # Pulls messages from the server. Returns an empty list if there are no
457
+ # messages available in the backlog. The server may return `UNAVAILABLE` if
458
+ # there are too many concurrent pull requests pending for the given
459
+ # subscription.
460
460
  # @param [String] subscription
461
- # The name of the subscription to get.
461
+ # The subscription from which messages should be pulled.
462
462
  # Format is `projects/`project`/subscriptions/`sub``.
463
+ # @param [Google::Apis::PubsubV1::PullRequest] pull_request_object
464
+ # @param [String] fields
465
+ # Selector specifying which fields to include in a partial response.
463
466
  # @param [String] quota_user
464
467
  # Available to use for quota purposes for server-side applications. Can be any
465
468
  # arbitrary string assigned to a user, but should not exceed 40 characters.
466
- # @param [String] fields
467
- # Selector specifying which fields to include in a partial response.
468
469
  # @param [Google::Apis::RequestOptions] options
469
470
  # Request-specific options
470
471
  #
471
472
  # @yield [result, err] Result & error if block supplied
472
- # @yieldparam result [Google::Apis::PubsubV1::Subscription] parsed result object
473
+ # @yieldparam result [Google::Apis::PubsubV1::PullResponse] parsed result object
473
474
  # @yieldparam err [StandardError] error object if request failed
474
475
  #
475
- # @return [Google::Apis::PubsubV1::Subscription]
476
+ # @return [Google::Apis::PubsubV1::PullResponse]
476
477
  #
477
478
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
478
479
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
479
480
  # @raise [Google::Apis::AuthorizationError] Authorization is required
480
- def get_subscription(subscription, quota_user: nil, fields: nil, options: nil, &block)
481
- command = make_simple_command(:get, 'v1/{+subscription}', options)
482
- command.response_representation = Google::Apis::PubsubV1::Subscription::Representation
483
- command.response_class = Google::Apis::PubsubV1::Subscription
481
+ def pull_subscription(subscription, pull_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
482
+ command = make_simple_command(:post, 'v1/{+subscription}:pull', options)
483
+ command.request_representation = Google::Apis::PubsubV1::PullRequest::Representation
484
+ command.request_object = pull_request_object
485
+ command.response_representation = Google::Apis::PubsubV1::PullResponse::Representation
486
+ command.response_class = Google::Apis::PubsubV1::PullResponse
484
487
  command.params['subscription'] = subscription unless subscription.nil?
485
- command.query['quotaUser'] = quota_user unless quota_user.nil?
486
488
  command.query['fields'] = fields unless fields.nil?
489
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
487
490
  execute_or_queue_command(command, &block)
488
491
  end
489
492
 
490
- # Returns permissions that a caller has on the specified resource.
491
- # If the resource does not exist, this will return an empty set of
492
- # permissions, not a NOT_FOUND error.
493
- # Note: This operation is designed to be used for building permission-aware
494
- # UIs and command-line tools, not for authorization checking. This operation
495
- # may "fail open" without warning.
493
+ # Sets the access control policy on the specified resource. Replaces any
494
+ # existing policy.
496
495
  # @param [String] resource
497
- # REQUIRED: The resource for which the policy detail is being requested.
496
+ # REQUIRED: The resource for which the policy is being specified.
498
497
  # See the operation documentation for the appropriate value for this field.
499
- # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
500
- # @param [String] quota_user
501
- # Available to use for quota purposes for server-side applications. Can be any
502
- # arbitrary string assigned to a user, but should not exceed 40 characters.
498
+ # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
503
499
  # @param [String] fields
504
500
  # Selector specifying which fields to include in a partial response.
505
- # @param [Google::Apis::RequestOptions] options
506
- # Request-specific options
507
- #
508
- # @yield [result, err] Result & error if block supplied
509
- # @yieldparam result [Google::Apis::PubsubV1::TestIamPermissionsResponse] parsed result object
510
- # @yieldparam err [StandardError] error object if request failed
511
- #
512
- # @return [Google::Apis::PubsubV1::TestIamPermissionsResponse]
513
- #
514
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
515
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
516
- # @raise [Google::Apis::AuthorizationError] Authorization is required
517
- def test_subscription_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
518
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
519
- command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation
520
- command.request_object = test_iam_permissions_request_object
521
- command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation
522
- command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse
523
- command.params['resource'] = resource unless resource.nil?
524
- command.query['quotaUser'] = quota_user unless quota_user.nil?
525
- command.query['fields'] = fields unless fields.nil?
526
- execute_or_queue_command(command, &block)
527
- end
528
-
529
- # Modifies the `PushConfig` for a specified subscription.
530
- # This may be used to change a push subscription to a pull one (signified by
531
- # an empty `PushConfig`) or vice versa, or change the endpoint URL and other
532
- # attributes of a push subscription. Messages will accumulate for delivery
533
- # continuously through the call regardless of changes to the `PushConfig`.
534
- # @param [String] subscription
535
- # The name of the subscription.
536
- # Format is `projects/`project`/subscriptions/`sub``.
537
- # @param [Google::Apis::PubsubV1::ModifyPushConfigRequest] modify_push_config_request_object
538
501
  # @param [String] quota_user
539
502
  # Available to use for quota purposes for server-side applications. Can be any
540
503
  # arbitrary string assigned to a user, but should not exceed 40 characters.
541
- # @param [String] fields
542
- # Selector specifying which fields to include in a partial response.
543
504
  # @param [Google::Apis::RequestOptions] options
544
505
  # Request-specific options
545
506
  #
546
507
  # @yield [result, err] Result & error if block supplied
547
- # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object
508
+ # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object
548
509
  # @yieldparam err [StandardError] error object if request failed
549
510
  #
550
- # @return [Google::Apis::PubsubV1::Empty]
511
+ # @return [Google::Apis::PubsubV1::Policy]
551
512
  #
552
513
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
553
514
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
554
515
  # @raise [Google::Apis::AuthorizationError] Authorization is required
555
- def modify_subscription_push_config(subscription, modify_push_config_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
556
- command = make_simple_command(:post, 'v1/{+subscription}:modifyPushConfig', options)
557
- command.request_representation = Google::Apis::PubsubV1::ModifyPushConfigRequest::Representation
558
- command.request_object = modify_push_config_request_object
559
- command.response_representation = Google::Apis::PubsubV1::Empty::Representation
560
- command.response_class = Google::Apis::PubsubV1::Empty
561
- command.params['subscription'] = subscription unless subscription.nil?
562
- command.query['quotaUser'] = quota_user unless quota_user.nil?
516
+ def set_subscription_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
517
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
518
+ command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation
519
+ command.request_object = set_iam_policy_request_object
520
+ command.response_representation = Google::Apis::PubsubV1::Policy::Representation
521
+ command.response_class = Google::Apis::PubsubV1::Policy
522
+ command.params['resource'] = resource unless resource.nil?
563
523
  command.query['fields'] = fields unless fields.nil?
524
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
564
525
  execute_or_queue_command(command, &block)
565
526
  end
566
527
 
567
- # Lists matching topics.
568
- # @param [String] project
569
- # The name of the cloud project that topics belong to.
570
- # Format is `projects/`project``.
571
- # @param [String] page_token
572
- # The value returned by the last `ListTopicsResponse`; indicates that this is
573
- # a continuation of a prior `ListTopics` call, and that the system should
574
- # return the next page of data.
575
- # @param [Fixnum] page_size
576
- # Maximum number of topics to return.
528
+ # Returns permissions that a caller has on the specified resource.
529
+ # If the resource does not exist, this will return an empty set of
530
+ # permissions, not a NOT_FOUND error.
531
+ # Note: This operation is designed to be used for building permission-aware
532
+ # UIs and command-line tools, not for authorization checking. This operation
533
+ # may "fail open" without warning.
534
+ # @param [String] resource
535
+ # REQUIRED: The resource for which the policy detail is being requested.
536
+ # See the operation documentation for the appropriate value for this field.
537
+ # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
538
+ # @param [String] fields
539
+ # Selector specifying which fields to include in a partial response.
577
540
  # @param [String] quota_user
578
541
  # Available to use for quota purposes for server-side applications. Can be any
579
542
  # arbitrary string assigned to a user, but should not exceed 40 characters.
580
- # @param [String] fields
581
- # Selector specifying which fields to include in a partial response.
582
543
  # @param [Google::Apis::RequestOptions] options
583
544
  # Request-specific options
584
545
  #
585
546
  # @yield [result, err] Result & error if block supplied
586
- # @yieldparam result [Google::Apis::PubsubV1::ListTopicsResponse] parsed result object
547
+ # @yieldparam result [Google::Apis::PubsubV1::TestIamPermissionsResponse] parsed result object
587
548
  # @yieldparam err [StandardError] error object if request failed
588
549
  #
589
- # @return [Google::Apis::PubsubV1::ListTopicsResponse]
550
+ # @return [Google::Apis::PubsubV1::TestIamPermissionsResponse]
590
551
  #
591
552
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
592
553
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
593
554
  # @raise [Google::Apis::AuthorizationError] Authorization is required
594
- def list_topics(project, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
595
- command = make_simple_command(:get, 'v1/{+project}/topics', options)
596
- command.response_representation = Google::Apis::PubsubV1::ListTopicsResponse::Representation
597
- command.response_class = Google::Apis::PubsubV1::ListTopicsResponse
598
- command.params['project'] = project unless project.nil?
599
- command.query['pageToken'] = page_token unless page_token.nil?
600
- command.query['pageSize'] = page_size unless page_size.nil?
601
- command.query['quotaUser'] = quota_user unless quota_user.nil?
555
+ def test_subscription_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
556
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
557
+ command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation
558
+ command.request_object = test_iam_permissions_request_object
559
+ command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation
560
+ command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse
561
+ command.params['resource'] = resource unless resource.nil?
602
562
  command.query['fields'] = fields unless fields.nil?
563
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
603
564
  execute_or_queue_command(command, &block)
604
565
  end
605
566
 
@@ -612,11 +573,11 @@ module Google
612
573
  # signs (`%`). It must be between 3 and 255 characters in length, and it
613
574
  # must not start with `"goog"`.
614
575
  # @param [Google::Apis::PubsubV1::Topic] topic_object
576
+ # @param [String] fields
577
+ # Selector specifying which fields to include in a partial response.
615
578
  # @param [String] quota_user
616
579
  # Available to use for quota purposes for server-side applications. Can be any
617
580
  # arbitrary string assigned to a user, but should not exceed 40 characters.
618
- # @param [String] fields
619
- # Selector specifying which fields to include in a partial response.
620
581
  # @param [Google::Apis::RequestOptions] options
621
582
  # Request-specific options
622
583
  #
@@ -629,50 +590,81 @@ module Google
629
590
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
630
591
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
631
592
  # @raise [Google::Apis::AuthorizationError] Authorization is required
632
- def create_topic(name, topic_object = nil, quota_user: nil, fields: nil, options: nil, &block)
593
+ def create_topic(name, topic_object = nil, fields: nil, quota_user: nil, options: nil, &block)
633
594
  command = make_simple_command(:put, 'v1/{+name}', options)
634
595
  command.request_representation = Google::Apis::PubsubV1::Topic::Representation
635
596
  command.request_object = topic_object
636
597
  command.response_representation = Google::Apis::PubsubV1::Topic::Representation
637
598
  command.response_class = Google::Apis::PubsubV1::Topic
638
599
  command.params['name'] = name unless name.nil?
639
- command.query['quotaUser'] = quota_user unless quota_user.nil?
640
600
  command.query['fields'] = fields unless fields.nil?
601
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
641
602
  execute_or_queue_command(command, &block)
642
603
  end
643
604
 
644
- # Sets the access control policy on the specified resource. Replaces any
645
- # existing policy.
646
- # @param [String] resource
647
- # REQUIRED: The resource for which the policy is being specified.
648
- # See the operation documentation for the appropriate value for this field.
649
- # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
605
+ # Deletes the topic with the given name. Returns `NOT_FOUND` if the topic
606
+ # does not exist. After a topic is deleted, a new topic may be created with
607
+ # the same name; this is an entirely new topic with none of the old
608
+ # configuration or subscriptions. Existing subscriptions to this topic are
609
+ # not deleted, but their `topic` field is set to `_deleted-topic_`.
610
+ # @param [String] topic
611
+ # Name of the topic to delete.
612
+ # Format is `projects/`project`/topics/`topic``.
613
+ # @param [String] fields
614
+ # Selector specifying which fields to include in a partial response.
650
615
  # @param [String] quota_user
651
616
  # Available to use for quota purposes for server-side applications. Can be any
652
617
  # arbitrary string assigned to a user, but should not exceed 40 characters.
618
+ # @param [Google::Apis::RequestOptions] options
619
+ # Request-specific options
620
+ #
621
+ # @yield [result, err] Result & error if block supplied
622
+ # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object
623
+ # @yieldparam err [StandardError] error object if request failed
624
+ #
625
+ # @return [Google::Apis::PubsubV1::Empty]
626
+ #
627
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
628
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
629
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
630
+ def delete_topic(topic, fields: nil, quota_user: nil, options: nil, &block)
631
+ command = make_simple_command(:delete, 'v1/{+topic}', options)
632
+ command.response_representation = Google::Apis::PubsubV1::Empty::Representation
633
+ command.response_class = Google::Apis::PubsubV1::Empty
634
+ command.params['topic'] = topic unless topic.nil?
635
+ command.query['fields'] = fields unless fields.nil?
636
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
637
+ execute_or_queue_command(command, &block)
638
+ end
639
+
640
+ # Gets the configuration of a topic.
641
+ # @param [String] topic
642
+ # The name of the topic to get.
643
+ # Format is `projects/`project`/topics/`topic``.
653
644
  # @param [String] fields
654
645
  # Selector specifying which fields to include in a partial response.
646
+ # @param [String] quota_user
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.
655
649
  # @param [Google::Apis::RequestOptions] options
656
650
  # Request-specific options
657
651
  #
658
652
  # @yield [result, err] Result & error if block supplied
659
- # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object
653
+ # @yieldparam result [Google::Apis::PubsubV1::Topic] parsed result object
660
654
  # @yieldparam err [StandardError] error object if request failed
661
655
  #
662
- # @return [Google::Apis::PubsubV1::Policy]
656
+ # @return [Google::Apis::PubsubV1::Topic]
663
657
  #
664
658
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
665
659
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
666
660
  # @raise [Google::Apis::AuthorizationError] Authorization is required
667
- def set_topic_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
668
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
669
- command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation
670
- command.request_object = set_iam_policy_request_object
671
- command.response_representation = Google::Apis::PubsubV1::Policy::Representation
672
- command.response_class = Google::Apis::PubsubV1::Policy
673
- command.params['resource'] = resource unless resource.nil?
674
- command.query['quotaUser'] = quota_user unless quota_user.nil?
661
+ def get_topic(topic, fields: nil, quota_user: nil, options: nil, &block)
662
+ command = make_simple_command(:get, 'v1/{+topic}', options)
663
+ command.response_representation = Google::Apis::PubsubV1::Topic::Representation
664
+ command.response_class = Google::Apis::PubsubV1::Topic
665
+ command.params['topic'] = topic unless topic.nil?
675
666
  command.query['fields'] = fields unless fields.nil?
667
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
676
668
  execute_or_queue_command(command, &block)
677
669
  end
678
670
 
@@ -682,11 +674,11 @@ module Google
682
674
  # @param [String] resource
683
675
  # REQUIRED: The resource for which the policy is being requested.
684
676
  # See the operation documentation for the appropriate value for this field.
677
+ # @param [String] fields
678
+ # Selector specifying which fields to include in a partial response.
685
679
  # @param [String] quota_user
686
680
  # Available to use for quota purposes for server-side applications. Can be any
687
681
  # arbitrary string assigned to a user, but should not exceed 40 characters.
688
- # @param [String] fields
689
- # Selector specifying which fields to include in a partial response.
690
682
  # @param [Google::Apis::RequestOptions] options
691
683
  # Request-specific options
692
684
  #
@@ -699,44 +691,52 @@ module Google
699
691
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
700
692
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
701
693
  # @raise [Google::Apis::AuthorizationError] Authorization is required
702
- def get_project_topic_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block)
694
+ def get_project_topic_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
703
695
  command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
704
696
  command.response_representation = Google::Apis::PubsubV1::Policy::Representation
705
697
  command.response_class = Google::Apis::PubsubV1::Policy
706
698
  command.params['resource'] = resource unless resource.nil?
707
- command.query['quotaUser'] = quota_user unless quota_user.nil?
708
699
  command.query['fields'] = fields unless fields.nil?
700
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
709
701
  execute_or_queue_command(command, &block)
710
702
  end
711
703
 
712
- # Gets the configuration of a topic.
713
- # @param [String] topic
714
- # The name of the topic to get.
715
- # Format is `projects/`project`/topics/`topic``.
704
+ # Lists matching topics.
705
+ # @param [String] project
706
+ # The name of the cloud project that topics belong to.
707
+ # Format is `projects/`project``.
708
+ # @param [Fixnum] page_size
709
+ # Maximum number of topics to return.
710
+ # @param [String] page_token
711
+ # The value returned by the last `ListTopicsResponse`; indicates that this is
712
+ # a continuation of a prior `ListTopics` call, and that the system should
713
+ # return the next page of data.
714
+ # @param [String] fields
715
+ # Selector specifying which fields to include in a partial response.
716
716
  # @param [String] quota_user
717
717
  # Available to use for quota purposes for server-side applications. Can be any
718
718
  # arbitrary string assigned to a user, but should not exceed 40 characters.
719
- # @param [String] fields
720
- # Selector specifying which fields to include in a partial response.
721
719
  # @param [Google::Apis::RequestOptions] options
722
720
  # Request-specific options
723
721
  #
724
722
  # @yield [result, err] Result & error if block supplied
725
- # @yieldparam result [Google::Apis::PubsubV1::Topic] parsed result object
723
+ # @yieldparam result [Google::Apis::PubsubV1::ListTopicsResponse] parsed result object
726
724
  # @yieldparam err [StandardError] error object if request failed
727
725
  #
728
- # @return [Google::Apis::PubsubV1::Topic]
726
+ # @return [Google::Apis::PubsubV1::ListTopicsResponse]
729
727
  #
730
728
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
731
729
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
732
730
  # @raise [Google::Apis::AuthorizationError] Authorization is required
733
- def get_topic(topic, quota_user: nil, fields: nil, options: nil, &block)
734
- command = make_simple_command(:get, 'v1/{+topic}', options)
735
- command.response_representation = Google::Apis::PubsubV1::Topic::Representation
736
- command.response_class = Google::Apis::PubsubV1::Topic
737
- command.params['topic'] = topic unless topic.nil?
738
- command.query['quotaUser'] = quota_user unless quota_user.nil?
731
+ def list_topics(project, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
732
+ command = make_simple_command(:get, 'v1/{+project}/topics', options)
733
+ command.response_representation = Google::Apis::PubsubV1::ListTopicsResponse::Representation
734
+ command.response_class = Google::Apis::PubsubV1::ListTopicsResponse
735
+ command.params['project'] = project unless project.nil?
736
+ command.query['pageSize'] = page_size unless page_size.nil?
737
+ command.query['pageToken'] = page_token unless page_token.nil?
739
738
  command.query['fields'] = fields unless fields.nil?
739
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
740
740
  execute_or_queue_command(command, &block)
741
741
  end
742
742
 
@@ -747,11 +747,11 @@ module Google
747
747
  # The messages in the request will be published on this topic.
748
748
  # Format is `projects/`project`/topics/`topic``.
749
749
  # @param [Google::Apis::PubsubV1::PublishRequest] publish_request_object
750
+ # @param [String] fields
751
+ # Selector specifying which fields to include in a partial response.
750
752
  # @param [String] quota_user
751
753
  # Available to use for quota purposes for server-side applications. Can be any
752
754
  # arbitrary string assigned to a user, but should not exceed 40 characters.
753
- # @param [String] fields
754
- # Selector specifying which fields to include in a partial response.
755
755
  # @param [Google::Apis::RequestOptions] options
756
756
  # Request-specific options
757
757
  #
@@ -764,89 +764,89 @@ module Google
764
764
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
765
765
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
766
766
  # @raise [Google::Apis::AuthorizationError] Authorization is required
767
- def publish_topic(topic, publish_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
767
+ def publish_topic(topic, publish_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
768
768
  command = make_simple_command(:post, 'v1/{+topic}:publish', options)
769
769
  command.request_representation = Google::Apis::PubsubV1::PublishRequest::Representation
770
770
  command.request_object = publish_request_object
771
771
  command.response_representation = Google::Apis::PubsubV1::PublishResponse::Representation
772
772
  command.response_class = Google::Apis::PubsubV1::PublishResponse
773
773
  command.params['topic'] = topic unless topic.nil?
774
- command.query['quotaUser'] = quota_user unless quota_user.nil?
775
774
  command.query['fields'] = fields unless fields.nil?
775
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
776
776
  execute_or_queue_command(command, &block)
777
777
  end
778
778
 
779
- # Returns permissions that a caller has on the specified resource.
780
- # If the resource does not exist, this will return an empty set of
781
- # permissions, not a NOT_FOUND error.
782
- # Note: This operation is designed to be used for building permission-aware
783
- # UIs and command-line tools, not for authorization checking. This operation
784
- # may "fail open" without warning.
779
+ # Sets the access control policy on the specified resource. Replaces any
780
+ # existing policy.
785
781
  # @param [String] resource
786
- # REQUIRED: The resource for which the policy detail is being requested.
782
+ # REQUIRED: The resource for which the policy is being specified.
787
783
  # See the operation documentation for the appropriate value for this field.
788
- # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
784
+ # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
785
+ # @param [String] fields
786
+ # Selector specifying which fields to include in a partial response.
789
787
  # @param [String] quota_user
790
788
  # Available to use for quota purposes for server-side applications. Can be any
791
789
  # arbitrary string assigned to a user, but should not exceed 40 characters.
792
- # @param [String] fields
793
- # Selector specifying which fields to include in a partial response.
794
790
  # @param [Google::Apis::RequestOptions] options
795
791
  # Request-specific options
796
792
  #
797
793
  # @yield [result, err] Result & error if block supplied
798
- # @yieldparam result [Google::Apis::PubsubV1::TestIamPermissionsResponse] parsed result object
794
+ # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object
799
795
  # @yieldparam err [StandardError] error object if request failed
800
796
  #
801
- # @return [Google::Apis::PubsubV1::TestIamPermissionsResponse]
797
+ # @return [Google::Apis::PubsubV1::Policy]
802
798
  #
803
799
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
804
800
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
805
801
  # @raise [Google::Apis::AuthorizationError] Authorization is required
806
- def test_topic_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
807
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
808
- command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation
809
- command.request_object = test_iam_permissions_request_object
810
- command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation
811
- command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse
802
+ def set_topic_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
803
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
804
+ command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation
805
+ command.request_object = set_iam_policy_request_object
806
+ command.response_representation = Google::Apis::PubsubV1::Policy::Representation
807
+ command.response_class = Google::Apis::PubsubV1::Policy
812
808
  command.params['resource'] = resource unless resource.nil?
813
- command.query['quotaUser'] = quota_user unless quota_user.nil?
814
809
  command.query['fields'] = fields unless fields.nil?
810
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
815
811
  execute_or_queue_command(command, &block)
816
812
  end
817
813
 
818
- # Deletes the topic with the given name. Returns `NOT_FOUND` if the topic
819
- # does not exist. After a topic is deleted, a new topic may be created with
820
- # the same name; this is an entirely new topic with none of the old
821
- # configuration or subscriptions. Existing subscriptions to this topic are
822
- # not deleted, but their `topic` field is set to `_deleted-topic_`.
823
- # @param [String] topic
824
- # Name of the topic to delete.
825
- # Format is `projects/`project`/topics/`topic``.
814
+ # Returns permissions that a caller has on the specified resource.
815
+ # If the resource does not exist, this will return an empty set of
816
+ # permissions, not a NOT_FOUND error.
817
+ # Note: This operation is designed to be used for building permission-aware
818
+ # UIs and command-line tools, not for authorization checking. This operation
819
+ # may "fail open" without warning.
820
+ # @param [String] resource
821
+ # REQUIRED: The resource for which the policy detail is being requested.
822
+ # See the operation documentation for the appropriate value for this field.
823
+ # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
824
+ # @param [String] fields
825
+ # Selector specifying which fields to include in a partial response.
826
826
  # @param [String] quota_user
827
827
  # Available to use for quota purposes for server-side applications. Can be any
828
828
  # arbitrary string assigned to a user, but should not exceed 40 characters.
829
- # @param [String] fields
830
- # Selector specifying which fields to include in a partial response.
831
829
  # @param [Google::Apis::RequestOptions] options
832
830
  # Request-specific options
833
831
  #
834
832
  # @yield [result, err] Result & error if block supplied
835
- # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object
833
+ # @yieldparam result [Google::Apis::PubsubV1::TestIamPermissionsResponse] parsed result object
836
834
  # @yieldparam err [StandardError] error object if request failed
837
835
  #
838
- # @return [Google::Apis::PubsubV1::Empty]
836
+ # @return [Google::Apis::PubsubV1::TestIamPermissionsResponse]
839
837
  #
840
838
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
841
839
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
842
840
  # @raise [Google::Apis::AuthorizationError] Authorization is required
843
- def delete_topic(topic, quota_user: nil, fields: nil, options: nil, &block)
844
- command = make_simple_command(:delete, 'v1/{+topic}', options)
845
- command.response_representation = Google::Apis::PubsubV1::Empty::Representation
846
- command.response_class = Google::Apis::PubsubV1::Empty
847
- command.params['topic'] = topic unless topic.nil?
848
- command.query['quotaUser'] = quota_user unless quota_user.nil?
841
+ def test_topic_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
842
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
843
+ command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation
844
+ command.request_object = test_iam_permissions_request_object
845
+ command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation
846
+ command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse
847
+ command.params['resource'] = resource unless resource.nil?
849
848
  command.query['fields'] = fields unless fields.nil?
849
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
850
850
  execute_or_queue_command(command, &block)
851
851
  end
852
852
 
@@ -854,17 +854,17 @@ module Google
854
854
  # @param [String] topic
855
855
  # The name of the topic that subscriptions are attached to.
856
856
  # Format is `projects/`project`/topics/`topic``.
857
+ # @param [Fixnum] page_size
858
+ # Maximum number of subscription names to return.
857
859
  # @param [String] page_token
858
860
  # The value returned by the last `ListTopicSubscriptionsResponse`; indicates
859
861
  # that this is a continuation of a prior `ListTopicSubscriptions` call, and
860
862
  # that the system should return the next page of data.
861
- # @param [Fixnum] page_size
862
- # Maximum number of subscription names to return.
863
+ # @param [String] fields
864
+ # Selector specifying which fields to include in a partial response.
863
865
  # @param [String] quota_user
864
866
  # Available to use for quota purposes for server-side applications. Can be any
865
867
  # arbitrary string assigned to a user, but should not exceed 40 characters.
866
- # @param [String] fields
867
- # Selector specifying which fields to include in a partial response.
868
868
  # @param [Google::Apis::RequestOptions] options
869
869
  # Request-specific options
870
870
  #
@@ -877,15 +877,15 @@ module Google
877
877
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
878
878
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
879
879
  # @raise [Google::Apis::AuthorizationError] Authorization is required
880
- def list_topic_subscriptions(topic, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
880
+ def list_topic_subscriptions(topic, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
881
881
  command = make_simple_command(:get, 'v1/{+topic}/subscriptions', options)
882
882
  command.response_representation = Google::Apis::PubsubV1::ListTopicSubscriptionsResponse::Representation
883
883
  command.response_class = Google::Apis::PubsubV1::ListTopicSubscriptionsResponse
884
884
  command.params['topic'] = topic unless topic.nil?
885
- command.query['pageToken'] = page_token unless page_token.nil?
886
885
  command.query['pageSize'] = page_size unless page_size.nil?
887
- command.query['quotaUser'] = quota_user unless quota_user.nil?
886
+ command.query['pageToken'] = page_token unless page_token.nil?
888
887
  command.query['fields'] = fields unless fields.nil?
888
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
889
889
  execute_or_queue_command(command, &block)
890
890
  end
891
891