google-api-client 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/api_names.yaml +945 -41609
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
  10. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  11. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  12. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  13. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  14. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  17. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  18. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  19. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  21. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  22. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  23. data/generated/google/apis/analytics_v3/service.rb +82 -82
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
  25. data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
  26. data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  30. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  32. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  33. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  34. data/generated/google/apis/appengine_v1.rb +4 -4
  35. data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
  36. data/generated/google/apis/appengine_v1/representations.rb +362 -343
  37. data/generated/google/apis/appengine_v1/service.rb +220 -220
  38. data/generated/google/apis/appstate_v1.rb +1 -1
  39. data/generated/google/apis/bigquery_v2.rb +1 -1
  40. data/generated/google/apis/bigquery_v2/classes.rb +5 -5
  41. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  42. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  43. data/generated/google/apis/blogger_v3/service.rb +3 -3
  44. data/generated/google/apis/books_v1/classes.rb +55 -55
  45. data/generated/google/apis/books_v1/representations.rb +67 -67
  46. data/generated/google/apis/books_v1/service.rb +82 -82
  47. data/generated/google/apis/calendar_v3.rb +1 -1
  48. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  49. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  50. data/generated/google/apis/calendar_v3/service.rb +2 -2
  51. data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
  52. data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
  53. data/generated/google/apis/civicinfo_v2/service.rb +12 -12
  54. data/generated/google/apis/classroom_v1.rb +7 -7
  55. data/generated/google/apis/classroom_v1/classes.rb +1013 -991
  56. data/generated/google/apis/classroom_v1/representations.rb +207 -204
  57. data/generated/google/apis/classroom_v1/service.rb +709 -709
  58. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  59. data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
  60. data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
  61. data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
  62. data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
  63. data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
  64. data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
  65. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  66. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
  67. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
  68. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
  69. data/generated/google/apis/cloudkms_v1.rb +1 -1
  70. data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
  71. data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
  72. data/generated/google/apis/cloudkms_v1/service.rb +267 -267
  73. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  74. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
  75. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
  76. data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
  77. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
  79. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
  80. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
  81. data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +163 -15
  84. data/generated/google/apis/compute_beta/representations.rb +54 -14
  85. data/generated/google/apis/compute_beta/service.rb +2258 -482
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +465 -13
  88. data/generated/google/apis/compute_v1/representations.rb +202 -16
  89. data/generated/google/apis/compute_v1/service.rb +573 -309
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +635 -589
  92. data/generated/google/apis/container_v1/representations.rb +139 -111
  93. data/generated/google/apis/container_v1/service.rb +272 -227
  94. data/generated/google/apis/content_v2.rb +1 -1
  95. data/generated/google/apis/content_v2/classes.rb +86 -74
  96. data/generated/google/apis/content_v2/representations.rb +107 -105
  97. data/generated/google/apis/content_v2/service.rb +131 -130
  98. data/generated/google/apis/customsearch_v1.rb +2 -2
  99. data/generated/google/apis/customsearch_v1/classes.rb +0 -6
  100. data/generated/google/apis/customsearch_v1/representations.rb +0 -1
  101. data/generated/google/apis/customsearch_v1/service.rb +2 -5
  102. data/generated/google/apis/dataflow_v1b3.rb +7 -4
  103. data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
  104. data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
  105. data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +543 -691
  108. data/generated/google/apis/dataproc_v1/representations.rb +129 -185
  109. data/generated/google/apis/dataproc_v1/service.rb +347 -347
  110. data/generated/google/apis/datastore_v1.rb +4 -4
  111. data/generated/google/apis/datastore_v1/classes.rb +833 -833
  112. data/generated/google/apis/datastore_v1/representations.rb +182 -182
  113. data/generated/google/apis/datastore_v1/service.rb +45 -45
  114. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  115. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  116. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  117. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  118. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  119. data/generated/google/apis/discovery_v1/service.rb +1 -1
  120. data/generated/google/apis/dns_v1.rb +1 -1
  121. data/generated/google/apis/dns_v1/classes.rb +3 -3
  122. data/generated/google/apis/dns_v1/representations.rb +6 -6
  123. data/generated/google/apis/dns_v1/service.rb +12 -12
  124. data/generated/google/apis/dns_v2beta1.rb +1 -1
  125. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  126. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  127. data/generated/google/apis/drive_v2.rb +1 -1
  128. data/generated/google/apis/drive_v2/classes.rb +1 -1
  129. data/generated/google/apis/drive_v2/service.rb +1 -1
  130. data/generated/google/apis/drive_v3.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
  136. data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
  137. data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
  138. data/generated/google/apis/firebaserules_v1/service.rb +103 -103
  139. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  140. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  141. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  142. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  143. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  144. data/generated/google/apis/games_management_v1management.rb +1 -1
  145. data/generated/google/apis/games_v1.rb +1 -1
  146. data/generated/google/apis/games_v1/classes.rb +23 -23
  147. data/generated/google/apis/games_v1/representations.rb +43 -43
  148. data/generated/google/apis/games_v1/service.rb +72 -72
  149. data/generated/google/apis/genomics_v1.rb +1 -1
  150. data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
  151. data/generated/google/apis/genomics_v1/representations.rb +291 -291
  152. data/generated/google/apis/genomics_v1/service.rb +821 -821
  153. data/generated/google/apis/gmail_v1.rb +1 -1
  154. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  155. data/generated/google/apis/groupssettings_v1.rb +1 -1
  156. data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
  157. data/generated/google/apis/groupssettings_v1/service.rb +3 -0
  158. data/generated/google/apis/iam_v1/classes.rb +338 -338
  159. data/generated/google/apis/iam_v1/representations.rb +98 -98
  160. data/generated/google/apis/iam_v1/service.rb +35 -35
  161. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  162. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  163. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  164. data/generated/google/apis/kgsearch_v1/service.rb +13 -13
  165. data/generated/google/apis/language_v1.rb +1 -1
  166. data/generated/google/apis/language_v1/classes.rb +374 -374
  167. data/generated/google/apis/language_v1/representations.rb +97 -97
  168. data/generated/google/apis/language_v1/service.rb +16 -16
  169. data/generated/google/apis/language_v1beta1.rb +1 -1
  170. data/generated/google/apis/language_v1beta1/classes.rb +441 -441
  171. data/generated/google/apis/language_v1beta1/representations.rb +108 -108
  172. data/generated/google/apis/language_v1beta1/service.rb +30 -30
  173. data/generated/google/apis/licensing_v1/service.rb +2 -2
  174. data/generated/google/apis/logging_v2.rb +1 -1
  175. data/generated/google/apis/logging_v2/classes.rb +712 -712
  176. data/generated/google/apis/logging_v2/representations.rb +109 -109
  177. data/generated/google/apis/logging_v2/service.rb +543 -539
  178. data/generated/google/apis/logging_v2beta1.rb +1 -1
  179. data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
  180. data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
  181. data/generated/google/apis/logging_v2beta1/service.rb +257 -256
  182. data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
  183. data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
  184. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  185. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  186. data/generated/google/apis/mirror_v1/service.rb +20 -20
  187. data/generated/google/apis/ml_v1.rb +1 -1
  188. data/generated/google/apis/ml_v1/classes.rb +1830 -1210
  189. data/generated/google/apis/ml_v1/representations.rb +342 -120
  190. data/generated/google/apis/ml_v1/service.rb +365 -258
  191. data/generated/google/apis/monitoring_v3.rb +4 -4
  192. data/generated/google/apis/monitoring_v3/classes.rb +889 -889
  193. data/generated/google/apis/monitoring_v3/representations.rb +174 -174
  194. data/generated/google/apis/monitoring_v3/service.rb +119 -119
  195. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  196. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  197. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  198. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  199. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  200. data/generated/google/apis/partners_v2.rb +1 -1
  201. data/generated/google/apis/partners_v2/classes.rb +550 -536
  202. data/generated/google/apis/partners_v2/representations.rb +118 -116
  203. data/generated/google/apis/partners_v2/service.rb +439 -439
  204. data/generated/google/apis/people_v1.rb +4 -4
  205. data/generated/google/apis/people_v1/classes.rb +414 -413
  206. data/generated/google/apis/people_v1/representations.rb +85 -85
  207. data/generated/google/apis/people_v1/service.rb +111 -18
  208. data/generated/google/apis/plus_domains_v1.rb +1 -1
  209. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  210. data/generated/google/apis/plus_v1.rb +1 -1
  211. data/generated/google/apis/plus_v1/service.rb +1 -1
  212. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  213. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  214. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
  215. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
  216. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
  217. data/generated/google/apis/pubsub_v1/classes.rb +249 -249
  218. data/generated/google/apis/pubsub_v1/representations.rb +80 -80
  219. data/generated/google/apis/pubsub_v1/service.rb +415 -415
  220. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  221. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  222. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  223. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  226. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  227. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  228. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  229. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  230. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  231. data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
  232. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  233. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  234. data/generated/google/apis/script_v1.rb +17 -17
  235. data/generated/google/apis/script_v1/classes.rb +27 -27
  236. data/generated/google/apis/script_v1/representations.rb +5 -5
  237. data/generated/google/apis/script_v1/service.rb +4 -4
  238. data/generated/google/apis/searchconsole_v1.rb +1 -1
  239. data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
  240. data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
  241. data/generated/google/apis/searchconsole_v1/service.rb +4 -4
  242. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  243. data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
  244. data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
  245. data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
  246. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  247. data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
  248. data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
  249. data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
  250. data/generated/google/apis/serviceuser_v1.rb +1 -1
  251. data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
  252. data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
  253. data/generated/google/apis/serviceuser_v1/service.rb +37 -37
  254. data/generated/google/apis/sheets_v4.rb +1 -1
  255. data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
  256. data/generated/google/apis/sheets_v4/representations.rb +994 -824
  257. data/generated/google/apis/sheets_v4/service.rb +80 -80
  258. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  259. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  260. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  261. data/generated/google/apis/slides_v1.rb +1 -1
  262. data/generated/google/apis/slides_v1/classes.rb +2885 -2885
  263. data/generated/google/apis/slides_v1/representations.rb +310 -310
  264. data/generated/google/apis/slides_v1/service.rb +54 -54
  265. data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
  266. data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
  267. data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
  268. data/generated/google/apis/spanner_v1.rb +1 -1
  269. data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
  270. data/generated/google/apis/spanner_v1/representations.rb +174 -174
  271. data/generated/google/apis/spanner_v1/service.rb +497 -497
  272. data/generated/google/apis/speech_v1beta1.rb +1 -1
  273. data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
  274. data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
  275. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  276. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  277. data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
  278. data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
  279. data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
  280. data/generated/google/apis/storage_v1.rb +1 -1
  281. data/generated/google/apis/storage_v1/classes.rb +40 -6
  282. data/generated/google/apis/storage_v1/representations.rb +20 -4
  283. data/generated/google/apis/storage_v1/service.rb +61 -46
  284. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  285. data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
  286. data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
  287. data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
  288. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  289. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  290. data/generated/google/apis/translate_v2/classes.rb +12 -12
  291. data/generated/google/apis/translate_v2/representations.rb +10 -10
  292. data/generated/google/apis/translate_v2/service.rb +62 -62
  293. data/generated/google/apis/vision_v1.rb +1 -1
  294. data/generated/google/apis/vision_v1/classes.rb +1267 -1267
  295. data/generated/google/apis/vision_v1/representations.rb +200 -200
  296. data/generated/google/apis/vision_v1/service.rb +10 -10
  297. data/generated/google/apis/webmasters_v3.rb +1 -1
  298. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  299. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  300. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  301. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  302. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  303. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  304. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  305. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  306. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  307. data/generated/google/apis/youtube_v3/service.rb +80 -80
  308. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  309. data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
  310. data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
  311. data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
  312. data/lib/google/apis/generator/annotator.rb +2 -2
  313. data/lib/google/apis/generator/model.rb +2 -2
  314. data/lib/google/apis/version.rb +1 -1
  315. metadata +2 -2
