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
@@ -22,14 +22,203 @@ module Google
22
22
  module Apis
23
23
  module PubsubV1
24
24
 
25
- # Request for the ModifyAckDeadline method.
26
- class ModifyAckDeadlineRequest
25
+ # Response for the `Publish` method.
26
+ class PublishResponse
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # List of acknowledgment IDs.
30
- # Corresponds to the JSON property `ackIds`
29
+ # The server-assigned ID of each published message, in the same order as
30
+ # the messages in the request. IDs are guaranteed to be unique within
31
+ # the topic.
32
+ # Corresponds to the JSON property `messageIds`
31
33
  # @return [Array<String>]
32
- attr_accessor :ack_ids
34
+ attr_accessor :message_ids
35
+
36
+ def initialize(**args)
37
+ update!(**args)
38
+ end
39
+
40
+ # Update properties of this object
41
+ def update!(**args)
42
+ @message_ids = args[:message_ids] if args.key?(:message_ids)
43
+ end
44
+ end
45
+
46
+ # A subscription resource.
47
+ class Subscription
48
+ include Google::Apis::Core::Hashable
49
+
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
+ # Configuration for a push delivery endpoint.
59
+ # Corresponds to the JSON property `pushConfig`
60
+ # @return [Google::Apis::PubsubV1::PushConfig]
61
+ attr_accessor :push_config
62
+
63
+ # This value is the maximum time after a subscriber receives a message
64
+ # before the subscriber should acknowledge the message. After message
65
+ # delivery but before the ack deadline expires and before the message is
66
+ # acknowledged, it is an outstanding message and will not be delivered
67
+ # again during that time (on a best-effort basis).
68
+ # For pull subscriptions, this value is used as the initial value for the ack
69
+ # deadline. To override this value for a given message, call
70
+ # `ModifyAckDeadline` with the corresponding `ack_id` if using
71
+ # pull.
72
+ # The minimum custom deadline you can specify is 10 seconds.
73
+ # The maximum custom deadline you can specify is 600 seconds (10 minutes).
74
+ # If this parameter is 0, a default value of 10 seconds is used.
75
+ # For push delivery, this value is also used to set the request timeout for
76
+ # the call to the push endpoint.
77
+ # If the subscriber never acknowledges the message, the Pub/Sub
78
+ # system will eventually redeliver the message.
79
+ # Corresponds to the JSON property `ackDeadlineSeconds`
80
+ # @return [Fixnum]
81
+ attr_accessor :ack_deadline_seconds
82
+
83
+ # The name of the subscription. It must have the format
84
+ # `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must
85
+ # start with a letter, and contain only letters (`[A-Za-z]`), numbers
86
+ # (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
87
+ # plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters
88
+ # in length, and it must not start with `"goog"`.
89
+ # Corresponds to the JSON property `name`
90
+ # @return [String]
91
+ attr_accessor :name
92
+
93
+ def initialize(**args)
94
+ update!(**args)
95
+ end
96
+
97
+ # Update properties of this object
98
+ def update!(**args)
99
+ @topic = args[:topic] if args.key?(:topic)
100
+ @push_config = args[:push_config] if args.key?(:push_config)
101
+ @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
102
+ @name = args[:name] if args.key?(:name)
103
+ end
104
+ end
105
+
106
+ # Request message for `TestIamPermissions` method.
107
+ class TestIamPermissionsRequest
108
+ include Google::Apis::Core::Hashable
109
+
110
+ # The set of permissions to check for the `resource`. Permissions with
111
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
112
+ # information see
113
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
114
+ # Corresponds to the JSON property `permissions`
115
+ # @return [Array<String>]
116
+ attr_accessor :permissions
117
+
118
+ def initialize(**args)
119
+ update!(**args)
120
+ end
121
+
122
+ # Update properties of this object
123
+ def update!(**args)
124
+ @permissions = args[:permissions] if args.key?(:permissions)
125
+ end
126
+ end
127
+
128
+ # A topic resource.
129
+ class Topic
130
+ include Google::Apis::Core::Hashable
131
+
132
+ # The name of the topic. It must have the format
133
+ # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
134
+ # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
135
+ # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
136
+ # signs (`%`). It must be between 3 and 255 characters in length, and it
137
+ # must not start with `"goog"`.
138
+ # Corresponds to the JSON property `name`
139
+ # @return [String]
140
+ attr_accessor :name
141
+
142
+ def initialize(**args)
143
+ update!(**args)
144
+ end
145
+
146
+ # Update properties of this object
147
+ def update!(**args)
148
+ @name = args[:name] if args.key?(:name)
149
+ end
150
+ end
151
+
152
+ # Defines an Identity and Access Management (IAM) policy. It is used to
153
+ # specify access control policies for Cloud Platform resources.
154
+ # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
155
+ # `members` to a `role`, where the members can be user accounts, Google groups,
156
+ # Google domains, and service accounts. A `role` is a named list of permissions
157
+ # defined by IAM.
158
+ # **Example**
159
+ # `
160
+ # "bindings": [
161
+ # `
162
+ # "role": "roles/owner",
163
+ # "members": [
164
+ # "user:mike@example.com",
165
+ # "group:admins@example.com",
166
+ # "domain:google.com",
167
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
168
+ # ]
169
+ # `,
170
+ # `
171
+ # "role": "roles/viewer",
172
+ # "members": ["user:sean@example.com"]
173
+ # `
174
+ # ]
175
+ # `
176
+ # For a description of IAM and its features, see the
177
+ # [IAM developer's guide](https://cloud.google.com/iam).
178
+ class Policy
179
+ include Google::Apis::Core::Hashable
180
+
181
+ # `etag` is used for optimistic concurrency control as a way to help
182
+ # prevent simultaneous updates of a policy from overwriting each other.
183
+ # It is strongly suggested that systems make use of the `etag` in the
184
+ # read-modify-write cycle to perform policy updates in order to avoid race
185
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
186
+ # systems are expected to put that etag in the request to `setIamPolicy` to
187
+ # ensure that their change will be applied to the same version of the policy.
188
+ # If no `etag` is provided in the call to `setIamPolicy`, then the existing
189
+ # policy is overwritten blindly.
190
+ # Corresponds to the JSON property `etag`
191
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
192
+ # @return [String]
193
+ attr_accessor :etag
194
+
195
+ # Version of the `Policy`. The default version is 0.
196
+ # Corresponds to the JSON property `version`
197
+ # @return [Fixnum]
198
+ attr_accessor :version
199
+
200
+ # Associates a list of `members` to a `role`.
201
+ # Multiple `bindings` must not be specified for the same `role`.
202
+ # `bindings` with no members will result in an error.
203
+ # Corresponds to the JSON property `bindings`
204
+ # @return [Array<Google::Apis::PubsubV1::Binding>]
205
+ attr_accessor :bindings
206
+
207
+ def initialize(**args)
208
+ update!(**args)
209
+ end
210
+
211
+ # Update properties of this object
212
+ def update!(**args)
213
+ @etag = args[:etag] if args.key?(:etag)
214
+ @version = args[:version] if args.key?(:version)
215
+ @bindings = args[:bindings] if args.key?(:bindings)
216
+ end
217
+ end
218
+
219
+ # Request for the ModifyAckDeadline method.
220
+ class ModifyAckDeadlineRequest
221
+ include Google::Apis::Core::Hashable
33
222
 
