google-api-client 0.11.3 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (397) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +51 -0
  3. data/api_names.yaml +32317 -34465
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  13. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  14. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  15. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  18. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  19. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  22. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  23. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  24. data/generated/google/apis/analytics_v3/service.rb +82 -82
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
  27. data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
  28. data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
  29. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  30. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  31. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  32. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  33. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  34. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  35. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  36. data/generated/google/apis/appengine_v1.rb +1 -1
  37. data/generated/google/apis/appengine_v1/classes.rb +825 -817
  38. data/generated/google/apis/appengine_v1/representations.rb +185 -184
  39. data/generated/google/apis/appengine_v1/service.rb +220 -216
  40. data/generated/google/apis/appstate_v1.rb +1 -1
  41. data/generated/google/apis/bigquery_v2.rb +1 -1
  42. data/generated/google/apis/bigquery_v2/classes.rb +9 -7
  43. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  44. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  45. data/generated/google/apis/blogger_v3/service.rb +3 -3
  46. data/generated/google/apis/books_v1/classes.rb +55 -55
  47. data/generated/google/apis/books_v1/representations.rb +67 -67
  48. data/generated/google/apis/books_v1/service.rb +82 -82
  49. data/generated/google/apis/calendar_v3.rb +1 -1
  50. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  51. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  52. data/generated/google/apis/calendar_v3/service.rb +2 -2
  53. data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
  54. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  55. data/generated/google/apis/civicinfo_v2/service.rb +8 -8
  56. data/generated/google/apis/classroom_v1.rb +24 -24
  57. data/generated/google/apis/classroom_v1/classes.rb +381 -381
  58. data/generated/google/apis/classroom_v1/representations.rb +108 -108
  59. data/generated/google/apis/classroom_v1/service.rb +503 -503
  60. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  61. data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
  62. data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
  63. data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
  64. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  65. data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
  66. data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
  67. data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
  68. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  69. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
  70. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
  71. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
  72. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  73. data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
  74. data/generated/google/apis/cloudkms_v1.rb +3 -3
  75. data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
  76. data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
  77. data/generated/google/apis/cloudkms_v1/service.rb +224 -224
  78. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  79. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
  80. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
  81. data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
  85. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  88. data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
  89. data/generated/google/apis/compute_beta.rb +1 -1
  90. data/generated/google/apis/compute_beta/classes.rb +57 -15
  91. data/generated/google/apis/compute_beta/representations.rb +30 -14
  92. data/generated/google/apis/compute_beta/service.rb +52 -52
  93. data/generated/google/apis/compute_v1.rb +1 -1
  94. data/generated/google/apis/compute_v1/classes.rb +223 -10
  95. data/generated/google/apis/compute_v1/representations.rb +85 -16
  96. data/generated/google/apis/compute_v1/service.rb +327 -51
  97. data/generated/google/apis/container_v1/classes.rb +267 -267
  98. data/generated/google/apis/container_v1/representations.rb +61 -61
  99. data/generated/google/apis/container_v1/service.rb +123 -123
  100. data/generated/google/apis/content_v2.rb +1 -1
  101. data/generated/google/apis/content_v2/classes.rb +71 -71
  102. data/generated/google/apis/content_v2/representations.rb +105 -105
  103. data/generated/google/apis/content_v2/service.rb +120 -120
  104. data/generated/google/apis/dataflow_v1b3.rb +4 -4
  105. data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
  106. data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
  107. data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
  108. data/generated/google/apis/dataproc_v1.rb +1 -1
  109. data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
  110. data/generated/google/apis/dataproc_v1/representations.rb +147 -147
  111. data/generated/google/apis/dataproc_v1/service.rb +309 -305
  112. data/generated/google/apis/datastore_v1.rb +1 -1
  113. data/generated/google/apis/datastore_v1/classes.rb +818 -818
  114. data/generated/google/apis/datastore_v1/representations.rb +151 -151
  115. data/generated/google/apis/datastore_v1/service.rb +62 -62
  116. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  117. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  118. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  119. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  120. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  121. data/generated/google/apis/discovery_v1/service.rb +1 -1
  122. data/generated/google/apis/dns_v1.rb +1 -1
  123. data/generated/google/apis/dns_v1/classes.rb +3 -3
  124. data/generated/google/apis/dns_v1/representations.rb +6 -6
  125. data/generated/google/apis/dns_v1/service.rb +12 -12
  126. data/generated/google/apis/dns_v2beta1.rb +1 -1
  127. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  128. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  129. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  130. data/generated/google/apis/drive_v2/service.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 +188 -188
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
  136. data/generated/google/apis/firebaserules_v1.rb +1 -1
  137. data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
  138. data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
  139. data/generated/google/apis/firebaserules_v1/service.rb +89 -89
  140. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  141. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  142. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  143. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  144. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  145. data/generated/google/apis/games_management_v1management.rb +1 -1
  146. data/generated/google/apis/games_v1.rb +1 -1
  147. data/generated/google/apis/games_v1/classes.rb +23 -23
  148. data/generated/google/apis/games_v1/representations.rb +43 -43
  149. data/generated/google/apis/games_v1/service.rb +72 -72
  150. data/generated/google/apis/genomics_v1.rb +7 -7
  151. data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
  152. data/generated/google/apis/genomics_v1/representations.rb +298 -298
  153. data/generated/google/apis/genomics_v1/service.rb +1160 -1160
  154. data/generated/google/apis/groupssettings_v1/service.rb +0 -3
  155. data/generated/google/apis/iam_v1.rb +1 -1
  156. data/generated/google/apis/iam_v1/classes.rb +235 -235
  157. data/generated/google/apis/iam_v1/representations.rb +72 -72
  158. data/generated/google/apis/iam_v1/service.rb +189 -189
  159. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  160. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  161. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  162. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  163. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  164. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  165. data/generated/google/apis/language_v1/classes.rb +220 -220
  166. data/generated/google/apis/language_v1/representations.rb +81 -81
  167. data/generated/google/apis/language_v1/service.rb +43 -43
  168. data/generated/google/apis/language_v1beta1/classes.rb +448 -448
  169. data/generated/google/apis/language_v1beta1/representations.rb +106 -106
  170. data/generated/google/apis/language_v1beta1/service.rb +31 -31
  171. data/generated/google/apis/licensing_v1/service.rb +2 -2
  172. data/generated/google/apis/logging_v2/classes.rb +737 -737
  173. data/generated/google/apis/logging_v2/representations.rb +120 -120
  174. data/generated/google/apis/logging_v2/service.rb +479 -479
  175. data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
  176. data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
  177. data/generated/google/apis/logging_v2beta1/service.rb +349 -349
  178. data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
  179. data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
  180. data/generated/google/apis/manufacturers_v1/service.rb +8 -8
  181. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  182. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  183. data/generated/google/apis/mirror_v1/service.rb +20 -20
  184. data/generated/google/apis/ml_v1.rb +1 -1
  185. data/generated/google/apis/ml_v1/classes.rb +1285 -1205
  186. data/generated/google/apis/ml_v1/representations.rb +204 -174
  187. data/generated/google/apis/ml_v1/service.rb +150 -145
  188. data/generated/google/apis/monitoring_v3.rb +1 -1
  189. data/generated/google/apis/monitoring_v3/classes.rb +880 -880
  190. data/generated/google/apis/monitoring_v3/representations.rb +154 -154
  191. data/generated/google/apis/monitoring_v3/service.rb +299 -299
  192. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  193. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  194. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  195. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  196. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  197. data/generated/google/apis/partners_v2.rb +1 -1
  198. data/generated/google/apis/partners_v2/classes.rb +524 -509
  199. data/generated/google/apis/partners_v2/representations.rb +115 -111
  200. data/generated/google/apis/partners_v2/service.rb +287 -287
  201. data/generated/google/apis/people_v1.rb +13 -13
  202. data/generated/google/apis/people_v1/classes.rb +1150 -1150
  203. data/generated/google/apis/people_v1/representations.rb +258 -258
  204. data/generated/google/apis/people_v1/service.rb +7 -7
  205. data/generated/google/apis/plus_domains_v1.rb +1 -1
  206. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  207. data/generated/google/apis/plus_v1.rb +1 -1
  208. data/generated/google/apis/plus_v1/service.rb +1 -1
  209. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  210. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
  211. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
  212. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
  213. data/generated/google/apis/pubsub_v1/classes.rb +228 -228
  214. data/generated/google/apis/pubsub_v1/representations.rb +69 -69
  215. data/generated/google/apis/pubsub_v1/service.rb +182 -182
  216. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  217. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  218. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  219. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  220. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  221. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  222. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  223. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  226. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  227. data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
  228. data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
  229. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  230. data/generated/google/apis/script_v1.rb +9 -9
  231. data/generated/google/apis/script_v1/classes.rb +94 -94
  232. data/generated/google/apis/script_v1/representations.rb +26 -26
  233. data/generated/google/apis/searchconsole_v1.rb +1 -1
  234. data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
  235. data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
  236. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  237. data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
  238. data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
  239. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  240. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  241. data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
  242. data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
  243. data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
  244. data/generated/google/apis/serviceuser_v1.rb +4 -4
  245. data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
  246. data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
  247. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  248. data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
  249. data/generated/google/apis/sheets_v4/representations.rb +324 -324
  250. data/generated/google/apis/sheets_v4/service.rb +49 -49
  251. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  252. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  253. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  254. data/generated/google/apis/slides_v1.rb +4 -4
  255. data/generated/google/apis/slides_v1/classes.rb +2907 -2907
  256. data/generated/google/apis/slides_v1/representations.rb +695 -695
  257. data/generated/google/apis/slides_v1/service.rb +40 -40
  258. data/generated/google/apis/sourcerepo_v1.rb +7 -1
  259. data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
  260. data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
  261. data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
  262. data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
  263. data/generated/google/apis/spanner_v1/representations.rb +205 -205
  264. data/generated/google/apis/spanner_v1/service.rb +525 -525
  265. data/generated/google/apis/speech_v1beta1.rb +1 -1
  266. data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
  267. data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
  268. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  269. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  270. data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
  271. data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
  272. data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
  273. data/generated/google/apis/storage_v1/classes.rb +6 -6
  274. data/generated/google/apis/storage_v1/representations.rb +4 -4
  275. data/generated/google/apis/storage_v1/service.rb +1 -1
  276. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  277. data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
  278. data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
  279. data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
  280. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  281. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  282. data/generated/google/apis/translate_v2.rb +1 -1
  283. data/generated/google/apis/translate_v2/classes.rb +46 -46
  284. data/generated/google/apis/translate_v2/representations.rb +22 -22
  285. data/generated/google/apis/translate_v2/service.rb +81 -74
  286. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  287. data/generated/google/apis/vision_v1/representations.rb +166 -166
  288. data/generated/google/apis/vision_v1/service.rb +6 -6
  289. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  290. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  291. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  292. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  293. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  294. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  295. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  296. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  297. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  298. data/generated/google/apis/youtube_v3/service.rb +80 -80
  299. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  300. data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
  301. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  302. data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
  303. data/google-api-client.gemspec +3 -3
  304. data/lib/google/apis/core/base_service.rb +6 -0
  305. data/lib/google/apis/generator/annotator.rb +2 -2
  306. data/lib/google/apis/generator/model.rb +2 -2
  307. data/lib/google/apis/version.rb +1 -1
  308. metadata +11 -94
  309. data/dl.rb +0 -0
  310. data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
  311. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
  312. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
  313. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
  314. data/generated/google/apis/appengine_v1beta4.rb +0 -35
  315. data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
  316. data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
  317. data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
  318. data/generated/google/apis/appengine_v1beta5.rb +0 -40
  319. data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
  320. data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
  321. data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
  322. data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
  323. data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
  324. data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
  325. data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
  326. data/generated/google/apis/classroom_v1beta1.rb +0 -49
  327. data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
  328. data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
  329. data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
  330. data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
  331. data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
  332. data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
  333. data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
  334. data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
  335. data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
  336. data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
  337. data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
  338. data/generated/google/apis/container_v1beta1.rb +0 -35
  339. data/generated/google/apis/container_v1beta1/classes.rb +0 -466
  340. data/generated/google/apis/container_v1beta1/representations.rb +0 -177
  341. data/generated/google/apis/container_v1beta1/service.rb +0 -394
  342. data/generated/google/apis/coordinate_v1.rb +0 -37
  343. data/generated/google/apis/coordinate_v1/classes.rb +0 -669
  344. data/generated/google/apis/coordinate_v1/representations.rb +0 -321
  345. data/generated/google/apis/coordinate_v1/service.rb +0 -678
  346. data/generated/google/apis/datastore_v1beta2.rb +0 -40
  347. data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
  348. data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
  349. data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
  350. data/generated/google/apis/datastore_v1beta3.rb +0 -38
  351. data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
  352. data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
  353. data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
  354. data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
  355. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
  356. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
  357. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
  358. data/generated/google/apis/dfareporting_v2_1.rb +0 -37
  359. data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
  360. data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
  361. data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
  362. data/generated/google/apis/dfareporting_v2_3.rb +0 -37
  363. data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
  364. data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
  365. data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
  366. data/generated/google/apis/dfareporting_v2_5.rb +0 -40
  367. data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
  368. data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
  369. data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
  370. data/generated/google/apis/dfareporting_v2_6.rb +0 -40
  371. data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
  372. data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
  373. data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
  374. data/generated/google/apis/gan_v1beta1.rb +0 -31
  375. data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
  376. data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
  377. data/generated/google/apis/gan_v1beta1/service.rb +0 -682
  378. data/generated/google/apis/genomics_v1beta2.rb +0 -46
  379. data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
  380. data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
  381. data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
  382. data/generated/google/apis/logging_v1beta3.rb +0 -47
  383. data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
  384. data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
  385. data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
  386. data/generated/google/apis/manager_v1beta2.rb +0 -53
  387. data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
  388. data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
  389. data/generated/google/apis/manager_v1beta2/service.rb +0 -372
  390. data/generated/google/apis/pubsub_v1beta2.rb +0 -37
  391. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
  392. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
  393. data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
  394. data/generated/google/apis/tracing_v1.rb +0 -40
  395. data/generated/google/apis/tracing_v1/classes.rb +0 -664
  396. data/generated/google/apis/tracing_v1/representations.rb +0 -279
  397. data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -1,372 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'google/apis/core/base_service'