@@ -22,6 +22,220 @@ module Google
22
22
  module Apis
23
23
  module PubsubV1
24
24
 
25
+ # Response for the `ListTopicSubscriptions` method.
26
+ class ListTopicSubscriptionsResponse
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # If not empty, indicates that there may be more subscriptions that match
30
+ # the request; this value should be passed in a new
31
+ # `ListTopicSubscriptionsRequest` to get more subscriptions.
32
+ # Corresponds to the JSON property `nextPageToken`
33
+ # @return [String]
34
+ attr_accessor :next_page_token
35
+
36
+ # The names of the subscriptions that match the request.
37
+ # Corresponds to the JSON property `subscriptions`
38
+ # @return [Array<String>]
39
+ attr_accessor :subscriptions
40
+
41
+ def initialize(**args)
42
+ update!(**args)
43
+ end
44
+
45
+ # Update properties of this object
46
+ def update!(**args)
47
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
48
+ @subscriptions = args[:subscriptions] if args.key?(:subscriptions)
49
+ end
50
+ end
51
+
52
+ # Response for the `Pull` method.
53
+ class PullResponse
54
+ include Google::Apis::Core::Hashable
55
+
56
+ # Received Pub/Sub messages. The Pub/Sub system will return zero messages if
57
+ # there are no more available in the backlog. The Pub/Sub system may return
58
+ # fewer than the `maxMessages` requested even if there are more messages
59
+ # available in the backlog.
60
+ # Corresponds to the JSON property `receivedMessages`
61
+ # @return [Array<Google::Apis::PubsubV1::ReceivedMessage>]
62
+ attr_accessor :received_messages
63
+
64
+ def initialize(**args)
65
+ update!(**args)
66
+ end
67
+
68
+ # Update properties of this object
69
+ def update!(**args)
70
+ @received_messages = args[:received_messages] if args.key?(:received_messages)
71
+ end
72
+ end
73
+
74
+ # A message and its corresponding acknowledgment ID.
75
+ class ReceivedMessage
76
+ include Google::Apis::Core::Hashable
77
+
78
+ # A message data and its attributes. The message payload must not be empty;
79
+ # it must contain either a non-empty data field, or at least one attribute.
80
+ # Corresponds to the JSON property `message`
81
+ # @return [Google::Apis::PubsubV1::Message]
82
+ attr_accessor :message
83
+
84
+ # This ID can be used to acknowledge the received message.
85
+ # Corresponds to the JSON property `ackId`
86
+ # @return [String]
87
+ attr_accessor :ack_id
88
+
89
+ def initialize(**args)
90
+ update!(**args)
91
+ end
92
+
93
+ # Update properties of this object
94
+ def update!(**args)
95
+ @message = args[:message] if args.key?(:message)
96
+ @ack_id = args[:ack_id] if args.key?(:ack_id)
97
+ end
98
+ end
99
+
100
+ # Configuration for a push delivery endpoint.
101
+ class PushConfig
102
+ include Google::Apis::Core::Hashable
103
+
104
+ # A URL locating the endpoint to which messages should be pushed.
105
+ # For example, a Webhook endpoint might use "https://example.com/push".
106
+ # Corresponds to the JSON property `pushEndpoint`
107
+ # @return [String]
108
+ attr_accessor :push_endpoint
109
+
110
+ # Endpoint configuration attributes.
111
+ # Every endpoint has a set of API supported attributes that can be used to
112
+ # control different aspects of the message delivery.
113
+ # The currently supported attribute is `x-goog-version`, which you can
114
+ # use to change the format of the pushed message. This attribute
115
+ # indicates the version of the data expected by the endpoint. This
116
+ # controls the shape of the pushed message (i.e., its fields and metadata).
117
+ # The endpoint version is based on the version of the Pub/Sub API.
118
+ # If not present during the `CreateSubscription` call, it will default to
119
+ # the version of the API used to make such call. If not present during a
120
+ # `ModifyPushConfig` call, its value will not be changed. `GetSubscription`
121
+ # calls will always return a valid version, even if the subscription was
122
+ # created without this attribute.
123
+ # The possible values for this attribute are:
124
+ # * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API.
125
+ # * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.
126
+ # Corresponds to the JSON property `attributes`
127
+ # @return [Hash<String,String>]
128
+ attr_accessor :attributes
129
+
130
+ def initialize(**args)
131
+ update!(**args)
132
+ end
133
+
134
+ # Update properties of this object
135
+ def update!(**args)
136
+ @push_endpoint = args[:push_endpoint] if args.key?(:push_endpoint)
137
+ @attributes = args[:attributes] if args.key?(:attributes)
138
+ end
139
+ end
140
+
141
+ # Response message for `TestIamPermissions` method.
142
+ class TestIamPermissionsResponse
143
+ include Google::Apis::Core::Hashable
144
+
145
+ # A subset of `TestPermissionsRequest.permissions` that the caller is
146
+ # allowed.
147
+ # Corresponds to the JSON property `permissions`
148
+ # @return [Array<String>]
149
+ attr_accessor :permissions
150
+
151
+ def initialize(**args)
152
+ update!(**args)
153
+ end
154
+
155
+ # Update properties of this object
156
+ def update!(**args)
157
+ @permissions = args[:permissions] if args.key?(:permissions)
158
+ end
159
+ end
160
+
161
+ # Request for the `Pull` method.
162
+ class PullRequest
163
+ include Google::Apis::Core::Hashable
164
+
165
+ # If this field set to true, the system will respond immediately even if
166
+ # it there are no messages available to return in the `Pull` response.
167
+ # Otherwise, the system may wait (for a bounded amount of time) until at
168
+ # least one message is available, rather than returning no messages. The
169
+ # client may cancel the request if it does not wish to wait any longer for
170
+ # the response.
171
+ # Corresponds to the JSON property `returnImmediately`
172
+ # @return [Boolean]
173
+ attr_accessor :return_immediately
174
+ alias_method :return_immediately?, :return_immediately
175
+
176
+ # The maximum number of messages returned for this request. The Pub/Sub
177
+ # system may return fewer than the number specified.
178
+ # Corresponds to the JSON property `maxMessages`
179
+ # @return [Fixnum]
180
+ attr_accessor :max_messages
181
+
182
+ def initialize(**args)
183
+ update!(**args)
184
+ end
185
+
186
+ # Update properties of this object
187
+ def update!(**args)
188
+ @return_immediately = args[:return_immediately] if args.key?(:return_immediately)
189
+ @max_messages = args[:max_messages] if args.key?(:max_messages)
190
+ end
191
+ end
192
+
193
+ # Response for the `ListSubscriptions` method.
194
+ class ListSubscriptionsResponse
195
+ include Google::Apis::Core::Hashable
196
+
197
+ # If not empty, indicates that there may be more subscriptions that match
198
+ # the request; this value should be passed in a new
199
+ # `ListSubscriptionsRequest` to get more subscriptions.
200
+ # Corresponds to the JSON property `nextPageToken`
201
+ # @return [String]
202
+ attr_accessor :next_page_token
203
+
204
+ # The subscriptions that match the request.
205
+ # Corresponds to the JSON property `subscriptions`
206
+ # @return [Array<Google::Apis::PubsubV1::Subscription>]
207
+ attr_accessor :subscriptions
208
+
209
+ def initialize(**args)
210
+ update!(**args)
211
+ end
212
+
213
+ # Update properties of this object
214
+ def update!(**args)
215
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
216
+ @subscriptions = args[:subscriptions] if args.key?(:subscriptions)
217
+ end
218
+ end
219
+
220
+ # Request for the Publish method.
221
+ class PublishRequest
222
+ include Google::Apis::Core::Hashable
223
+
224
+ # The messages to publish.
225
+ # Corresponds to the JSON property `messages`
226
+ # @return [Array<Google::Apis::PubsubV1::Message>]
227
+ attr_accessor :messages
228
+
229
+ def initialize(**args)
230
+ update!(**args)
231
+ end
232
+
233
+ # Update properties of this object
234
+ def update!(**args)
235
+ @messages = args[:messages] if args.key?(:messages)
236
+ end
237
+ end
238
+
25
239
  # Response for the `Publish` method.