34
223
  # The new ack deadline with respect to the time this request was sent to
35
224
  # the Pub/Sub system. For example, if the value is 10, the new
@@ -42,14 +231,19 @@ module Google
42
231
  # @return [Fixnum]
43
232
  attr_accessor :ack_deadline_seconds
44
233
 
234
+ # List of acknowledgment IDs.
235
+ # Corresponds to the JSON property `ackIds`
236
+ # @return [Array<String>]
237
+ attr_accessor :ack_ids
238
+
45
239
  def initialize(**args)
46
240
  update!(**args)
47
241
  end
48
242
 
49
243
  # Update properties of this object
50
244
  def update!(**args)
51
- @ack_ids = args[:ack_ids] if args.key?(:ack_ids)
52
245
  @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
246
+ @ack_ids = args[:ack_ids] if args.key?(:ack_ids)
53
247
  end
54
248
  end
55
249
 
@@ -97,9 +291,28 @@ module Google
97
291
  end
98
292
  end
99
293
 
294
+ # Request for the ModifyPushConfig method.
295
+ class ModifyPushConfigRequest
296
+ include Google::Apis::Core::Hashable
297
+
298
+ # Configuration for a push delivery endpoint.
299
+ # Corresponds to the JSON property `pushConfig`
300
+ # @return [Google::Apis::PubsubV1::PushConfig]
301
+ attr_accessor :push_config
302
+
303
+ def initialize(**args)
304
+ update!(**args)
305
+ end
306
+
307
+ # Update properties of this object
308
+ def update!(**args)
309
+ @push_config = args[:push_config] if args.key?(:push_config)
310
+ end
311
+ end
312
+
100
313
  # A message data and its attributes. The message payload must not be empty;
