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
@@ -75,11 +75,11 @@ module Google
75
75
  # @param [Fixnum] page_size
76
76
  # The maximum number of operations to return. If unspecified, defaults to
77
77
  # 50. The maximum value is 100.
78
+ # @param [String] fields
79
+ # Selector specifying which fields to include in a partial response.
78
80
  # @param [String] quota_user
79
81
  # Available to use for quota purposes for server-side applications. Can be any
80
82
  # arbitrary string assigned to a user, but should not exceed 40 characters.
81
- # @param [String] fields
82
- # Selector specifying which fields to include in a partial response.
83
83
  # @param [Google::Apis::RequestOptions] options
84
84
  # Request-specific options
85
85
  #
@@ -92,7 +92,7 @@ module Google
92
92
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
93
93
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
94
94
  # @raise [Google::Apis::AuthorizationError] Authorization is required
95
- def list_operations(filter: nil, name: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
95
+ def list_operations(filter: nil, name: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
96
96
  command = make_simple_command(:get, 'v1/operations', options)
97
97
  command.response_representation = Google::Apis::ServicemanagementV1::ListOperationsResponse::Representation
98
98
  command.response_class = Google::Apis::ServicemanagementV1::ListOperationsResponse
@@ -100,8 +100,8 @@ module Google
100
100
  command.query['name'] = name unless name.nil?
101
101
  command.query['pageToken'] = page_token unless page_token.nil?
102
102
  command.query['pageSize'] = page_size unless page_size.nil?
103
- command.query['quotaUser'] = quota_user unless quota_user.nil?
104
103
  command.query['fields'] = fields unless fields.nil?
104
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
105
105
  execute_or_queue_command(command, &block)
106
106
  end
107
107
 
@@ -110,11 +110,11 @@ module Google
110
110
  # service.
111
111
  # @param [String] name
112
112
  # The name of the operation resource.
113
+ # @param [String] fields
114
+ # Selector specifying which fields to include in a partial response.
113
115
  # @param [String] quota_user
114
116
  # Available to use for quota purposes for server-side applications. Can be any
115
117
  # arbitrary string assigned to a user, but should not exceed 40 characters.
116
- # @param [String] fields
117
- # Selector specifying which fields to include in a partial response.
118
118
  # @param [Google::Apis::RequestOptions] options
119
119
  # Request-specific options
120
120
  #
@@ -127,67 +127,74 @@ module Google
127
127
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
128
128
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
129
129
  # @raise [Google::Apis::AuthorizationError] Authorization is required
130
- def get_operation(name, quota_user: nil, fields: nil, options: nil, &block)
130
+ def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
131
131
  command = make_simple_command(:get, 'v1/{+name}', options)
132
132
  command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
133
133
  command.response_class = Google::Apis::ServicemanagementV1::Operation
134
134
  command.params['name'] = name unless name.nil?
135
- command.query['quotaUser'] = quota_user unless quota_user.nil?
136
135
  command.query['fields'] = fields unless fields.nil?
136
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
137
137
  execute_or_queue_command(command, &block)
138
138
  end
139
139
 
140
- # Gets a service configuration (version) for a managed service.
141
- # @param [String] service_name
142
- # The name of the service. See the [overview](/service-management/overview)
143
- # for naming requirements. For example: `example.googleapis.com`.
144
- # @param [String] config_id
145
- # The id of the service configuration resource.
146
- # @param [String] view
147
- # Specifies which parts of the Service Config should be returned in the
148
- # response.
140
+ # Lists managed services.
141
+ # Returns all public services. For authenticated users, also returns all
142
+ # services the calling user has "servicemanagement.services.get" permission
143
+ # for.
144
+ # **BETA:** If the caller specifies the `consumer_id`, it returns only the
145
+ # services enabled on the consumer. The `consumer_id` must have the format
146
+ # of "project:`PROJECT-ID`".
147
+ # @param [String] consumer_id
148
+ # Include services consumed by the specified consumer.
149
+ # The Google Service Management implementation accepts the following
150
+ # forms:
151
+ # - project:<project_id>
152
+ # @param [String] page_token
153
+ # Token identifying which result to start with; returned by a previous list
154
+ # call.
155
+ # @param [Fixnum] page_size
156
+ # Requested size of the next page of data.
157
+ # @param [String] producer_project_id
158
+ # Include services produced by the specified project.
159
+ # @param [String] fields
160
+ # Selector specifying which fields to include in a partial response.
149
161
  # @param [String] quota_user
150
162
  # Available to use for quota purposes for server-side applications. Can be any
151
163
  # arbitrary string assigned to a user, but should not exceed 40 characters.
152
- # @param [String] fields
153
- # Selector specifying which fields to include in a partial response.
154
164
  # @param [Google::Apis::RequestOptions] options
155
165
  # Request-specific options
156
166
  #
157
167
  # @yield [result, err] Result & error if block supplied
158
- # @yieldparam result [Google::Apis::ServicemanagementV1::Service] parsed result object
168
+ # @yieldparam result [Google::Apis::ServicemanagementV1::ListServicesResponse] parsed result object
159
169
  # @yieldparam err [StandardError] error object if request failed
160
170
  #
161
- # @return [Google::Apis::ServicemanagementV1::Service]
171
+ # @return [Google::Apis::ServicemanagementV1::ListServicesResponse]
162
172
  #
163
173
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
164
174
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
165
175
  # @raise [Google::Apis::AuthorizationError] Authorization is required
166
- def get_service_configuration(service_name, config_id: nil, view: nil, quota_user: nil, fields: nil, options: nil, &block)
167
- command = make_simple_command(:get, 'v1/services/{serviceName}/config', options)
168
- command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation
169
- command.response_class = Google::Apis::ServicemanagementV1::Service
170
- command.params['serviceName'] = service_name unless service_name.nil?
171
- command.query['configId'] = config_id unless config_id.nil?
172
- command.query['view'] = view unless view.nil?
173
- command.query['quotaUser'] = quota_user unless quota_user.nil?
176
+ def list_services(consumer_id: nil, page_token: nil, page_size: nil, producer_project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
177
+ command = make_simple_command(:get, 'v1/services', options)
178
+ command.response_representation = Google::Apis::ServicemanagementV1::ListServicesResponse::Representation
179
+ command.response_class = Google::Apis::ServicemanagementV1::ListServicesResponse
180
+ command.query['consumerId'] = consumer_id unless consumer_id.nil?
181
+ command.query['pageToken'] = page_token unless page_token.nil?
182
+ command.query['pageSize'] = page_size unless page_size.nil?
183
+ command.query['producerProjectId'] = producer_project_id unless producer_project_id.nil?
174
184
  command.query['fields'] = fields unless fields.nil?
185
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
175
186
  execute_or_queue_command(command, &block)
176
187
  end
177
188
 
178
- # Deletes a managed service. This method will change the service to the
179
- # `Soft-Delete` state for 30 days. Within this period, service producers may
180
- # call UndeleteService to restore the service.
181
- # After 30 days, the service will be permanently deleted.
182
- # Operation<response: google.protobuf.Empty>
183
- # @param [String] service_name
184
- # The name of the service. See the [overview](/service-management/overview)
185
- # for naming requirements. For example: `example.googleapis.com`.
189
+ # Creates a new managed service.
190
+ # Please note one producer project can own no more than 20 services.
191
+ # Operation<response: ManagedService>
192
+ # @param [Google::Apis::ServicemanagementV1::ManagedService] managed_service_object
193
+ # @param [String] fields
194
+ # Selector specifying which fields to include in a partial response.
186
195
  # @param [String] quota_user
187
196
  # Available to use for quota purposes for server-side applications. Can be any
188
197
  # arbitrary string assigned to a user, but should not exceed 40 characters.
189
- # @param [String] fields
190
- # Selector specifying which fields to include in a partial response.
191
198
  # @param [Google::Apis::RequestOptions] options
192
199
  # Request-specific options
193
200
  #
@@ -200,175 +207,178 @@ module Google
200
207
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
201
208
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
202
209
  # @raise [Google::Apis::AuthorizationError] Authorization is required
203
- def delete_service(service_name, quota_user: nil, fields: nil, options: nil, &block)
204
- command = make_simple_command(:delete, 'v1/services/{serviceName}', options)
210
+ def create_service(managed_service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
211
+ command = make_simple_command(:post, 'v1/services', options)
212
+ command.request_representation = Google::Apis::ServicemanagementV1::ManagedService::Representation
213
+ command.request_object = managed_service_object
205
214
  command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
206
215
  command.response_class = Google::Apis::ServicemanagementV1::Operation
207
- command.params['serviceName'] = service_name unless service_name.nil?
208
- command.query['quotaUser'] = quota_user unless quota_user.nil?
209
216
  command.query['fields'] = fields unless fields.nil?
217
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
210
218
  execute_or_queue_command(command, &block)
211
219
  end
212
220
 
213
- # Enables a service for a project, so it can be used
214
- # for the project. See
215
- # [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for
216
- # more information.
217
- # Operation<response: EnableServiceResponse>
218
- # @param [String] service_name
219
- # Name of the service to enable. Specifying an unknown service name will
220
- # cause the request to fail.
221
- # @param [Google::Apis::ServicemanagementV1::EnableServiceRequest] enable_service_request_object
221
+ # Generates and returns a report (errors, warnings and changes from
222
+ # existing configurations) associated with
223
+ # GenerateConfigReportRequest.new_value
224
+ # If GenerateConfigReportRequest.old_value is specified,
225
+ # GenerateConfigReportRequest will contain a single ChangeReport based on the
226
+ # comparison between GenerateConfigReportRequest.new_value and
227
+ # GenerateConfigReportRequest.old_value.
228
+ # If GenerateConfigReportRequest.old_value is not specified, this method
229
+ # will compare GenerateConfigReportRequest.new_value with the last pushed
230
+ # service configuration.
231
+ # @param [Google::Apis::ServicemanagementV1::GenerateConfigReportRequest] generate_config_report_request_object
232
+ # @param [String] fields
233
+ # Selector specifying which fields to include in a partial response.
222
234
  # @param [String] quota_user
223
235
  # Available to use for quota purposes for server-side applications. Can be any
224
236
  # arbitrary string assigned to a user, but should not exceed 40 characters.
225
- # @param [String] fields
226
- # Selector specifying which fields to include in a partial response.
227
237
  # @param [Google::Apis::RequestOptions] options
228
238
  # Request-specific options
229
239
  #
230
240
  # @yield [result, err] Result & error if block supplied
231
- # @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object
241
+ # @yieldparam result [Google::Apis::ServicemanagementV1::GenerateConfigReportResponse] parsed result object
232
242
  # @yieldparam err [StandardError] error object if request failed
233
243
  #
234
- # @return [Google::Apis::ServicemanagementV1::Operation]
244
+ # @return [Google::Apis::ServicemanagementV1::GenerateConfigReportResponse]
235
245
  #
236
246
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
237
247
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
238
248
  # @raise [Google::Apis::AuthorizationError] Authorization is required
239
- def enable_service(service_name, enable_service_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
240
- command = make_simple_command(:post, 'v1/services/{serviceName}:enable', options)
241
- command.request_representation = Google::Apis::ServicemanagementV1::EnableServiceRequest::Representation
242
- command.request_object = enable_service_request_object
243
- command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
244
- command.response_class = Google::Apis::ServicemanagementV1::Operation
245
- command.params['serviceName'] = service_name unless service_name.nil?
246
- command.query['quotaUser'] = quota_user unless quota_user.nil?
249
+ def generate_service_config_report(generate_config_report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
250
+ command = make_simple_command(:post, 'v1/services:generateConfigReport', options)
251
+ command.request_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportRequest::Representation
252
+ command.request_object = generate_config_report_request_object
253
+ command.response_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse::Representation
254
+ command.response_class = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse
247
255
  command.query['fields'] = fields unless fields.nil?
256
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
248
257
  execute_or_queue_command(command, &block)
249
258
  end
250
259
 
251
- # Sets the access control policy on the specified resource. Replaces any
252
- # existing policy.
253
- # @param [String] resource
254
- # REQUIRED: The resource for which the policy is being specified.
255
- # See the operation documentation for the appropriate value for this field.
256
- # @param [Google::Apis::ServicemanagementV1::SetIamPolicyRequest] set_iam_policy_request_object
260
+ # Gets a managed service. Authentication is required unless the service is
261
+ # public.
262
+ # @param [String] service_name
263
+ # The name of the service. See the `ServiceManager` overview for naming
264
+ # requirements. For example: `example.googleapis.com`.
265
+ # @param [String] fields
266
+ # Selector specifying which fields to include in a partial response.
257
267
  # @param [String] quota_user
258
268
  # Available to use for quota purposes for server-side applications. Can be any
259
269
  # arbitrary string assigned to a user, but should not exceed 40 characters.
260
- # @param [String] fields
261
- # Selector specifying which fields to include in a partial response.
262
270
  # @param [Google::Apis::RequestOptions] options
263
271
  # Request-specific options
264
272
  #
265
273
  # @yield [result, err] Result & error if block supplied
266
- # @yieldparam result [Google::Apis::ServicemanagementV1::Policy] parsed result object
274
+ # @yieldparam result [Google::Apis::ServicemanagementV1::ManagedService] parsed result object
267
275
  # @yieldparam err [StandardError] error object if request failed
268
276
  #
269
- # @return [Google::Apis::ServicemanagementV1::Policy]
277
+ # @return [Google::Apis::ServicemanagementV1::ManagedService]
270
278
  #
271
279
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
272
280
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
273
281
  # @raise [Google::Apis::AuthorizationError] Authorization is required
274
- def set_service_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
275
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
276
- command.request_representation = Google::Apis::ServicemanagementV1::SetIamPolicyRequest::Representation
277
- command.request_object = set_iam_policy_request_object
278
- command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
279
- command.response_class = Google::Apis::ServicemanagementV1::Policy
280
- command.params['resource'] = resource unless resource.nil?
281
- command.query['quotaUser'] = quota_user unless quota_user.nil?
282
+ def get_service(service_name, fields: nil, quota_user: nil, options: nil, &block)
283
+ command = make_simple_command(:get, 'v1/services/{serviceName}', options)
284
+ command.response_representation = Google::Apis::ServicemanagementV1::ManagedService::Representation
285
+ command.response_class = Google::Apis::ServicemanagementV1::ManagedService
286
+ command.params['serviceName'] = service_name unless service_name.nil?
282
287
  command.query['fields'] = fields unless fields.nil?
288
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
283
289
  execute_or_queue_command(command, &block)
284
290
  end
285
291
 
286
- # Disables a service for a project, so it can no longer be
287
- # be used for the project. It prevents accidental usage that may cause
288
- # unexpected billing charges or security leaks.
289
- # Operation<response: DisableServiceResponse>
290
- # @param [String] service_name
291
- # Name of the service to disable. Specifying an unknown service name
292
- # will cause the request to fail.
293
- # @param [Google::Apis::ServicemanagementV1::DisableServiceRequest] disable_service_request_object
292
+ # Returns permissions that a caller has on the specified resource.
293
+ # If the resource does not exist, this will return an empty set of
294
+ # permissions, not a NOT_FOUND error.
295
+ # Note: This operation is designed to be used for building permission-aware
296
+ # UIs and command-line tools, not for authorization checking. This operation
297
+ # may "fail open" without warning.
298
+ # @param [String] resource
299
+ # REQUIRED: The resource for which the policy detail is being requested.
300
+ # See the operation documentation for the appropriate value for this field.
301
+ # @param [Google::Apis::ServicemanagementV1::TestIamPermissionsRequest] test_iam_permissions_request_object
302
+ # @param [String] fields
303
+ # Selector specifying which fields to include in a partial response.
294
304
  # @param [String] quota_user
295
305
  # Available to use for quota purposes for server-side applications. Can be any
296
306
  # arbitrary string assigned to a user, but should not exceed 40 characters.
297
- # @param [String] fields
298
- # Selector specifying which fields to include in a partial response.
299
307
  # @param [Google::Apis::RequestOptions] options
300
308
  # Request-specific options
301
309
  #
302
310
  # @yield [result, err] Result & error if block supplied
303
- # @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object
311
+ # @yieldparam result [Google::Apis::ServicemanagementV1::TestIamPermissionsResponse] parsed result object
304
312
  # @yieldparam err [StandardError] error object if request failed
305
313
  #
306
- # @return [Google::Apis::ServicemanagementV1::Operation]
314
+ # @return [Google::Apis::ServicemanagementV1::TestIamPermissionsResponse]
307
315
  #
308
316
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
309
317
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
310
318
  # @raise [Google::Apis::AuthorizationError] Authorization is required
311
- def disable_service(service_name, disable_service_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
312
- command = make_simple_command(:post, 'v1/services/{serviceName}:disable', options)
313
- command.request_representation = Google::Apis::ServicemanagementV1::DisableServiceRequest::Representation
314
- command.request_object = disable_service_request_object
315
- command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
316
- command.response_class = Google::Apis::ServicemanagementV1::Operation
317
- command.params['serviceName'] = service_name unless service_name.nil?
318
- command.query['quotaUser'] = quota_user unless quota_user.nil?
319
+ def test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
320
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
321
+ command.request_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsRequest::Representation
322
+ command.request_object = test_iam_permissions_request_object
323
+ command.response_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse::Representation
324
+ command.response_class = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse
325
+ command.params['resource'] = resource unless resource.nil?
319
326
  command.query['fields'] = fields unless fields.nil?
327
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
320
328
  execute_or_queue_command(command, &block)
321
329
  end
322
330
 
323
- # Gets the access control policy for a resource.
324
- # Returns an empty policy if the resource exists and does not have a policy
325
- # set.
326
- # @param [String] resource
327
- # REQUIRED: The resource for which the policy is being requested.
328
- # See the operation documentation for the appropriate value for this field.
329
- # @param [Google::Apis::ServicemanagementV1::GetIamPolicyRequest] get_iam_policy_request_object
331
+ # Gets a service configuration (version) for a managed service.
332
+ # @param [String] service_name
333
+ # The name of the service. See the [overview](/service-management/overview)
334
+ # for naming requirements. For example: `example.googleapis.com`.
335
+ # @param [String] view
336
+ # Specifies which parts of the Service Config should be returned in the
337
+ # response.
338
+ # @param [String] config_id
339
+ # The id of the service configuration resource.
340
+ # @param [String] fields
341
+ # Selector specifying which fields to include in a partial response.
330
342
  # @param [String] quota_user
331
343
  # Available to use for quota purposes for server-side applications. Can be any
332
344
  # arbitrary string assigned to a user, but should not exceed 40 characters.
333
- # @param [String] fields
334
- # Selector specifying which fields to include in a partial response.
335
345
  # @param [Google::Apis::RequestOptions] options
336
346
  # Request-specific options
337
347
  #
338
348
  # @yield [result, err] Result & error if block supplied
339
- # @yieldparam result [Google::Apis::ServicemanagementV1::Policy] parsed result object
349
+ # @yieldparam result [Google::Apis::ServicemanagementV1::Service] parsed result object
340
350
  # @yieldparam err [StandardError] error object if request failed
341
351
  #
342
- # @return [Google::Apis::ServicemanagementV1::Policy]
352
+ # @return [Google::Apis::ServicemanagementV1::Service]
343
353
  #
344
354
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
345
355
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
346
356
  # @raise [Google::Apis::AuthorizationError] Authorization is required
347
- def get_service_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
348
- command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
349
- command.request_representation = Google::Apis::ServicemanagementV1::GetIamPolicyRequest::Representation
350
- command.request_object = get_iam_policy_request_object
351
- command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
352
- command.response_class = Google::Apis::ServicemanagementV1::Policy
353
- command.params['resource'] = resource unless resource.nil?
354
- command.query['quotaUser'] = quota_user unless quota_user.nil?
357
+ def get_service_configuration(service_name, view: nil, config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
358
+ command = make_simple_command(:get, 'v1/services/{serviceName}/config', options)
359
+ command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation
360
+ command.response_class = Google::Apis::ServicemanagementV1::Service
361
+ command.params['serviceName'] = service_name unless service_name.nil?
362
+ command.query['view'] = view unless view.nil?
363
+ command.query['configId'] = config_id unless config_id.nil?
355
364
  command.query['fields'] = fields unless fields.nil?
365
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
356
366
  execute_or_queue_command(command, &block)
357
367
  end
358
368
 
359
- # Revives a previously deleted managed service. The method restores the
360
- # service using the configuration at the time the service was deleted.
361
- # The target service must exist and must have been deleted within the
362
- # last 30 days.
363
- # Operation<response: UndeleteServiceResponse>
369
+ # Deletes a managed service. This method will change the service to the
370
+ # `Soft-Delete` state for 30 days. Within this period, service producers may
371
+ # call UndeleteService to restore the service.
372
+ # After 30 days, the service will be permanently deleted.
373
+ # Operation<response: google.protobuf.Empty>
364
374
  # @param [String] service_name
365
- # The name of the service. See the [overview](/service-management/overview)
366
- # for naming requirements. For example: `example.googleapis.com`.
375
+ # The name of the service. See the [overview](/service-management/overview)
376
+ # for naming requirements. For example: `example.googleapis.com`.
377
+ # @param [String] fields
378
+ # Selector specifying which fields to include in a partial response.
367
379
  # @param [String] quota_user
368
380
  # Available to use for quota purposes for server-side applications. Can be any
369
381
  # arbitrary string assigned to a user, but should not exceed 40 characters.
370
- # @param [String] fields
371
- # Selector specifying which fields to include in a partial response.
372
382
  # @param [Google::Apis::RequestOptions] options
373
383
  # Request-specific options
374
384
  #
@@ -381,204 +391,194 @@ module Google
381
391
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
382
392
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
383
393
  # @raise [Google::Apis::AuthorizationError] Authorization is required
384
- def undelete_service(service_name, quota_user: nil, fields: nil, options: nil, &block)
385
- command = make_simple_command(:post, 'v1/services/{serviceName}:undelete', options)
394
+ def delete_service(service_name, fields: nil, quota_user: nil, options: nil, &block)
395
+ command = make_simple_command(:delete, 'v1/services/{serviceName}', options)
386
396
  command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
387
397
  command.response_class = Google::Apis::ServicemanagementV1::Operation
388
398
  command.params['serviceName'] = service_name unless service_name.nil?
389
- command.query['quotaUser'] = quota_user unless quota_user.nil?
390
399
  command.query['fields'] = fields unless fields.nil?
400
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
391
401
  execute_or_queue_command(command, &block)
392
402
  end
393
403
 
394
- # Lists managed services.
395
- # Returns all public services. For authenticated users, also returns all
396
- # services the calling user has "servicemanagement.services.get" permission
397
- # for.
398
- # **BETA:** If the caller specifies the `consumer_id`, it returns only the
399
- # services enabled on the consumer. The `consumer_id` must have the format
400
- # of "project:`PROJECT-ID`".
401
- # @param [String] consumer_id
402
- # Include services consumed by the specified consumer.
403
- # The Google Service Management implementation accepts the following
404
- # forms:
405
- # - project:<project_id>
406
- # @param [String] page_token
407
- # Token identifying which result to start with; returned by a previous list
408
- # call.
409
- # @param [Fixnum] page_size
410
- # Requested size of the next page of data.
411
- # @param [String] producer_project_id
412
- # Include services produced by the specified project.
404
+ # Enables a service for a project, so it can be used
405
+ # for the project. See
406
+ # [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for
407
+ # more information.
408
+ # Operation<response: EnableServiceResponse>
409
+ # @param [String] service_name
410
+ # Name of the service to enable. Specifying an unknown service name will
411
+ # cause the request to fail.
412
+ # @param [Google::Apis::ServicemanagementV1::EnableServiceRequest] enable_service_request_object
413
+ # @param [String] fields
414
+ # Selector specifying which fields to include in a partial response.
413
415
  # @param [String] quota_user
414
416
  # Available to use for quota purposes for server-side applications. Can be any
415
417
  # arbitrary string assigned to a user, but should not exceed 40 characters.
416
- # @param [String] fields
417
- # Selector specifying which fields to include in a partial response.
418
418
  # @param [Google::Apis::RequestOptions] options
419
419
  # Request-specific options
420
420
  #
421
421
  # @yield [result, err] Result & error if block supplied
422
- # @yieldparam result [Google::Apis::ServicemanagementV1::ListServicesResponse] parsed result object
422
+ # @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object
423
423
  # @yieldparam err [StandardError] error object if request failed
424
424
  #
425
- # @return [Google::Apis::ServicemanagementV1::ListServicesResponse]
425
+ # @return [Google::Apis::ServicemanagementV1::Operation]
426
426
  #
427
427
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
428
428
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
429
429
  # @raise [Google::Apis::AuthorizationError] Authorization is required
430
- def list_services(consumer_id: nil, page_token: nil, page_size: nil, producer_project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
431
- command = make_simple_command(:get, 'v1/services', options)
432
- command.response_representation = Google::Apis::ServicemanagementV1::ListServicesResponse::Representation
433
- command.response_class = Google::Apis::ServicemanagementV1::ListServicesResponse
434
- command.query['consumerId'] = consumer_id unless consumer_id.nil?
435
- command.query['pageToken'] = page_token unless page_token.nil?
436
- command.query['pageSize'] = page_size unless page_size.nil?
437
- command.query['producerProjectId'] = producer_project_id unless producer_project_id.nil?
438
- command.query['quotaUser'] = quota_user unless quota_user.nil?
430
+ def enable_service(service_name, enable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
431
+ command = make_simple_command(:post, 'v1/services/{serviceName}:enable', options)
432
+ command.request_representation = Google::Apis::ServicemanagementV1::EnableServiceRequest::Representation
433
+ command.request_object = enable_service_request_object
434
+ command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
435
+ command.response_class = Google::Apis::ServicemanagementV1::Operation
436
+ command.params['serviceName'] = service_name unless service_name.nil?
439
437
  command.query['fields'] = fields unless fields.nil?
438
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
440
439
  execute_or_queue_command(command, &block)
441
440
  end
442
-
443
- # Creates a new managed service.
444
- # Please note one producer project can own no more than 20 services.
445
- # Operation<response: ManagedService>
446
- # @param [Google::Apis::ServicemanagementV1::ManagedService] managed_service_object
441
+
442
+ # Sets the access control policy on the specified resource. Replaces any
443
+ # existing policy.
444
+ # @param [String] resource
445
+ # REQUIRED: The resource for which the policy is being specified.
446
+ # See the operation documentation for the appropriate value for this field.
447
+ # @param [Google::Apis::ServicemanagementV1::SetIamPolicyRequest] set_iam_policy_request_object
448
+ # @param [String] fields
449
+ # Selector specifying which fields to include in a partial response.
447
450
  # @param [String] quota_user
448
451
  # Available to use for quota purposes for server-side applications. Can be any
449
452
  # arbitrary string assigned to a user, but should not exceed 40 characters.
450
- # @param [String] fields
451
- # Selector specifying which fields to include in a partial response.
452
453
  # @param [Google::Apis::RequestOptions] options
453
454
  # Request-specific options
454
455
  #
455
456
  # @yield [result, err] Result & error if block supplied
456
- # @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object
457
+ # @yieldparam result [Google::Apis::ServicemanagementV1::Policy] parsed result object
457
458
  # @yieldparam err [StandardError] error object if request failed
458
459
  #
459
- # @return [Google::Apis::ServicemanagementV1::Operation]
460
+ # @return [Google::Apis::ServicemanagementV1::Policy]
460
461
  #
461
462
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
462
463
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
463
464
  # @raise [Google::Apis::AuthorizationError] Authorization is required
464
- def create_service(managed_service_object = nil, quota_user: nil, fields: nil, options: nil, &block)
465
- command = make_simple_command(:post, 'v1/services', options)
466
- command.request_representation = Google::Apis::ServicemanagementV1::ManagedService::Representation
467
- command.request_object = managed_service_object
468
- command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
469
- command.response_class = Google::Apis::ServicemanagementV1::Operation
470
- command.query['quotaUser'] = quota_user unless quota_user.nil?
465
+ def set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
466
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
467
+ command.request_representation = Google::Apis::ServicemanagementV1::SetIamPolicyRequest::Representation
468
+ command.request_object = set_iam_policy_request_object
469
+ command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
470
+ command.response_class = Google::Apis::ServicemanagementV1::Policy
471
+ command.params['resource'] = resource unless resource.nil?
471
472
  command.query['fields'] = fields unless fields.nil?
473
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
472
474
  execute_or_queue_command(command, &block)
473
475
  end
474
476
 
475
- # Generates and returns a report (errors, warnings and changes from
476
- # existing configurations) associated with
477
- # GenerateConfigReportRequest.new_value
478
- # If GenerateConfigReportRequest.old_value is specified,
479
- # GenerateConfigReportRequest will contain a single ChangeReport based on the
480
- # comparison between GenerateConfigReportRequest.new_value and
481
- # GenerateConfigReportRequest.old_value.
482
- # If GenerateConfigReportRequest.old_value is not specified, this method
483
- # will compare GenerateConfigReportRequest.new_value with the last pushed
484
- # service configuration.
485
- # @param [Google::Apis::ServicemanagementV1::GenerateConfigReportRequest] generate_config_report_request_object
477
+ # Disables a service for a project, so it can no longer be
478
+ # be used for the project. It prevents accidental usage that may cause
479
+ # unexpected billing charges or security leaks.
480
+ # Operation<response: DisableServiceResponse>
481
+ # @param [String] service_name
482
+ # Name of the service to disable. Specifying an unknown service name
483
+ # will cause the request to fail.
484
+ # @param [Google::Apis::ServicemanagementV1::DisableServiceRequest] disable_service_request_object
485
+ # @param [String] fields
486
+ # Selector specifying which fields to include in a partial response.
486
487
  # @param [String] quota_user
487
488
  # Available to use for quota purposes for server-side applications. Can be any
488
489
  # arbitrary string assigned to a user, but should not exceed 40 characters.
489
- # @param [String] fields
490
- # Selector specifying which fields to include in a partial response.
491
490
  # @param [Google::Apis::RequestOptions] options
492
491
  # Request-specific options
493
492
  #
494
493
  # @yield [result, err] Result & error if block supplied
495
- # @yieldparam result [Google::Apis::ServicemanagementV1::GenerateConfigReportResponse] parsed result object
494
+ # @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object
496
495
  # @yieldparam err [StandardError] error object if request failed
497
496
  #
498
- # @return [Google::Apis::ServicemanagementV1::GenerateConfigReportResponse]
497
+ # @return [Google::Apis::ServicemanagementV1::Operation]
499
498
  #
500
499
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
501
500
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
502
501
  # @raise [Google::Apis::AuthorizationError] Authorization is required
503
- def generate_service_config_report(generate_config_report_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
504
- command = make_simple_command(:post, 'v1/services:generateConfigReport', options)
505
- command.request_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportRequest::Representation
506
- command.request_object = generate_config_report_request_object
507
- command.response_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse::Representation
508
- command.response_class = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse
509
- command.query['quotaUser'] = quota_user unless quota_user.nil?
502
+ def disable_service(service_name, disable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
503
+ command = make_simple_command(:post, 'v1/services/{serviceName}:disable', options)
504
+ command.request_representation = Google::Apis::ServicemanagementV1::DisableServiceRequest::Representation
505
+ command.request_object = disable_service_request_object
506
+ command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
507
+ command.response_class = Google::Apis::ServicemanagementV1::Operation
508
+ command.params['serviceName'] = service_name unless service_name.nil?
510
509
  command.query['fields'] = fields unless fields.nil?
510
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
511
511
  execute_or_queue_command(command, &block)
512
512
  end
513
513
 
514
- # Gets a managed service. Authentication is required unless the service is
515
- # public.
516
- # @param [String] service_name
517
- # The name of the service. See the `ServiceManager` overview for naming
518
- # requirements. For example: `example.googleapis.com`.
514
+ # Gets the access control policy for a resource.
515
+ # Returns an empty policy if the resource exists and does not have a policy
516
+ # set.
517
+ # @param [String] resource
518
+ # REQUIRED: The resource for which the policy is being requested.
519
+ # See the operation documentation for the appropriate value for this field.
520
+ # @param [Google::Apis::ServicemanagementV1::GetIamPolicyRequest] get_iam_policy_request_object
521
+ # @param [String] fields
522
+ # Selector specifying which fields to include in a partial response.
519
523
  # @param [String] quota_user
520
524
  # Available to use for quota purposes for server-side applications. Can be any
521
525
  # arbitrary string assigned to a user, but should not exceed 40 characters.
522
- # @param [String] fields
523
- # Selector specifying which fields to include in a partial response.
524
526
  # @param [Google::Apis::RequestOptions] options
525
527
  # Request-specific options
526
528
  #
527
529
  # @yield [result, err] Result & error if block supplied
528
- # @yieldparam result [Google::Apis::ServicemanagementV1::ManagedService] parsed result object
530
+ # @yieldparam result [Google::Apis::ServicemanagementV1::Policy] parsed result object
529
531
  # @yieldparam err [StandardError] error object if request failed
530
532
  #
531
- # @return [Google::Apis::ServicemanagementV1::ManagedService]
533
+ # @return [Google::Apis::ServicemanagementV1::Policy]
532
534
  #
533
535
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
534
536
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
535
537
  # @raise [Google::Apis::AuthorizationError] Authorization is required
536
- def get_service(service_name, quota_user: nil, fields: nil, options: nil, &block)
537
- command = make_simple_command(:get, 'v1/services/{serviceName}', options)
538
- command.response_representation = Google::Apis::ServicemanagementV1::ManagedService::Representation
539
- command.response_class = Google::Apis::ServicemanagementV1::ManagedService
540
- command.params['serviceName'] = service_name unless service_name.nil?
541
- command.query['quotaUser'] = quota_user unless quota_user.nil?
538
+ def get_service_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
539
+ command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
540
+ command.request_representation = Google::Apis::ServicemanagementV1::GetIamPolicyRequest::Representation
541
+ command.request_object = get_iam_policy_request_object
542
+ command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
543
+ command.response_class = Google::Apis::ServicemanagementV1::Policy
544
+ command.params['resource'] = resource unless resource.nil?
542
545
  command.query['fields'] = fields unless fields.nil?
546
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
543
547
  execute_or_queue_command(command, &block)
544
548
  end
545
549
 
546
- # Returns permissions that a caller has on the specified resource.
547
- # If the resource does not exist, this will return an empty set of
548
- # permissions, not a NOT_FOUND error.
549
- # Note: This operation is designed to be used for building permission-aware
550
- # UIs and command-line tools, not for authorization checking. This operation
551
- # may "fail open" without warning.
552
- # @param [String] resource
553
- # REQUIRED: The resource for which the policy detail is being requested.
554
- # See the operation documentation for the appropriate value for this field.
555
- # @param [Google::Apis::ServicemanagementV1::TestIamPermissionsRequest] test_iam_permissions_request_object
550
+ # Revives a previously deleted managed service. The method restores the
551
+ # service using the configuration at the time the service was deleted.
552
+ # The target service must exist and must have been deleted within the
553
+ # last 30 days.
554
+ # Operation<response: UndeleteServiceResponse>
555
+ # @param [String] service_name
556
+ # The name of the service. See the [overview](/service-management/overview)
557
+ # for naming requirements. For example: `example.googleapis.com`.
558
+ # @param [String] fields
559
+ # Selector specifying which fields to include in a partial response.
556
560
  # @param [String] quota_user
557
561
  # Available to use for quota purposes for server-side applications. Can be any
558
562
  # arbitrary string assigned to a user, but should not exceed 40 characters.
559
- # @param [String] fields
560
- # Selector specifying which fields to include in a partial response.
561
563
  # @param [Google::Apis::RequestOptions] options
562
564
  # Request-specific options
563
565
  #
564
566
  # @yield [result, err] Result & error if block supplied
565
- # @yieldparam result [Google::Apis::ServicemanagementV1::TestIamPermissionsResponse] parsed result object
567
+ # @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object
566
568
  # @yieldparam err [StandardError] error object if request failed
567
569
  #
568
- # @return [Google::Apis::ServicemanagementV1::TestIamPermissionsResponse]
570
+ # @return [Google::Apis::ServicemanagementV1::Operation]
569
571
  #
570
572
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
571
573
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
572
574
  # @raise [Google::Apis::AuthorizationError] Authorization is required
573
- def test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
574
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
575
- command.request_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsRequest::Representation
576
- command.request_object = test_iam_permissions_request_object
577
- command.response_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse::Representation
578
- command.response_class = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse
579
- command.params['resource'] = resource unless resource.nil?
580
- command.query['quotaUser'] = quota_user unless quota_user.nil?
575
+ def undelete_service(service_name, fields: nil, quota_user: nil, options: nil, &block)
576
+ command = make_simple_command(:post, 'v1/services/{serviceName}:undelete', options)
577
+ command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
578
+ command.response_class = Google::Apis::ServicemanagementV1::Operation
579
+ command.params['serviceName'] = service_name unless service_name.nil?
581
580
  command.query['fields'] = fields unless fields.nil?
581
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
582
582
  execute_or_queue_command(command, &block)
583
583
  end
584
584
 
@@ -591,11 +591,11 @@ module Google
591
591
  # The token of the page to retrieve.
592
592
  # @param [Fixnum] page_size
593
593
  # The max number of items to include in the response list.
594
+ # @param [String] fields
595
+ # Selector specifying which fields to include in a partial response.
594
596
  # @param [String] quota_user
595
597
  # Available to use for quota purposes for server-side applications. Can be any
596
598
  # arbitrary string assigned to a user, but should not exceed 40 characters.
597
- # @param [String] fields
598
- # Selector specifying which fields to include in a partial response.
599
599
  # @param [Google::Apis::RequestOptions] options
600
600
  # Request-specific options
601
601
  #
@@ -608,15 +608,15 @@ module Google
608
608
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
609
609
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
610
610
  # @raise [Google::Apis::AuthorizationError] Authorization is required
611
- def list_service_configs(service_name, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
611
+ def list_service_configs(service_name, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
612
612
  command = make_simple_command(:get, 'v1/services/{serviceName}/configs', options)
613
613
  command.response_representation = Google::Apis::ServicemanagementV1::ListServiceConfigsResponse::Representation
614
614
  command.response_class = Google::Apis::ServicemanagementV1::ListServiceConfigsResponse
615
615
  command.params['serviceName'] = service_name unless service_name.nil?
616
616
  command.query['pageToken'] = page_token unless page_token.nil?
617
617
  command.query['pageSize'] = page_size unless page_size.nil?
618
- command.query['quotaUser'] = quota_user unless quota_user.nil?
619
618
  command.query['fields'] = fields unless fields.nil?
619
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
620
620
  execute_or_queue_command(command, &block)
621
621
  end
622
622
 
@@ -629,11 +629,11 @@ module Google
629
629
  # @param [String] view
630
630
  # Specifies which parts of the Service Config should be returned in the
631
631
  # response.
632
+ # @param [String] fields
633
+ # Selector specifying which fields to include in a partial response.
632
634
  # @param [String] quota_user
633
635
  # Available to use for quota purposes for server-side applications. Can be any
634
636
  # arbitrary string assigned to a user, but should not exceed 40 characters.
635
- # @param [String] fields
636
- # Selector specifying which fields to include in a partial response.
637
637
  # @param [Google::Apis::RequestOptions] options
638
638
  # Request-specific options
639
639
  #
@@ -646,15 +646,15 @@ module Google
646
646
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
647
647
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
648
648
  # @raise [Google::Apis::AuthorizationError] Authorization is required
649
- def get_service_config(service_name, config_id, view: nil, quota_user: nil, fields: nil, options: nil, &block)
649
+ def get_service_config(service_name, config_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
650
650
  command = make_simple_command(:get, 'v1/services/{serviceName}/configs/{configId}', options)
651
651
  command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation
652
652
  command.response_class = Google::Apis::ServicemanagementV1::Service
653
653
  command.params['serviceName'] = service_name unless service_name.nil?
654
654
  command.params['configId'] = config_id unless config_id.nil?
655
655
  command.query['view'] = view unless view.nil?
656
- command.query['quotaUser'] = quota_user unless quota_user.nil?
657
656
  command.query['fields'] = fields unless fields.nil?
657
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
658
658
  execute_or_queue_command(command, &block)
659
659
  end
660
660
 
@@ -666,11 +666,11 @@ module Google
666
666
  # The name of the service. See the [overview](/service-management/overview)
667
667
  # for naming requirements. For example: `example.googleapis.com`.
668
668
  # @param [Google::Apis::ServicemanagementV1::Service] service_object
669
+ # @param [String] fields
670
+ # Selector specifying which fields to include in a partial response.
669
671
  # @param [String] quota_user
670
672
  # Available to use for quota purposes for server-side applications. Can be any
671
673
  # arbitrary string assigned to a user, but should not exceed 40 characters.
672
- # @param [String] fields
673
- # Selector specifying which fields to include in a partial response.
674
674
  # @param [Google::Apis::RequestOptions] options
675
675
  # Request-specific options
676
676
  #
@@ -683,15 +683,15 @@ module Google
683
683
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
684
684
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
685
685
  # @raise [Google::Apis::AuthorizationError] Authorization is required
686
- def create_service_config(service_name, service_object = nil, quota_user: nil, fields: nil, options: nil, &block)
686
+ def create_service_config(service_name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
687
687
  command = make_simple_command(:post, 'v1/services/{serviceName}/configs', options)
688
688
  command.request_representation = Google::Apis::ServicemanagementV1::Service::Representation
689
689
  command.request_object = service_object
690
690
  command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation
691
691
  command.response_class = Google::Apis::ServicemanagementV1::Service
692
692
  command.params['serviceName'] = service_name unless service_name.nil?
693
- command.query['quotaUser'] = quota_user unless quota_user.nil?
694
693
  command.query['fields'] = fields unless fields.nil?
694
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
695
695
  execute_or_queue_command(command, &block)
696
696
  end
697
697
 
@@ -707,11 +707,11 @@ module Google
707
707
  # The name of the service. See the [overview](/service-management/overview)
708
708
  # for naming requirements. For example: `example.googleapis.com`.
709
709
  # @param [Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest] submit_config_source_request_object
710
+ # @param [String] fields
711
+ # Selector specifying which fields to include in a partial response.
710
712
  # @param [String] quota_user
711
713
  # Available to use for quota purposes for server-side applications. Can be any
712
714
  # arbitrary string assigned to a user, but should not exceed 40 characters.
713
- # @param [String] fields
714
- # Selector specifying which fields to include in a partial response.
715
715
  # @param [Google::Apis::RequestOptions] options
716
716
  # Request-specific options
717
717
  #
@@ -724,50 +724,15 @@ module Google
724
724
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
725
725
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
726
726
  # @raise [Google::Apis::AuthorizationError] Authorization is required
727
- def submit_config_source(service_name, submit_config_source_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
727
+ def submit_config_source(service_name, submit_config_source_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
728
728
  command = make_simple_command(:post, 'v1/services/{serviceName}/configs:submit', options)
729
729
  command.request_representation = Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest::Representation
730
730
  command.request_object = submit_config_source_request_object
731
731
  command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
732
732
  command.response_class = Google::Apis::ServicemanagementV1::Operation
733
733
  command.params['serviceName'] = service_name unless service_name.nil?
734
- command.query['quotaUser'] = quota_user unless quota_user.nil?
735
734
  command.query['fields'] = fields unless fields.nil?
736
- execute_or_queue_command(command, &block)
737
- end
738
-
739
- # Sets the access control policy on the specified resource. Replaces any
740
- # existing policy.
741
- # @param [String] resource
742
- # REQUIRED: The resource for which the policy is being specified.
743
- # See the operation documentation for the appropriate value for this field.
744
- # @param [Google::Apis::ServicemanagementV1::SetIamPolicyRequest] set_iam_policy_request_object
745
- # @param [String] quota_user
746
- # Available to use for quota purposes for server-side applications. Can be any
747
- # arbitrary string assigned to a user, but should not exceed 40 characters.
748
- # @param [String] fields
749
- # Selector specifying which fields to include in a partial response.
750
- # @param [Google::Apis::RequestOptions] options
751
- # Request-specific options
752
- #
753
- # @yield [result, err] Result & error if block supplied
754
- # @yieldparam result [Google::Apis::ServicemanagementV1::Policy] parsed result object
755
- # @yieldparam err [StandardError] error object if request failed
756
- #
757
- # @return [Google::Apis::ServicemanagementV1::Policy]
758
- #
759
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
760
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
761
- # @raise [Google::Apis::AuthorizationError] Authorization is required
762
- def set_consumer_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
763
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
764
- command.request_representation = Google::Apis::ServicemanagementV1::SetIamPolicyRequest::Representation
765
- command.request_object = set_iam_policy_request_object
766
- command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
767
- command.response_class = Google::Apis::ServicemanagementV1::Policy
768
- command.params['resource'] = resource unless resource.nil?
769
735
  command.query['quotaUser'] = quota_user unless quota_user.nil?
770
- command.query['fields'] = fields unless fields.nil?
771
736
  execute_or_queue_command(command, &block)
772
737
  end
773
738
 
@@ -781,11 +746,11 @@ module Google
781
746
  # REQUIRED: The resource for which the policy detail is being requested.
782
747
  # See the operation documentation for the appropriate value for this field.
783
748
  # @param [Google::Apis::ServicemanagementV1::TestIamPermissionsRequest] test_iam_permissions_request_object
749
+ # @param [String] fields
750
+ # Selector specifying which fields to include in a partial response.
784
751
  # @param [String] quota_user
785
752
  # Available to use for quota purposes for server-side applications. Can be any
786
753
  # arbitrary string assigned to a user, but should not exceed 40 characters.
787
- # @param [String] fields
788
- # Selector specifying which fields to include in a partial response.
789
754
  # @param [Google::Apis::RequestOptions] options
790
755
  # Request-specific options
791
756
  #
@@ -798,15 +763,15 @@ module Google
798
763
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
799
764
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
800
765
  # @raise [Google::Apis::AuthorizationError] Authorization is required
801
- def test_consumer_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
766
+ def test_consumer_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
802
767
  command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
803
768
  command.request_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsRequest::Representation
804
769
  command.request_object = test_iam_permissions_request_object
805
770
  command.response_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse::Representation
806
771
  command.response_class = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse
807
772
  command.params['resource'] = resource unless resource.nil?
808
- command.query['quotaUser'] = quota_user unless quota_user.nil?
809
773
  command.query['fields'] = fields unless fields.nil?
774
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
810
775
  execute_or_queue_command(command, &block)
811
776
  end
812
777
 
@@ -817,11 +782,11 @@ module Google
817
782
  # REQUIRED: The resource for which the policy is being requested.
818
783
  # See the operation documentation for the appropriate value for this field.
819
784
  # @param [Google::Apis::ServicemanagementV1::GetIamPolicyRequest] get_iam_policy_request_object
785
+ # @param [String] fields
786
+ # Selector specifying which fields to include in a partial response.
820
787
  # @param [String] quota_user
821
788
  # Available to use for quota purposes for server-side applications. Can be any
822
789
  # arbitrary string assigned to a user, but should not exceed 40 characters.
823
- # @param [String] fields
824
- # Selector specifying which fields to include in a partial response.
825
790
  # @param [Google::Apis::RequestOptions] options
826
791
  # Request-specific options
827
792
  #
@@ -834,15 +799,50 @@ module Google
834
799
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
835
800
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
836
801
  # @raise [Google::Apis::AuthorizationError] Authorization is required
837
- def get_consumer_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
802
+ def get_consumer_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
838
803
  command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
839
804
  command.request_representation = Google::Apis::ServicemanagementV1::GetIamPolicyRequest::Representation
840
805
  command.request_object = get_iam_policy_request_object
841
806
  command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
842
807
  command.response_class = Google::Apis::ServicemanagementV1::Policy
843
808
  command.params['resource'] = resource unless resource.nil?
809
+ command.query['fields'] = fields unless fields.nil?
844
810
  command.query['quotaUser'] = quota_user unless quota_user.nil?
811
+ execute_or_queue_command(command, &block)
812
+ end
813
+
814
+ # Sets the access control policy on the specified resource. Replaces any
815
+ # existing policy.
816
+ # @param [String] resource
817
+ # REQUIRED: The resource for which the policy is being specified.
818
+ # See the operation documentation for the appropriate value for this field.
819
+ # @param [Google::Apis::ServicemanagementV1::SetIamPolicyRequest] set_iam_policy_request_object
820
+ # @param [String] fields
821
+ # Selector specifying which fields to include in a partial response.
822
+ # @param [String] quota_user
823
+ # Available to use for quota purposes for server-side applications. Can be any
824
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
825
+ # @param [Google::Apis::RequestOptions] options
826
+ # Request-specific options
827
+ #
828
+ # @yield [result, err] Result & error if block supplied
829
+ # @yieldparam result [Google::Apis::ServicemanagementV1::Policy] parsed result object
830
+ # @yieldparam err [StandardError] error object if request failed
831
+ #
832
+ # @return [Google::Apis::ServicemanagementV1::Policy]
833
+ #
834
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
835
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
836
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
837
+ def set_consumer_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
838
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
839
+ command.request_representation = Google::Apis::ServicemanagementV1::SetIamPolicyRequest::Representation
840
+ command.request_object = set_iam_policy_request_object
841
+ command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation
842
+ command.response_class = Google::Apis::ServicemanagementV1::Policy
843
+ command.params['resource'] = resource unless resource.nil?
845
844
  command.query['fields'] = fields unless fields.nil?
845
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
846
846
  execute_or_queue_command(command, &block)
847
847
  end
848
848
 
@@ -864,11 +864,11 @@ module Google
864
864
  # The token of the page to retrieve.
865
865
  # @param [Fixnum] page_size
866
866
  # The max number of items to include in the response list.
867
+ # @param [String] fields
868
+ # Selector specifying which fields to include in a partial response.
867
869
  # @param [String] quota_user
868
870
  # Available to use for quota purposes for server-side applications. Can be any
869
871
  # arbitrary string assigned to a user, but should not exceed 40 characters.
870
- # @param [String] fields
871
- # Selector specifying which fields to include in a partial response.
872
872
  # @param [Google::Apis::RequestOptions] options
873
873
  # Request-specific options
874
874
  #
@@ -881,7 +881,7 @@ module Google
881
881
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
882
882
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
883
883
  # @raise [Google::Apis::AuthorizationError] Authorization is required
884
- def list_service_rollouts(service_name, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
884
+ def list_service_rollouts(service_name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
885
885
  command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts', options)
886
886
  command.response_representation = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse::Representation
887
887
  command.response_class = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse
@@ -889,8 +889,8 @@ module Google
889
889
  command.query['filter'] = filter unless filter.nil?
890
890
  command.query['pageToken'] = page_token unless page_token.nil?
891
891
  command.query['pageSize'] = page_size unless page_size.nil?
892
- command.query['quotaUser'] = quota_user unless quota_user.nil?
893
892
  command.query['fields'] = fields unless fields.nil?
893
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
894
894
  execute_or_queue_command(command, &block)
895
895
  end
896
896
 
@@ -900,11 +900,11 @@ module Google
900
900
  # for naming requirements. For example: `example.googleapis.com`.
901
901
  # @param [String] rollout_id
902
902
  # The id of the rollout resource.
903
+ # @param [String] fields
904
+ # Selector specifying which fields to include in a partial response.
903
905
  # @param [String] quota_user
904
906
  # Available to use for quota purposes for server-side applications. Can be any
905
907
  # arbitrary string assigned to a user, but should not exceed 40 characters.
906
- # @param [String] fields
907
- # Selector specifying which fields to include in a partial response.
908
908
  # @param [Google::Apis::RequestOptions] options
909
909
  # Request-specific options
910
910
  #
@@ -917,14 +917,14 @@ module Google
917
917
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
918
918
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
919
919
  # @raise [Google::Apis::AuthorizationError] Authorization is required
920
- def get_service_rollout(service_name, rollout_id, quota_user: nil, fields: nil, options: nil, &block)
920
+ def get_service_rollout(service_name, rollout_id, fields: nil, quota_user: nil, options: nil, &block)
921
921
  command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts/{rolloutId}', options)
922
922
  command.response_representation = Google::Apis::ServicemanagementV1::Rollout::Representation
923
923
  command.response_class = Google::Apis::ServicemanagementV1::Rollout
924
924
  command.params['serviceName'] = service_name unless service_name.nil?
925
925
  command.params['rolloutId'] = rollout_id unless rollout_id.nil?
926
- command.query['quotaUser'] = quota_user unless quota_user.nil?
927
926
  command.query['fields'] = fields unless fields.nil?
927
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
928
928
  execute_or_queue_command(command, &block)
929
929
  end
930
930
 
@@ -940,11 +940,11 @@ module Google
940
940
  # The name of the service. See the [overview](/service-management/overview)
941
941
  # for naming requirements. For example: `example.googleapis.com`.
942
942
  # @param [Google::Apis::ServicemanagementV1::Rollout] rollout_object
943
+ # @param [String] fields
944
+ # Selector specifying which fields to include in a partial response.
943
945
  # @param [String] quota_user
944
946
  # Available to use for quota purposes for server-side applications. Can be any
945
947
  # arbitrary string assigned to a user, but should not exceed 40 characters.
946
- # @param [String] fields
947
- # Selector specifying which fields to include in a partial response.
948
948
  # @param [Google::Apis::RequestOptions] options
949
949
  # Request-specific options
950
950
  #
@@ -957,15 +957,15 @@ module Google
957
957
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
958
958
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
959
959
  # @raise [Google::Apis::AuthorizationError] Authorization is required
960
- def create_service_rollout(service_name, rollout_object = nil, quota_user: nil, fields: nil, options: nil, &block)
960
+ def create_service_rollout(service_name, rollout_object = nil, fields: nil, quota_user: nil, options: nil, &block)
961
961
  command = make_simple_command(:post, 'v1/services/{serviceName}/rollouts', options)
962
962
  command.request_representation = Google::Apis::ServicemanagementV1::Rollout::Representation
963
963
  command.request_object = rollout_object
964
964
  command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
965
965
  command.response_class = Google::Apis::ServicemanagementV1::Operation
966
966
  command.params['serviceName'] = service_name unless service_name.nil?
967
- command.query['quotaUser'] = quota_user unless quota_user.nil?
968
967
  command.query['fields'] = fields unless fields.nil?
968
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
969
969
  execute_or_queue_command(command, &block)
970
970
  end
971
971