26
240
  class PublishResponse
27
241
  include Google::Apis::Core::Hashable
@@ -47,14 +261,6 @@ module Google
47
261
  class Subscription
48
262
  include Google::Apis::Core::Hashable
49
263
 
50
- # The name of the topic from which this subscription is receiving messages.
51
- # Format is `projects/`project`/topics/`topic``.
52
- # The value of this field will be `_deleted-topic_` if the topic has been
53
- # deleted.
54
- # Corresponds to the JSON property `topic`
55
- # @return [String]
56
- attr_accessor :topic
57
-
58
264
  # Configuration for a push delivery endpoint.
59
265
  # Corresponds to the JSON property `pushConfig`
60
266
  # @return [Google::Apis::PubsubV1::PushConfig]
@@ -90,16 +296,24 @@ module Google
90
296
  # @return [String]
91
297
  attr_accessor :name
92
298
 
299
+ # The name of the topic from which this subscription is receiving messages.
300
+ # Format is `projects/`project`/topics/`topic``.
301
+ # The value of this field will be `_deleted-topic_` if the topic has been
302
+ # deleted.
303
+ # Corresponds to the JSON property `topic`
304
+ # @return [String]
305
+ attr_accessor :topic
306
+
93
307
  def initialize(**args)
94
308
  update!(**args)