101
314
  # it must contain either a non-empty data field, or at least one attribute.
102
- class Message
315
+ class PubsubMessage
103
316
  include Google::Apis::Core::Hashable
104
317
 
105
318
  # Optional attributes for this message.
@@ -141,25 +354,6 @@ module Google
141
354
  end
142
355
  end
143
356
 
144
- # Request for the ModifyPushConfig method.
145
- class ModifyPushConfigRequest
146
- include Google::Apis::Core::Hashable
147
-
148
- # Configuration for a push delivery endpoint.
149
- # Corresponds to the JSON property `pushConfig`
150
- # @return [Google::Apis::PubsubV1::PushConfig]
151
- attr_accessor :push_config
152
-
153
- def initialize(**args)
154
- update!(**args)
155
- end
156
-
157
- # Update properties of this object
158
- def update!(**args)
159
- @push_config = args[:push_config] if args.key?(:push_config)
160
- end
161
- end
162
-
163
357
  # Associates `members` with a `role`.
164
358
  class Binding
165
359
  include Google::Apis::Core::Hashable
@@ -243,25 +437,25 @@ module Google
243
437
  class ListTopicsResponse
244
438
  include Google::Apis::Core::Hashable
245
439
 
246
- # The resulting topics.
247
- # Corresponds to the JSON property `topics`
248
- # @return [Array<Google::Apis::PubsubV1::Topic>]
249
- attr_accessor :topics
250
-
251
440
  # If not empty, indicates that there may be more topics that match the
252
441
  # request; this value should be passed in a new `ListTopicsRequest`.
253
442
  # Corresponds to the JSON property `nextPageToken`
254
443
  # @return [String]
255
444
  attr_accessor :next_page_token
256
445
 
446
+ # The resulting topics.
447
+ # Corresponds to the JSON property `topics`
448
+ # @return [Array<Google::Apis::PubsubV1::Topic>]
449
+ attr_accessor :topics
450
+
257
451
  def initialize(**args)
258
452
  update!(**args)
259
453
  end
260
454
 
261
455
  # Update properties of this object
262
456
  def update!(**args)
263
- @topics = args[:topics] if args.key?(:topics)
264
457
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
458
+ @topics = args[:topics] if args.key?(:topics)
265
459
  end
266
460
  end
267
461
 
@@ -321,7 +515,7 @@ module Google
321
515
  # A message data and its attributes. The message payload must not be empty;
322
516
  # it must contain either a non-empty data field, or at least one attribute.