16
- require 'google/apis/core/json_representation'
17
- require 'google/apis/core/hashable'
18
- require 'google/apis/errors'
19
-
20
- module Google
21
- module Apis
22
- module ManagerV1beta2
23
- # Deployment Manager API
24
- #
25
- # The Deployment Manager API allows users to declaratively configure, deploy and
26
- # run complex solutions on the Google Cloud Platform.
27
- #
28
- # @example
29
- # require 'google/apis/manager_v1beta2'
30
- #
31
- # Manager = Google::Apis::ManagerV1beta2 # Alias the module
32
- # service = Manager::ManagerService.new
33
- #
34
- # @see https://developers.google.com/deployment-manager/
35
- class ManagerService < Google::Apis::Core::BaseService
36
- # @return [String]
37
- # API key. Your API key identifies your project and provides you with API access,
38
- # quota, and reports. Required unless you provide an OAuth 2.0 token.
39
- attr_accessor :key
40
-
41
- # @return [String]
42
- # Available to use for quota purposes for server-side applications. Can be any
43
- # arbitrary string assigned to a user, but should not exceed 40 characters.
44
- # Overrides userIp if both are provided.
45
- attr_accessor :quota_user
46
-
47
- # @return [String]
48
- # IP address of the site where the request originates. Use this if you want to
49
- # enforce per-user limits.
50
- attr_accessor :user_ip
51
-
52
- def initialize
53
- super('https://www.googleapis.com/', 'manager/v1beta2/projects/')
54
- end
55
-
56
- #
57
- # @param [String] project_id
58
- # @param [String] region
59
- # @param [String] deployment_name
60
- # @param [String] fields
61
- # Selector specifying which fields to include in a partial response.
62
- # @param [String] quota_user
63
- # Available to use for quota purposes for server-side applications. Can be any
64
- # arbitrary string assigned to a user, but should not exceed 40 characters.
65
- # Overrides userIp if both are provided.
66
- # @param [String] user_ip
67
- # IP address of the site where the request originates. Use this if you want to
68
- # enforce per-user limits.
69
- # @param [Google::Apis::RequestOptions] options
70
- # Request-specific options
71
- #
72
- # @yield [result, err] Result & error if block supplied
73
- # @yieldparam result [NilClass] No result returned for this method
74
- # @yieldparam err [StandardError] error object if request failed
75
- #
76
- # @return [void]
77
- #
78
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
79
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
- # @raise [Google::Apis::AuthorizationError] Authorization is required
81
- def delete_deployment(project_id, region, deployment_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
82
- command = make_simple_command(:delete, '{projectId}/regions/{region}/deployments/{deploymentName}', options)
83
- command.params['projectId'] = project_id unless project_id.nil?
84
- command.params['region'] = region unless region.nil?
85
- command.params['deploymentName'] = deployment_name unless deployment_name.nil?
86
- command.query['fields'] = fields unless fields.nil?
87
- command.query['quotaUser'] = quota_user unless quota_user.nil?
88
- command.query['userIp'] = user_ip unless user_ip.nil?
89
- execute_or_queue_command(command, &block)
90
- end
91
-
92
- #
93
- # @param [String] project_id
94
- # @param [String] region
95
- # @param [String] deployment_name
96
- # @param [String] fields
97
- # Selector specifying which fields to include in a partial response.
98
- # @param [String] quota_user
99
- # Available to use for quota purposes for server-side applications. Can be any
100
- # arbitrary string assigned to a user, but should not exceed 40 characters.
101
- # Overrides userIp if both are provided.
102
- # @param [String] user_ip
103
- # IP address of the site where the request originates. Use this if you want to
104
- # enforce per-user limits.
105
- # @param [Google::Apis::RequestOptions] options
106
- # Request-specific options
107
- #
108
- # @yield [result, err] Result & error if block supplied
109
- # @yieldparam result [Google::Apis::ManagerV1beta2::Deployment] parsed result object
110
- # @yieldparam err [StandardError] error object if request failed
111
- #
112
- # @return [Google::Apis::ManagerV1beta2::Deployment]
113
- #
114
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
115
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
116
- # @raise [Google::Apis::AuthorizationError] Authorization is required
117
- def get_deployment(project_id, region, deployment_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
118
- command = make_simple_command(:get, '{projectId}/regions/{region}/deployments/{deploymentName}', options)
119
- command.response_representation = Google::Apis::ManagerV1beta2::Deployment::Representation
120
- command.response_class = Google::Apis::ManagerV1beta2::Deployment
121
- command.params['projectId'] = project_id unless project_id.nil?
122
- command.params['region'] = region unless region.nil?
123
- command.params['deploymentName'] = deployment_name unless deployment_name.nil?
124
- command.query['fields'] = fields unless fields.nil?
125
- command.query['quotaUser'] = quota_user unless quota_user.nil?
126
- command.query['userIp'] = user_ip unless user_ip.nil?
127
- execute_or_queue_command(command, &block)
128
- end
129
-
130
- #
131
- # @param [String] project_id
132
- # @param [String] region
133
- # @param [Google::Apis::ManagerV1beta2::Deployment] deployment_object
134
- # @param [String] fields
135
- # Selector specifying which fields to include in a partial response.
136
- # @param [String] quota_user
137
- # Available to use for quota purposes for server-side applications. Can be any
138
- # arbitrary string assigned to a user, but should not exceed 40 characters.
139
- # Overrides userIp if both are provided.
140
- # @param [String] user_ip
141
- # IP address of the site where the request originates. Use this if you want to
142
- # enforce per-user limits.
143
- # @param [Google::Apis::RequestOptions] options
144
- # Request-specific options
145
- #
146
- # @yield [result, err] Result & error if block supplied
147
- # @yieldparam result [Google::Apis::ManagerV1beta2::Deployment] parsed result object
148
- # @yieldparam err [StandardError] error object if request failed
149
- #
150
- # @return [Google::Apis::ManagerV1beta2::Deployment]
151
- #
152
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
153
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
154
- # @raise [Google::Apis::AuthorizationError] Authorization is required
155
- def insert_deployment(project_id, region, deployment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
156
- command = make_simple_command(:post, '{projectId}/regions/{region}/deployments', options)
157
- command.request_representation = Google::Apis::ManagerV1beta2::Deployment::Representation
158
- command.request_object = deployment_object
159
- command.response_representation = Google::Apis::ManagerV1beta2::Deployment::Representation
160
- command.response_class = Google::Apis::ManagerV1beta2::Deployment
161
- command.params['projectId'] = project_id unless project_id.nil?
162
- command.params['region'] = region unless region.nil?
163
- command.query['fields'] = fields unless fields.nil?
164
- command.query['quotaUser'] = quota_user unless quota_user.nil?
165
- command.query['userIp'] = user_ip unless user_ip.nil?
166
- execute_or_queue_command(command, &block)
167
- end
168
-
169
- #
170
- # @param [String] project_id
171
- # @param [String] region
172
- # @param [Fixnum] max_results
173
- # Maximum count of results to be returned. Acceptable values are 0 to 100,
174
- # inclusive. (Default: 50)
175
- # @param [String] page_token
176
- # Specifies a nextPageToken returned by a previous list request. This token can
177
- # be used to request the next page of results from a previous list request.
178
- # @param [String] fields
179
- # Selector specifying which fields to include in a partial response.
180
- # @param [String] quota_user
181
- # Available to use for quota purposes for server-side applications. Can be any
182
- # arbitrary string assigned to a user, but should not exceed 40 characters.
183
- # Overrides userIp if both are provided.
184
- # @param [String] user_ip
185
- # IP address of the site where the request originates. Use this if you want to
186
- # enforce per-user limits.
187
- # @param [Google::Apis::RequestOptions] options
188
- # Request-specific options
189
- #
190
- # @yield [result, err] Result & error if block supplied
191
- # @yieldparam result [Google::Apis::ManagerV1beta2::ListDeploymentsResponse] parsed result object
192
- # @yieldparam err [StandardError] error object if request failed
193
- #
194
- # @return [Google::Apis::ManagerV1beta2::ListDeploymentsResponse]
195
- #
196
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
197
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
198
- # @raise [Google::Apis::AuthorizationError] Authorization is required
199
- def list_deployments(project_id, region, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
200
- command = make_simple_command(:get, '{projectId}/regions/{region}/deployments', options)
201
- command.response_representation = Google::Apis::ManagerV1beta2::ListDeploymentsResponse::Representation
202
- command.response_class = Google::Apis::ManagerV1beta2::ListDeploymentsResponse
203
- command.params['projectId'] = project_id unless project_id.nil?
204
- command.params['region'] = region unless region.nil?
205
- command.query['maxResults'] = max_results unless max_results.nil?
206
- command.query['pageToken'] = page_token unless page_token.nil?
207
- command.query['fields'] = fields unless fields.nil?
208
- command.query['quotaUser'] = quota_user unless quota_user.nil?
209
- command.query['userIp'] = user_ip unless user_ip.nil?
210
- execute_or_queue_command(command, &block)
211
- end
212
-
213
- #
214
- # @param [String] project_id
215
- # @param [String] template_name
216
- # @param [String] fields
217
- # Selector specifying which fields to include in a partial response.
218
- # @param [String] quota_user
219
- # Available to use for quota purposes for server-side applications. Can be any
220
- # arbitrary string assigned to a user, but should not exceed 40 characters.
221
- # Overrides userIp if both are provided.
222
- # @param [String] user_ip
223
- # IP address of the site where the request originates. Use this if you want to
224
- # enforce per-user limits.
225
- # @param [Google::Apis::RequestOptions] options
226
- # Request-specific options
227
- #
228
- # @yield [result, err] Result & error if block supplied
229
- # @yieldparam result [NilClass] No result returned for this method
230
- # @yieldparam err [StandardError] error object if request failed
231
- #
232
- # @return [void]
233
- #
234
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
235
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
236
- # @raise [Google::Apis::AuthorizationError] Authorization is required
237
- def delete_template(project_id, template_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
238
- command = make_simple_command(:delete, '{projectId}/templates/{templateName}', options)
239
- command.params['projectId'] = project_id unless project_id.nil?
240
- command.params['templateName'] = template_name unless template_name.nil?
241
- command.query['fields'] = fields unless fields.nil?
242
- command.query['quotaUser'] = quota_user unless quota_user.nil?
243
- command.query['userIp'] = user_ip unless user_ip.nil?
244
- execute_or_queue_command(command, &block)
245
- end
246
-
247
- #
248
- # @param [String] project_id
249
- # @param [String] template_name
250
- # @param [String] fields
251
- # Selector specifying which fields to include in a partial response.
252
- # @param [String] quota_user
253
- # Available to use for quota purposes for server-side applications. Can be any
254
- # arbitrary string assigned to a user, but should not exceed 40 characters.
255
- # Overrides userIp if both are provided.
256
- # @param [String] user_ip
257
- # IP address of the site where the request originates. Use this if you want to
258
- # enforce per-user limits.
259
- # @param [Google::Apis::RequestOptions] options
260
- # Request-specific options
261
- #
262
- # @yield [result, err] Result & error if block supplied
263
- # @yieldparam result [Google::Apis::ManagerV1beta2::Template] parsed result object
264
- # @yieldparam err [StandardError] error object if request failed
265
- #
266
- # @return [Google::Apis::ManagerV1beta2::Template]
267
- #
268
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
269
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
270
- # @raise [Google::Apis::AuthorizationError] Authorization is required
271
- def get_template(project_id, template_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
272
- command = make_simple_command(:get, '{projectId}/templates/{templateName}', options)
273
- command.response_representation = Google::Apis::ManagerV1beta2::Template::Representation
274
- command.response_class = Google::Apis::ManagerV1beta2::Template
275
- command.params['projectId'] = project_id unless project_id.nil?
276
- command.params['templateName'] = template_name unless template_name.nil?
277
- command.query['fields'] = fields unless fields.nil?
278
- command.query['quotaUser'] = quota_user unless quota_user.nil?
279
- command.query['userIp'] = user_ip unless user_ip.nil?
280
- execute_or_queue_command(command, &block)
281
- end
282
-
283
- #
284
- # @param [String] project_id
285
- # @param [Google::Apis::ManagerV1beta2::Template] template_object
286
- # @param [String] fields
287
- # Selector specifying which fields to include in a partial response.
288
- # @param [String] quota_user
289
- # Available to use for quota purposes for server-side applications. Can be any
290
- # arbitrary string assigned to a user, but should not exceed 40 characters.
291
- # Overrides userIp if both are provided.
292
- # @param [String] user_ip
293
- # IP address of the site where the request originates. Use this if you want to
294
- # enforce per-user limits.
295
- # @param [Google::Apis::RequestOptions] options
296
- # Request-specific options
297
- #
298
- # @yield [result, err] Result & error if block supplied
299
- # @yieldparam result [Google::Apis::ManagerV1beta2::Template] parsed result object
300
- # @yieldparam err [StandardError] error object if request failed
301
- #
302
- # @return [Google::Apis::ManagerV1beta2::Template]
303
- #
304
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
305
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
306
- # @raise [Google::Apis::AuthorizationError] Authorization is required
307
- def insert_template(project_id, template_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
308
- command = make_simple_command(:post, '{projectId}/templates', options)
309
- command.request_representation = Google::Apis::ManagerV1beta2::Template::Representation
310
- command.request_object = template_object
311
- command.response_representation = Google::Apis::ManagerV1beta2::Template::Representation
312
- command.response_class = Google::Apis::ManagerV1beta2::Template
313
- command.params['projectId'] = project_id unless project_id.nil?
314
- command.query['fields'] = fields unless fields.nil?
315
- command.query['quotaUser'] = quota_user unless quota_user.nil?
316
- command.query['userIp'] = user_ip unless user_ip.nil?
317
- execute_or_queue_command(command, &block)
318
- end
319
-
320
- #
321
- # @param [String] project_id
322
- # @param [Fixnum] max_results
323
- # Maximum count of results to be returned. Acceptable values are 0 to 100,
324
- # inclusive. (Default: 50)
325
- # @param [String] page_token
326
- # Specifies a nextPageToken returned by a previous list request. This token can
327
- # be used to request the next page of results from a previous list request.
328
- # @param [String] fields
329
- # Selector specifying which fields to include in a partial response.
330
- # @param [String] quota_user
331
- # Available to use for quota purposes for server-side applications. Can be any
332
- # arbitrary string assigned to a user, but should not exceed 40 characters.
333
- # Overrides userIp if both are provided.
334
- # @param [String] user_ip
335
- # IP address of the site where the request originates. Use this if you want to
336
- # enforce per-user limits.
337
- # @param [Google::Apis::RequestOptions] options
338
- # Request-specific options
339
- #
340
- # @yield [result, err] Result & error if block supplied
341
- # @yieldparam result [Google::Apis::ManagerV1beta2::ListTemplatesResponse] parsed result object
342
- # @yieldparam err [StandardError] error object if request failed
343
- #
344
- # @return [Google::Apis::ManagerV1beta2::ListTemplatesResponse]
345
- #
346
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
347
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
348
- # @raise [Google::Apis::AuthorizationError] Authorization is required
349
- def list_templates(project_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
350
- command = make_simple_command(:get, '{projectId}/templates', options)
351
- command.response_representation = Google::Apis::ManagerV1beta2::ListTemplatesResponse::Representation
352
- command.response_class = Google::Apis::ManagerV1beta2::ListTemplatesResponse
353
- command.params['projectId'] = project_id unless project_id.nil?
354
- command.query['maxResults'] = max_results unless max_results.nil?
355
- command.query['pageToken'] = page_token unless page_token.nil?
356
- command.query['fields'] = fields unless fields.nil?
357
- command.query['quotaUser'] = quota_user unless quota_user.nil?
358
- command.query['userIp'] = user_ip unless user_ip.nil?
359
- execute_or_queue_command(command, &block)
360
- end
361
-
362
- protected
363
-
364
- def apply_command_defaults(command)
365
- command.query['key'] = key unless key.nil?
366
- command.query['quotaUser'] = quota_user unless quota_user.nil?
367
- command.query['userIp'] = user_ip unless user_ip.nil?
368
- end
369
- end
370
- end
371
- end
372
- end
@@ -1,37 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'google/apis/pubsub_v1beta2/service.rb'
16
- require 'google/apis/pubsub_v1beta2/classes.rb'
17
- require 'google/apis/pubsub_v1beta2/representations.rb'
18
-
19
- module Google
20
- module Apis
21
- # Google Cloud Pub/Sub API
22
- #
23
- # Provides reliable, many-to-many, asynchronous messaging between applications.
24
- #
25
- # @see https://cloud.google.com/pubsub/docs
26
- module PubsubV1beta2
27
- VERSION = 'V1beta2'
28
- REVISION = '20151103'
29
-
30
- # View and manage your data across Google Cloud Platform services
31
- AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
32
-
33
- # View and manage Pub/Sub topics and subscriptions
34
- AUTH_PUBSUB = 'https://www.googleapis.com/auth/pubsub'
35
- end
36
- end
37
- end
@@ -1,620 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module PubsubV1beta2
24
-
25
- # Request message for `SetIamPolicy` method.
26
- class SetIamPolicyRequest
27
- include Google::Apis::Core::Hashable
28
-
29
- # Defines an Identity and Access Management (IAM) policy. It is used to specify
30
- # access control policies for Cloud Platform resources. A `Policy` consists of a
31
- # list of `bindings`. A `Binding` binds a list of `members` to a `role`, where
32
- # the members can be user accounts, Google groups, Google domains, and service
33
- # accounts. A `role` is a named list of permissions defined by IAM. **Example** `
34
- # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
35
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
36
- # appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user:
37
- # sean@example.com"] ` ] ` For a description of IAM and its features, see the [
38
- # IAM developer's guide](https://cloud.google.com/iam).
39
- # Corresponds to the JSON property `policy`
40
- # @return [Google::Apis::PubsubV1beta2::Policy]
41
- attr_accessor :policy
42
-
43
- def initialize(**args)
44
- update!(**args)
45
- end
46
-
47
- # Update properties of this object
48
- def update!(**args)
49
- @policy = args[:policy] unless args[:policy].nil?
50
- end
51
- end
52
-
53
- # Defines an Identity and Access Management (IAM) policy. It is used to specify
54
- # access control policies for Cloud Platform resources. A `Policy` consists of a
55
- # list of `bindings`. A `Binding` binds a list of `members` to a `role`, where
56
- # the members can be user accounts, Google groups, Google domains, and service
57
- # accounts. A `role` is a named list of permissions defined by IAM. **Example** `
58
- # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
59
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
60
- # appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user:
61
- # sean@example.com"] ` ] ` For a description of IAM and its features, see the [
62
- # IAM developer's guide](https://cloud.google.com/iam).
63
- class Policy
64
- include Google::Apis::Core::Hashable
65
-
66
- # Version of the `Policy`. The default version is 0.
67
- # Corresponds to the JSON property `version`
68
- # @return [Fixnum]
69
- attr_accessor :version
70
-
71
- # Associates a list of `members` to a `role`. Multiple `bindings` must not be
72
- # specified for the same `role`. `bindings` with no members will result in an
73
- # error.
74
- # Corresponds to the JSON property `bindings`
75
- # @return [Array<Google::Apis::PubsubV1beta2::Binding>]
76
- attr_accessor :bindings
77
-
78
- # Can be used to perform a read-modify-write.
79
- # Corresponds to the JSON property `etag`
80
- # @return [String]
81
- attr_accessor :etag
82
-
83
- def initialize(**args)
84
- update!(**args)
85
- end
86
-
87
- # Update properties of this object
88
- def update!(**args)
89
- @version = args[:version] unless args[:version].nil?
90
- @bindings = args[:bindings] unless args[:bindings].nil?
91
- @etag = args[:etag] unless args[:etag].nil?
92
- end
93
- end
94
-
95
- # Associates `members` with a `role`.
96
- class Binding
97
- include Google::Apis::Core::Hashable
98
-
99
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
100
- # , or `roles/owner`. Required
101
- # Corresponds to the JSON property `role`
102
- # @return [String]
103
- attr_accessor :role
104
-
105
- # Specifies the identities requesting access for a Cloud Platform resource. `
106
- # members` can have the following formats: * `allUsers`: A special identifier
107
- # that represents anyone who is on the internet; with or without a Google
108
- # account. * `allAuthenticatedUsers`: A special identifier that represents
109
- # anyone who is authenticated with a Google account or a service account. * `
110
- # user:`emailid``: An email address that represents a specific Google account.
111
- # For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:`
112
- # emailid``: An email address that represents a service account. For example, `
113
- # my-other-app@appspot.gserviceaccount.com`. * `group:`emailid``: An email
114
- # address that represents a Google group. For example, `admins@example.com`. * `
115
- # domain:`domain``: A Google Apps domain name that represents all the users of
116
- # that domain. For example, `google.com` or `example.com`.
117
- # Corresponds to the JSON property `members`
118
- # @return [Array<String>]
119
- attr_accessor :members
120
-
121
- def initialize(**args)
122
- update!(**args)
123
- end
124
-
125
- # Update properties of this object
126
- def update!(**args)
127
- @role = args[:role] unless args[:role].nil?
128
- @members = args[:members] unless args[:members].nil?
129
- end
130
- end
131
-
132
- # Request message for `TestIamPermissions` method.
133
- class TestIamPermissionsRequest
134
- include Google::Apis::Core::Hashable
135
-
136
- # The set of permissions to check for the `resource`. Permissions with wildcards
137
- # (such as '*' or 'storage.*') are not allowed.
138
- # Corresponds to the JSON property `permissions`
139
- # @return [Array<String>]
140
- attr_accessor :permissions
141
-
142
- def initialize(**args)
143
- update!(**args)
144
- end
145
-
146
- # Update properties of this object
147
- def update!(**args)
148
- @permissions = args[:permissions] unless args[:permissions].nil?
149
- end
150
- end
151
-
152
- # Response message for `TestIamPermissions` method.
153
- class TestIamPermissionsResponse
154
- include Google::Apis::Core::Hashable
155
-
156
- # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
157
- # Corresponds to the JSON property `permissions`
158
- # @return [Array<String>]
159
- attr_accessor :permissions
160
-
161
- def initialize(**args)
162
- update!(**args)
163
- end
164
-
165
- # Update properties of this object
166
- def update!(**args)
167
- @permissions = args[:permissions] unless args[:permissions].nil?
168
- end
169
- end
170
-
171
- # A topic resource.
172
- class Topic
173
- include Google::Apis::Core::Hashable
174
-
175
- # The name of the topic. It must have the format `"projects/`project`/topics/`
176
- # topic`"`. ``topic`` must start with a letter, and contain only letters (`[A-Za-
177
- # z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`),
178
- # tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255
179
- # characters in length, and it must not start with `"goog"`.
180
- # Corresponds to the JSON property `name`
181
- # @return [String]
182
- attr_accessor :name
183
-
184
- def initialize(**args)
185
- update!(**args)
186
- end
187
-
188
- # Update properties of this object
189
- def update!(**args)
190
- @name = args[:name] unless args[:name].nil?
191
- end
192
- end
193
-
194
- # Request for the Publish method.
195
- class PublishRequest
196
- include Google::Apis::Core::Hashable
197
-
198
- # The messages to publish.
199
- # Corresponds to the JSON property `messages`
200
- # @return [Array<Google::Apis::PubsubV1beta2::Message>]
201
- attr_accessor :messages
202
-
203
- def initialize(**args)
204
- update!(**args)
205
- end
206
-
207
- # Update properties of this object
208
- def update!(**args)
209
- @messages = args[:messages] unless args[:messages].nil?
210
- end
211
- end
212
-
213
- # A message data and its attributes. The message payload must not be empty; it
214
- # must contain either a non-empty data field, or at least one attribute.
215
- class Message
216
- include Google::Apis::Core::Hashable
217
-
218
- # The message payload. For JSON requests, the value of this field must be base64-
219
- # encoded.
220
- # Corresponds to the JSON property `data`
221
- # @return [String]
222
- attr_accessor :data
223
-
224
- # Optional attributes for this message.
225
- # Corresponds to the JSON property `attributes`
226
- # @return [Hash<String,String>]
227
- attr_accessor :attributes
228
-
229
- # ID of this message, assigned by the server when the message is published.
230
- # Guaranteed to be unique within the topic. This value may be read by a
231
- # subscriber that receives a `PubsubMessage` via a `Pull` call or a push
232
- # delivery. It must not be populated by the publisher in a `Publish` call.
233
- # Corresponds to the JSON property `messageId`
234
- # @return [String]
235
- attr_accessor :message_id
236
-
237
- # The time at which the message was published, populated by the server when it
238
- # receives the `Publish` call. It must not be populated by the publisher in a `
239
- # Publish` call.
240
- # Corresponds to the JSON property `publishTime`
241
- # @return [String]
242
- attr_accessor :publish_time
243
-
244
- def initialize(**args)
245
- update!(**args)
246
- end
247
-
248
- # Update properties of this object
249
- def update!(**args)
250
- @data = args[:data] unless args[:data].nil?
251
- @attributes = args[:attributes] unless args[:attributes].nil?
252
- @message_id = args[:message_id] unless args[:message_id].nil?
253
- @publish_time = args[:publish_time] unless args[:publish_time].nil?
254
- end
255
- end
256
-
257
- # Response for the `Publish` method.
258
- class PublishResponse
259
- include Google::Apis::Core::Hashable
260
-
261
- # The server-assigned ID of each published message, in the same order as the
262
- # messages in the request. IDs are guaranteed to be unique within the topic.
263
- # Corresponds to the JSON property `messageIds`
264
- # @return [Array<String>]
265
- attr_accessor :message_ids
266
-
267
- def initialize(**args)
268
- update!(**args)
269
- end
270
-
271
- # Update properties of this object
272
- def update!(**args)
273
- @message_ids = args[:message_ids] unless args[:message_ids].nil?
274
- end
275
- end
276
-
277
- # Response for the `ListTopics` method.
278
- class ListTopicsResponse
279
- include Google::Apis::Core::Hashable
280
-
281
- # The resulting topics.
282
- # Corresponds to the JSON property `topics`
283
- # @return [Array<Google::Apis::PubsubV1beta2::Topic>]
284
- attr_accessor :topics
285
-
286
- # If not empty, indicates that there may be more topics that match the request;
287
- # this value should be passed in a new `ListTopicsRequest`.
288
- # Corresponds to the JSON property `nextPageToken`
289
- # @return [String]
290
- attr_accessor :next_page_token
291
-
292
- def initialize(**args)
293
- update!(**args)
294
- end
295
-
296
- # Update properties of this object
297
- def update!(**args)
298
- @topics = args[:topics] unless args[:topics].nil?
299
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
300
- end
301
- end
302
-
303
- # Response for the `ListTopicSubscriptions` method.
304
- class ListTopicSubscriptionsResponse
305
- include Google::Apis::Core::Hashable
306
-
307
- # The names of the subscriptions that match the request.
308
- # Corresponds to the JSON property `subscriptions`
309
- # @return [Array<String>]
310
- attr_accessor :subscriptions
311
-
312
- # If not empty, indicates that there may be more subscriptions that match the
313
- # request; this value should be passed in a new `ListTopicSubscriptionsRequest`
314
- # to get more subscriptions.
315
- # Corresponds to the JSON property `nextPageToken`
316
- # @return [String]
317
- attr_accessor :next_page_token
318
-
319
- def initialize(**args)
320
- update!(**args)
321
- end
322
-
323
- # Update properties of this object
324
- def update!(**args)
325
- @subscriptions = args[:subscriptions] unless args[:subscriptions].nil?
326
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
327
- end
328
- end
329
-
330
- # A generic empty message that you can re-use to avoid defining duplicated empty
331
- # messages in your APIs. A typical example is to use it as the request or the
332
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
333
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
334
- # `Empty` is empty JSON object ````.
335
- class Empty
336
- include Google::Apis::Core::Hashable
337
-
338
- def initialize(**args)
339
- update!(**args)
340
- end
341
-
342
- # Update properties of this object
343
- def update!(**args)
344
- end
345
- end
346
-
347
- # A subscription resource.
348
- class Subscription
349
- include Google::Apis::Core::Hashable
350
-
351
- # The name of the subscription. It must have the format `"projects/`project`/
352
- # subscriptions/`subscription`"`. ``subscription`` must start with a letter, and
353
- # contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
354
- # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%
355
- # `). It must be between 3 and 255 characters in length, and it must not start
356
- # with `"goog"`.
357
- # Corresponds to the JSON property `name`
358
- # @return [String]
359
- attr_accessor :name
360
-
361
- # The name of the topic from which this subscription is receiving messages. The
362
- # value of this field will be `_deleted-topic_` if the topic has been deleted.
363
- # Corresponds to the JSON property `topic`
364
- # @return [String]
365
- attr_accessor :topic
366
-
367
- # Configuration for a push delivery endpoint.
368
- # Corresponds to the JSON property `pushConfig`
369
- # @return [Google::Apis::PubsubV1beta2::PushConfig]
370
- attr_accessor :push_config
371
-
372
- # This value is the maximum time after a subscriber receives a message before
373
- # the subscriber should acknowledge the message. After message delivery but
374
- # before the ack deadline expires and before the message is acknowledged, it is
375
- # an outstanding message and will not be delivered again during that time (on a
376
- # best-effort basis). For pull delivery this value is used as the initial value
377
- # for the ack deadline. To override this value for a given message, call `
378
- # ModifyAckDeadline` with the corresponding `ack_id`. For push delivery, this
379
- # value is also used to set the request timeout for the call to the push
380
- # endpoint. If the subscriber never acknowledges the message, the Pub/Sub system
381
- # will eventually redeliver the message. If this parameter is not set, the
382
- # default value of 10 seconds is used.
383
- # Corresponds to the JSON property `ackDeadlineSeconds`
384
- # @return [Fixnum]
385
- attr_accessor :ack_deadline_seconds
386
-
387
- def initialize(**args)
388
- update!(**args)
389
- end
390
-
391
- # Update properties of this object
392
- def update!(**args)
393
- @name = args[:name] unless args[:name].nil?
394
- @topic = args[:topic] unless args[:topic].nil?
395
- @push_config = args[:push_config] unless args[:push_config].nil?
396
- @ack_deadline_seconds = args[:ack_deadline_seconds] unless args[:ack_deadline_seconds].nil?
397
- end
398
- end
399
-
400
- # Configuration for a push delivery endpoint.
401
- class PushConfig
402
- include Google::Apis::Core::Hashable
403
-
404
- # A URL locating the endpoint to which messages should be pushed. For example, a
405
- # Webhook endpoint might use "https://example.com/push".
406
- # Corresponds to the JSON property `pushEndpoint`
407
- # @return [String]
408
- attr_accessor :push_endpoint
409
-
410
- # Endpoint configuration attributes. Every endpoint has a set of API supported
411
- # attributes that can be used to control different aspects of the message
412
- # delivery. The currently supported attribute is `x-goog-version`, which you can
413
- # use to change the format of the push message. This attribute indicates the
414
- # version of the data expected by the endpoint. This controls the shape of the
415
- # envelope (i.e. its fields and metadata). The endpoint version is based on the
416
- # version of the Pub/Sub API. If not present during the `CreateSubscription`
417
- # call, it will default to the version of the API used to make such call. If not
418
- # present during a `ModifyPushConfig` call, its value will not be changed. `
419
- # GetSubscription` calls will always return a valid version, even if the
420
- # subscription was created without this attribute. The possible values for this
421
- # attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/
422
- # Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub
423
- # API.
424
- # Corresponds to the JSON property `attributes`
425
- # @return [Hash<String,String>]
426
- attr_accessor :attributes
427
-
428
- def initialize(**args)
429
- update!(**args)
430
- end
431
-
432
- # Update properties of this object
433
- def update!(**args)
434
- @push_endpoint = args[:push_endpoint] unless args[:push_endpoint].nil?
435
- @attributes = args[:attributes] unless args[:attributes].nil?
436
- end
437
- end
438
-
439
- # Response for the `ListSubscriptions` method.
440
- class ListSubscriptionsResponse
441
- include Google::Apis::Core::Hashable
442
-
443
- # The subscriptions that match the request.
444
- # Corresponds to the JSON property `subscriptions`
445
- # @return [Array<Google::Apis::PubsubV1beta2::Subscription>]
446
- attr_accessor :subscriptions
447
-
448
- # If not empty, indicates that there may be more subscriptions that match the
449
- # request; this value should be passed in a new `ListSubscriptionsRequest` to
450
- # get more subscriptions.
451
- # Corresponds to the JSON property `nextPageToken`
452
- # @return [String]
453
- attr_accessor :next_page_token
454
-
455
- def initialize(**args)
456
- update!(**args)
457
- end
458
-
459
- # Update properties of this object
460
- def update!(**args)
461
- @subscriptions = args[:subscriptions] unless args[:subscriptions].nil?
462
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
463
- end
464
- end
465
-
466
- # Request for the ModifyAckDeadline method.
467
- class ModifyAckDeadlineRequest
468
- include Google::Apis::Core::Hashable
469
-
470
- # The acknowledgment ID. Either this or ack_ids must be populated, but not both.
471
- # Corresponds to the JSON property `ackId`
472
- # @return [String]
473
- attr_accessor :ack_id
474
-
475
- # List of acknowledgment IDs.
476
- # Corresponds to the JSON property `ackIds`
477
- # @return [Array<String>]
478
- attr_accessor :ack_ids
479
-
480
- # The new ack deadline with respect to the time this request was sent to the Pub/
481
- # Sub system. Must be >= 0. For example, if the value is 10, the new ack
482
- # deadline will expire 10 seconds after the `ModifyAckDeadline` call was made.
483
- # Specifying zero may immediately make the message available for another pull
484
- # request.
485
- # Corresponds to the JSON property `ackDeadlineSeconds`
486
- # @return [Fixnum]
487
- attr_accessor :ack_deadline_seconds
488
-
489
- def initialize(**args)
490
- update!(**args)
491
- end
492
-
493
- # Update properties of this object
494
- def update!(**args)
495
- @ack_id = args[:ack_id] unless args[:ack_id].nil?
496
- @ack_ids = args[:ack_ids] unless args[:ack_ids].nil?
497
- @ack_deadline_seconds = args[:ack_deadline_seconds] unless args[:ack_deadline_seconds].nil?
498
- end
499
- end
500
-
501
- # Request for the Acknowledge method.
502
- class AcknowledgeRequest
503
- include Google::Apis::Core::Hashable
504
-
505
- # The acknowledgment ID for the messages being acknowledged that was returned by
506
- # the Pub/Sub system in the `Pull` response. Must not be empty.
507
- # Corresponds to the JSON property `ackIds`
508
- # @return [Array<String>]
509
- attr_accessor :ack_ids
510
-
511
- def initialize(**args)
512
- update!(**args)
513
- end
514
-
515
- # Update properties of this object
516
- def update!(**args)
517
- @ack_ids = args[:ack_ids] unless args[:ack_ids].nil?
518
- end
519
- end
520
-
521
- # Request for the `Pull` method.
522
- class PullRequest
523
- include Google::Apis::Core::Hashable
524
-
525
- # If this is specified as true the system will respond immediately even if it is
526
- # not able to return a message in the `Pull` response. Otherwise the system is
527
- # allowed to wait until at least one message is available rather than returning
528
- # no messages. The client may cancel the request if it does not wish to wait any
529
- # longer for the response.
530
- # Corresponds to the JSON property `returnImmediately`
531
- # @return [Boolean]
532
- attr_accessor :return_immediately
533
- alias_method :return_immediately?, :return_immediately
534
-
535
- # The maximum number of messages returned for this request. The Pub/Sub system
536
- # may return fewer than the number specified.
537
- # Corresponds to the JSON property `maxMessages`
538
- # @return [Fixnum]
539
- attr_accessor :max_messages
540
-
541
- def initialize(**args)
542
- update!(**args)
543
- end
544
-
545
- # Update properties of this object
546
- def update!(**args)
547
- @return_immediately = args[:return_immediately] unless args[:return_immediately].nil?
548
- @max_messages = args[:max_messages] unless args[:max_messages].nil?
549
- end
550
- end
551
-
552
- # Response for the `Pull` method.
553
- class PullResponse
554
- include Google::Apis::Core::Hashable
555
-
556
- # Received Pub/Sub messages. The Pub/Sub system will return zero messages if
557
- # there are no more available in the backlog. The Pub/Sub system may return
558
- # fewer than the `maxMessages` requested even if there are more messages
559
- # available in the backlog.
560
- # Corresponds to the JSON property `receivedMessages`
561
- # @return [Array<Google::Apis::PubsubV1beta2::ReceivedMessage>]
562
- attr_accessor :received_messages
563
-
564
- def initialize(**args)
565
- update!(**args)
566
- end
567
-
568
- # Update properties of this object
569
- def update!(**args)
570
- @received_messages = args[:received_messages] unless args[:received_messages].nil?
571
- end
572
- end
573
-
574
- # A message and its corresponding acknowledgment ID.
575
- class ReceivedMessage
576
- include Google::Apis::Core::Hashable
577
-
578
- # This ID can be used to acknowledge the received message.
579
- # Corresponds to the JSON property `ackId`
580
- # @return [String]
581
- attr_accessor :ack_id
582
-
583
- # A message data and its attributes. The message payload must not be empty; it
584
- # must contain either a non-empty data field, or at least one attribute.
585
- # Corresponds to the JSON property `message`
586
- # @return [Google::Apis::PubsubV1beta2::Message]
587
- attr_accessor :message
588
-
589
- def initialize(**args)
590
- update!(**args)
591
- end
592
-
593
- # Update properties of this object
594
- def update!(**args)
595
- @ack_id = args[:ack_id] unless args[:ack_id].nil?
596
- @message = args[:message] unless args[:message].nil?
597
- end
598
- end
599
-
600
- # Request for the ModifyPushConfig method.
601
- class ModifyPushConfigRequest
602
- include Google::Apis::Core::Hashable
603
-
604
- # Configuration for a push delivery endpoint.
605
- # Corresponds to the JSON property `pushConfig`
606
- # @return [Google::Apis::PubsubV1beta2::PushConfig]
607
- attr_accessor :push_config
608
-
609
- def initialize(**args)
610
- update!(**args)
611
- end
612
-
613
- # Update properties of this object
614
- def update!(**args)
615
- @push_config = args[:push_config] unless args[:push_config].nil?
616
- end
617
- end
618
- end
619
- end
620
- end