95
309
  end
96
310
 
97
311
  # Update properties of this object
98
312
  def update!(**args)
99
- @topic = args[:topic] if args.key?(:topic)
100
313
  @push_config = args[:push_config] if args.key?(:push_config)
101
314
  @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
102
315
  @name = args[:name] if args.key?(:name)
316
+ @topic = args[:topic] if args.key?(:topic)
103
317
  end
104
318
  end
105
319
 
@@ -312,9 +526,15 @@ module Google
312
526
 
313
527
  # A message data and its attributes. The message payload must not be empty;
314
528
  # it must contain either a non-empty data field, or at least one attribute.
315
- class PubsubMessage
529
+ class Message
316
530
  include Google::Apis::Core::Hashable
317
531
 
532
+ # The message payload.
533
+ # Corresponds to the JSON property `data`
534
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
535
+ # @return [String]
536
+ attr_accessor :data
537
+
318
538
  # Optional attributes for this message.
319
539
  # Corresponds to the JSON property `attributes`
320
540
  # @return [Hash<String,String>]
@@ -335,22 +555,16 @@ module Google
335
555
  # @return [String]
336
556
  attr_accessor :publish_time
337
557
 
338
- # The message payload.
339
- # Corresponds to the JSON property `data`
340
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
341
- # @return [String]
342
- attr_accessor :data
343
-
344
558
  def initialize(**args)