323
517
  # Corresponds to the JSON property `message`
324
- # @return [Google::Apis::PubsubV1::Message]
518
+ # @return [Google::Apis::PubsubV1::PubsubMessage]
325
519
  attr_accessor :message
326
520
 
327
521
  # This ID can be used to acknowledge the received message.
@@ -466,7 +660,7 @@ module Google
466
660
 
467
661
  # The messages to publish.
468
662
  # Corresponds to the JSON property `messages`
469
- # @return [Array<Google::Apis::PubsubV1::Message>]
663
+ # @return [Array<Google::Apis::PubsubV1::PubsubMessage>]
470
664
  attr_accessor :messages
471
665
 
472
666
  def initialize(**args)
@@ -478,200 +672,6 @@ module Google
478
672
  @messages = args[:messages] if args.key?(:messages)
479
673
  end
480
674
  end
481
-
482
- # Response for the `Publish` method.
483
- class PublishResponse
484
- include Google::Apis::Core::Hashable
485
-
486
- # The server-assigned ID of each published message, in the same order as
487
- # the messages in the request. IDs are guaranteed to be unique within
488
- # the topic.
489
- # Corresponds to the JSON property `messageIds`
490
- # @return [Array<String>]
491
- attr_accessor :message_ids
492
-
493
- def initialize(**args)
494
- update!(**args)
495
- end
496
-
497
- # Update properties of this object
498
- def update!(**args)
499
- @message_ids = args[:message_ids] if args.key?(:message_ids)
500
- end
501
- end
502
-
503
- # A subscription resource.
504
- class Subscription
505
- include Google::Apis::Core::Hashable
506
-
507
- # The name of the topic from which this subscription is receiving messages.
508
- # Format is `projects/`project`/topics/`topic``.
509
- # The value of this field will be `_deleted-topic_` if the topic has been
510
- # deleted.
511
- # Corresponds to the JSON property `topic`
512
- # @return [String]
513
- attr_accessor :topic
514
-
515
- # Configuration for a push delivery endpoint.
516
- # Corresponds to the JSON property `pushConfig`
517
- # @return [Google::Apis::PubsubV1::PushConfig]
518
- attr_accessor :push_config
519
-
520
- # This value is the maximum time after a subscriber receives a message
521
- # before the subscriber should acknowledge the message. After message
522
- # delivery but before the ack deadline expires and before the message is
523
- # acknowledged, it is an outstanding message and will not be delivered
524
- # again during that time (on a best-effort basis).
525
- # For pull subscriptions, this value is used as the initial value for the ack
526
- # deadline. To override this value for a given message, call
527
- # `ModifyAckDeadline` with the corresponding `ack_id` if using
528
- # pull.
529
- # The minimum custom deadline you can specify is 10 seconds.
530
- # The maximum custom deadline you can specify is 600 seconds (10 minutes).
531
- # If this parameter is 0, a default value of 10 seconds is used.
532
- # For push delivery, this value is also used to set the request timeout for
533
- # the call to the push endpoint.
534
- # If the subscriber never acknowledges the message, the Pub/Sub
535
- # system will eventually redeliver the message.
536
- # Corresponds to the JSON property `ackDeadlineSeconds`
537
- # @return [Fixnum]
538
- attr_accessor :ack_deadline_seconds
539
-
540
- # The name of the subscription. It must have the format
541
- # `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must
542
- # start with a letter, and contain only letters (`[A-Za-z]`), numbers
543
- # (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
544
- # plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters
545
- # in length, and it must not start with `"goog"`.
546
- # Corresponds to the JSON property `name`
547
- # @return [String]
548
- attr_accessor :name
549
-
550
- def initialize(**args)
551
- update!(**args)
552
- end
553
-
554
- # Update properties of this object
555
- def update!(**args)
556
- @topic = args[:topic] if args.key?(:topic)
557
- @push_config = args[:push_config] if args.key?(:push_config)
558
- @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
559
- @name = args[:name] if args.key?(:name)
560
- end
561
- end
562
-
563
- # Request message for `TestIamPermissions` method.
564
- class TestIamPermissionsRequest
565
- include Google::Apis::Core::Hashable
566
-
567
- # The set of permissions to check for the `resource`. Permissions with
568
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
569
- # information see
570
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
571
- # Corresponds to the JSON property `permissions`
572
- # @return [Array<String>]
573
- attr_accessor :permissions
574
-
575
- def initialize(**args)
576
- update!(**args)
577
- end
578
-
579
- # Update properties of this object
580
- def update!(**args)
581
- @permissions = args[:permissions] if args.key?(:permissions)
582
- end
583
- end
584
-
585
- # A topic resource.
586
- class Topic
587
- include Google::Apis::Core::Hashable
588
-
589
- # The name of the topic. It must have the format
590
- # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
591
- # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
592
- # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
593
- # signs (`%`). It must be between 3 and 255 characters in length, and it
594
- # must not start with `"goog"`.
595
- # Corresponds to the JSON property `name`
596
- # @return [String]
597
- attr_accessor :name
598
-
599
- def initialize(**args)
600
- update!(**args)
601
- end
602
-
603
- # Update properties of this object
604
- def update!(**args)
605
- @name = args[:name] if args.key?(:name)
606
- end
607
- end
608
-
609
- # Defines an Identity and Access Management (IAM) policy. It is used to
610
- # specify access control policies for Cloud Platform resources.
611
- # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
612
- # `members` to a `role`, where the members can be user accounts, Google groups,
613
- # Google domains, and service accounts. A `role` is a named list of permissions
614
- # defined by IAM.
615
- # **Example**
616
- # `
617
- # "bindings": [
618
- # `
619
- # "role": "roles/owner",
620
- # "members": [
621
- # "user:mike@example.com",
622
- # "group:admins@example.com",
623
- # "domain:google.com",
624
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
625
- # ]
626
- # `,
627
- # `
628
- # "role": "roles/viewer",
629
- # "members": ["user:sean@example.com"]
630
- # `
631
- # ]
632
- # `
633
- # For a description of IAM and its features, see the
634
- # [IAM developer's guide](https://cloud.google.com/iam).
635
- class Policy
636
- include Google::Apis::Core::Hashable
637
-
638
- # `etag` is used for optimistic concurrency control as a way to help
639
- # prevent simultaneous updates of a policy from overwriting each other.
640
- # It is strongly suggested that systems make use of the `etag` in the
641
- # read-modify-write cycle to perform policy updates in order to avoid race
642
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
643
- # systems are expected to put that etag in the request to `setIamPolicy` to
644
- # ensure that their change will be applied to the same version of the policy.
645
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
646
- # policy is overwritten blindly.
647
- # Corresponds to the JSON property `etag`
648
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
649
- # @return [String]
650
- attr_accessor :etag
651
-
652
- # Version of the `Policy`. The default version is 0.
653
- # Corresponds to the JSON property `version`
654
- # @return [Fixnum]
655
- attr_accessor :version
656
-
657
- # Associates a list of `members` to a `role`.
658
- # Multiple `bindings` must not be specified for the same `role`.
659
- # `bindings` with no members will result in an error.
660
- # Corresponds to the JSON property `bindings`
661
- # @return [Array<Google::Apis::PubsubV1::Binding>]
662
- attr_accessor :bindings
663
-
664
- def initialize(**args)
665
- update!(**args)
666
- end
667
-
668
- # Update properties of this object
669
- def update!(**args)
670
- @etag = args[:etag] if args.key?(:etag)
671
- @version = args[:version] if args.key?(:version)
672
- @bindings = args[:bindings] if args.key?(:bindings)
673
- end
674
- end
675
675
  end
676
676
  end
677
677
  end