345
559
  update!(**args)
346
560
  end
347
561
 
348
562
  # Update properties of this object
349
563
  def update!(**args)
564
+ @data = args[:data] if args.key?(:data)
350
565
  @attributes = args[:attributes] if args.key?(:attributes)
351
566
  @message_id = args[:message_id] if args.key?(:message_id)
352
567
  @publish_time = args[:publish_time] if args.key?(:publish_time)
353
- @data = args[:data] if args.key?(:data)
354
568
  end
355
569
  end
356
570
 
@@ -394,274 +608,60 @@ module Google
394
608
  end
395
609
  end
396
610
 
397
- # Request for the Acknowledge method.
398
- class AcknowledgeRequest
399
- include Google::Apis::Core::Hashable
400
-
401
- # The acknowledgment ID for the messages being acknowledged that was returned
402
- # by the Pub/Sub system in the `Pull` response. Must not be empty.
403
- # Corresponds to the JSON property `ackIds`
404
- # @return [Array<String>]
405
- attr_accessor :ack_ids
406
-
407
- def initialize(**args)
408
- update!(**args)
409
- end
410
-
411
- # Update properties of this object
412
- def update!(**args)
413
- @ack_ids = args[:ack_ids] if args.key?(:ack_ids)
414
- end
415
- end
416
-
417
- # A generic empty message that you can re-use to avoid defining duplicated
418
- # empty messages in your APIs. A typical example is to use it as the request
419
- # or the response type of an API method. For instance:
420
- # service Foo `
421
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
422
- # `
423
- # The JSON representation for `Empty` is empty JSON object ````.
424
- class Empty
425
- include Google::Apis::Core::Hashable
426
-
427
- def initialize(**args)
428
- update!(**args)
429
- end
430
-
431
- # Update properties of this object
432
- def update!(**args)
433
- end
434
- end
435
-
436
611
  # Response for the `ListTopics` method.
437
612
  class ListTopicsResponse
438
613
  include Google::Apis::Core::Hashable
439
614
 
440
- # If not empty, indicates that there may be more topics that match the
441
- # request; this value should be passed in a new `ListTopicsRequest`.
442
- # Corresponds to the JSON property `nextPageToken`
443
- # @return [String]
444
- attr_accessor :next_page_token
445
-
446
615
  # The resulting topics.
447
616
  # Corresponds to the JSON property `topics`
448
617
  # @return [Array<Google::Apis::PubsubV1::Topic>]
449
618
  attr_accessor :topics
450
619
 
451
- def initialize(**args)
452
- update!(**args)
453
- end
454
-
455
- # Update properties of this object
456
- def update!(**args)
457
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
458
- @topics = args[:topics] if args.key?(:topics)
459
- end
460
- end
461
-
462
- # Response for the `ListTopicSubscriptions` method.
463
- class ListTopicSubscriptionsResponse
464
- include Google::Apis::Core::Hashable
465
-
466
- # If not empty, indicates that there may be more subscriptions that match
467
- # the request; this value should be passed in a new
468
- # `ListTopicSubscriptionsRequest` to get more subscriptions.
620
+ # If not empty, indicates that there may be more topics that match the
621
+ # request; this value should be passed in a new `ListTopicsRequest`.
469
622
  # Corresponds to the JSON property `nextPageToken`
470
623
  # @return [String]
471
624
  attr_accessor :next_page_token
472
625
 
473
- # The names of the subscriptions that match the request.
474
- # Corresponds to the JSON property `subscriptions`
475
- # @return [Array<String>]
476
- attr_accessor :subscriptions
477
-
478
626
  def initialize(**args)
479
627
  update!(**args)
480
628
  end
481
629
 
482
630
  # Update properties of this object
483
631
  def update!(**args)
632
+ @topics = args[:topics] if args.key?(:topics)
484
633
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
485
- @subscriptions = args[:subscriptions] if args.key?(:subscriptions)
486
634
  end
487
635
  end
488
636
 
489
- # Response for the `Pull` method.
490
- class PullResponse
491
- include Google::Apis::Core::Hashable
492
-
493
- # Received Pub/Sub messages. The Pub/Sub system will return zero messages if
494
- # there are no more available in the backlog. The Pub/Sub system may return
495
- # fewer than the `maxMessages` requested even if there are more messages
496
- # available in the backlog.
497
- # Corresponds to the JSON property `receivedMessages`
498
- # @return [Array<Google::Apis::PubsubV1::ReceivedMessage>]
499
- attr_accessor :received_messages
500
-
501
- def initialize(**args)
502
- update!(**args)
503
- end
504
-
505
- # Update properties of this object
506
- def update!(**args)
507
- @received_messages = args[:received_messages] if args.key?(:received_messages)
508
- end
509
- end
510
-
511
- # A message and its corresponding acknowledgment ID.
512
- class ReceivedMessage
513
- include Google::Apis::Core::Hashable
514
-
515
- # A message data and its attributes. The message payload must not be empty;
516
- # it must contain either a non-empty data field, or at least one attribute.
517
- # Corresponds to the JSON property `message`
518
- # @return [Google::Apis::PubsubV1::PubsubMessage]
519
- attr_accessor :message
520
-
521
- # This ID can be used to acknowledge the received message.
522
- # Corresponds to the JSON property `ackId`
523
- # @return [String]
524
- attr_accessor :ack_id
525
-
526
- def initialize(**args)
527
- update!(**args)
528
- end
529
-
530
- # Update properties of this object
531
- def update!(**args)
532
- @message = args[:message] if args.key?(:message)
533
- @ack_id = args[:ack_id] if args.key?(:ack_id)
534
- end
535
- end
536
-
537
- # Configuration for a push delivery endpoint.
538
- class PushConfig
637
+ # A generic empty message that you can re-use to avoid defining duplicated
638
+ # empty messages in your APIs. A typical example is to use it as the request
639
+ # or the response type of an API method. For instance:
640
+ # service Foo `
641
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
642
+ # `
643
+ # The JSON representation for `Empty` is empty JSON object ````.
644
+ class Empty
539
645
  include Google::Apis::Core::Hashable
540
646
 
541
- # A URL locating the endpoint to which messages should be pushed.
542
- # For example, a Webhook endpoint might use "https://example.com/push".
543
- # Corresponds to the JSON property `pushEndpoint`
544
- # @return [String]
545
- attr_accessor :push_endpoint
546
-
547
- # Endpoint configuration attributes.
548
- # Every endpoint has a set of API supported attributes that can be used to
549
- # control different aspects of the message delivery.
550
- # The currently supported attribute is `x-goog-version`, which you can
551
- # use to change the format of the pushed message. This attribute
552
- # indicates the version of the data expected by the endpoint. This
553
- # controls the shape of the pushed message (i.e., its fields and metadata).
554
- # The endpoint version is based on the version of the Pub/Sub API.
555
- # If not present during the `CreateSubscription` call, it will default to
556
- # the version of the API used to make such call. If not present during a
557
- # `ModifyPushConfig` call, its value will not be changed. `GetSubscription`
558
- # calls will always return a valid version, even if the subscription was
559
- # created without this attribute.
560
- # The possible values for this attribute are:
561
- # * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API.
562
- # * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.
563
- # Corresponds to the JSON property `attributes`
564
- # @return [Hash<String,String>]
565
- attr_accessor :attributes
566
-
567
647
  def initialize(**args)
568
648
  update!(**args)
569
649
  end
570
650
 
571
651
  # Update properties of this object
572
652
  def update!(**args)
573
- @push_endpoint = args[:push_endpoint] if args.key?(:push_endpoint)
574
- @attributes = args[:attributes] if args.key?(:attributes)
575
653
  end
576
654
  end
577
655
 
578
- # Response message for `TestIamPermissions` method.
579
- class TestIamPermissionsResponse
656
+ # Request for the Acknowledge method.
657
+ class AcknowledgeRequest
580
658
  include Google::Apis::Core::Hashable
581
659
 
582
- # A subset of `TestPermissionsRequest.permissions` that the caller is
583
- # allowed.
584
- # Corresponds to the JSON property `permissions`
660
+ # The acknowledgment ID for the messages being acknowledged that was returned
661
+ # by the Pub/Sub system in the `Pull` response. Must not be empty.
662
+ # Corresponds to the JSON property `ackIds`
585
663
  # @return [Array<String>]
586
- attr_accessor :permissions
587
-
588
- def initialize(**args)
589
- update!(**args)
590
- end
591
-
592
- # Update properties of this object
593
- def update!(**args)
594
- @permissions = args[:permissions] if args.key?(:permissions)
595
- end
596
- end
597
-
598
- # Request for the `Pull` method.
599
- class PullRequest
600
- include Google::Apis::Core::Hashable
601
-
602
- # If this field set to true, the system will respond immediately even if
603
- # it there are no messages available to return in the `Pull` response.
604
- # Otherwise, the system may wait (for a bounded amount of time) until at
605
- # least one message is available, rather than returning no messages. The
606
- # client may cancel the request if it does not wish to wait any longer for
607
- # the response.
608
- # Corresponds to the JSON property `returnImmediately`
609
- # @return [Boolean]
610
- attr_accessor :return_immediately
611
- alias_method :return_immediately?, :return_immediately
612
-
613
- # The maximum number of messages returned for this request. The Pub/Sub
614
- # system may return fewer than the number specified.
615
- # Corresponds to the JSON property `maxMessages`
616
- # @return [Fixnum]
617
- attr_accessor :max_messages
618
-
619
- def initialize(**args)
620
- update!(**args)
621
- end
622
-
623
- # Update properties of this object
624
- def update!(**args)
625
- @return_immediately = args[:return_immediately] if args.key?(:return_immediately)
626
- @max_messages = args[:max_messages] if args.key?(:max_messages)
627
- end
628
- end
629
-
630
- # Response for the `ListSubscriptions` method.
631
- class ListSubscriptionsResponse
632
- include Google::Apis::Core::Hashable
633
-
634
- # If not empty, indicates that there may be more subscriptions that match
635
- # the request; this value should be passed in a new
636
- # `ListSubscriptionsRequest` to get more subscriptions.
637
- # Corresponds to the JSON property `nextPageToken`
638
- # @return [String]
639
- attr_accessor :next_page_token
640
-
641
- # The subscriptions that match the request.
642
- # Corresponds to the JSON property `subscriptions`
643
- # @return [Array<Google::Apis::PubsubV1::Subscription>]
644
- attr_accessor :subscriptions
645
-
646
- def initialize(**args)
647
- update!(**args)
648
- end
649
-
650
- # Update properties of this object
651
- def update!(**args)
652
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
653
- @subscriptions = args[:subscriptions] if args.key?(:subscriptions)
654
- end
655
- end
656
-
657
- # Request for the Publish method.
658
- class PublishRequest
659
- include Google::Apis::Core::Hashable
660
-
661
- # The messages to publish.
662
- # Corresponds to the JSON property `messages`
663
- # @return [Array<Google::Apis::PubsubV1::PubsubMessage>]
664
- attr_accessor :messages
664
+ attr_accessor :ack_ids
665
665
 
666
666
  def initialize(**args)
667
667
  update!(**args)
@@ -669,7 +669,7 @@ module Google
669
669
 
670
670
  # Update properties of this object
671
671
  def update!(**args)
672
- @messages = args[:messages] if args.key?(:messages)
672
+ @ack_ids = args[:ack_ids] if args.key?(:ack_ids)
673
673
  end
674
674
  end
675
675
  end