google-api-client 0.11.3 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (397) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +51 -0
  3. data/api_names.yaml +32317 -34465
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  13. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  14. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  15. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  18. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  19. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  22. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  23. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  24. data/generated/google/apis/analytics_v3/service.rb +82 -82
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
  27. data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
  28. data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
  29. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  30. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  31. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  32. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  33. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  34. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  35. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  36. data/generated/google/apis/appengine_v1.rb +1 -1
  37. data/generated/google/apis/appengine_v1/classes.rb +825 -817
  38. data/generated/google/apis/appengine_v1/representations.rb +185 -184
  39. data/generated/google/apis/appengine_v1/service.rb +220 -216
  40. data/generated/google/apis/appstate_v1.rb +1 -1
  41. data/generated/google/apis/bigquery_v2.rb +1 -1
  42. data/generated/google/apis/bigquery_v2/classes.rb +9 -7
  43. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  44. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  45. data/generated/google/apis/blogger_v3/service.rb +3 -3
  46. data/generated/google/apis/books_v1/classes.rb +55 -55
  47. data/generated/google/apis/books_v1/representations.rb +67 -67
  48. data/generated/google/apis/books_v1/service.rb +82 -82
  49. data/generated/google/apis/calendar_v3.rb +1 -1
  50. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  51. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  52. data/generated/google/apis/calendar_v3/service.rb +2 -2
  53. data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
  54. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  55. data/generated/google/apis/civicinfo_v2/service.rb +8 -8
  56. data/generated/google/apis/classroom_v1.rb +24 -24
  57. data/generated/google/apis/classroom_v1/classes.rb +381 -381
  58. data/generated/google/apis/classroom_v1/representations.rb +108 -108
  59. data/generated/google/apis/classroom_v1/service.rb +503 -503
  60. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  61. data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
  62. data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
  63. data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
  64. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  65. data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
  66. data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
  67. data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
  68. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  69. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
  70. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
  71. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
  72. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  73. data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
  74. data/generated/google/apis/cloudkms_v1.rb +3 -3
  75. data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
  76. data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
  77. data/generated/google/apis/cloudkms_v1/service.rb +224 -224
  78. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  79. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
  80. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
  81. data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
  85. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  88. data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
  89. data/generated/google/apis/compute_beta.rb +1 -1
  90. data/generated/google/apis/compute_beta/classes.rb +57 -15
  91. data/generated/google/apis/compute_beta/representations.rb +30 -14
  92. data/generated/google/apis/compute_beta/service.rb +52 -52
  93. data/generated/google/apis/compute_v1.rb +1 -1
  94. data/generated/google/apis/compute_v1/classes.rb +223 -10
  95. data/generated/google/apis/compute_v1/representations.rb +85 -16
  96. data/generated/google/apis/compute_v1/service.rb +327 -51
  97. data/generated/google/apis/container_v1/classes.rb +267 -267
  98. data/generated/google/apis/container_v1/representations.rb +61 -61
  99. data/generated/google/apis/container_v1/service.rb +123 -123
  100. data/generated/google/apis/content_v2.rb +1 -1
  101. data/generated/google/apis/content_v2/classes.rb +71 -71
  102. data/generated/google/apis/content_v2/representations.rb +105 -105
  103. data/generated/google/apis/content_v2/service.rb +120 -120
  104. data/generated/google/apis/dataflow_v1b3.rb +4 -4
  105. data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
  106. data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
  107. data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
  108. data/generated/google/apis/dataproc_v1.rb +1 -1
  109. data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
  110. data/generated/google/apis/dataproc_v1/representations.rb +147 -147
  111. data/generated/google/apis/dataproc_v1/service.rb +309 -305
  112. data/generated/google/apis/datastore_v1.rb +1 -1
  113. data/generated/google/apis/datastore_v1/classes.rb +818 -818
  114. data/generated/google/apis/datastore_v1/representations.rb +151 -151
  115. data/generated/google/apis/datastore_v1/service.rb +62 -62
  116. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  117. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  118. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  119. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  120. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  121. data/generated/google/apis/discovery_v1/service.rb +1 -1
  122. data/generated/google/apis/dns_v1.rb +1 -1
  123. data/generated/google/apis/dns_v1/classes.rb +3 -3
  124. data/generated/google/apis/dns_v1/representations.rb +6 -6
  125. data/generated/google/apis/dns_v1/service.rb +12 -12
  126. data/generated/google/apis/dns_v2beta1.rb +1 -1
  127. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  128. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  129. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  130. data/generated/google/apis/drive_v2/service.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
  136. data/generated/google/apis/firebaserules_v1.rb +1 -1
  137. data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
  138. data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
  139. data/generated/google/apis/firebaserules_v1/service.rb +89 -89
  140. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  141. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  142. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  143. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  144. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  145. data/generated/google/apis/games_management_v1management.rb +1 -1
  146. data/generated/google/apis/games_v1.rb +1 -1
  147. data/generated/google/apis/games_v1/classes.rb +23 -23
  148. data/generated/google/apis/games_v1/representations.rb +43 -43
  149. data/generated/google/apis/games_v1/service.rb +72 -72
  150. data/generated/google/apis/genomics_v1.rb +7 -7
  151. data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
  152. data/generated/google/apis/genomics_v1/representations.rb +298 -298
  153. data/generated/google/apis/genomics_v1/service.rb +1160 -1160
  154. data/generated/google/apis/groupssettings_v1/service.rb +0 -3
  155. data/generated/google/apis/iam_v1.rb +1 -1
  156. data/generated/google/apis/iam_v1/classes.rb +235 -235
  157. data/generated/google/apis/iam_v1/representations.rb +72 -72
  158. data/generated/google/apis/iam_v1/service.rb +189 -189
  159. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  160. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  161. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  162. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  163. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  164. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  165. data/generated/google/apis/language_v1/classes.rb +220 -220
  166. data/generated/google/apis/language_v1/representations.rb +81 -81
  167. data/generated/google/apis/language_v1/service.rb +43 -43
  168. data/generated/google/apis/language_v1beta1/classes.rb +448 -448
  169. data/generated/google/apis/language_v1beta1/representations.rb +106 -106
  170. data/generated/google/apis/language_v1beta1/service.rb +31 -31
  171. data/generated/google/apis/licensing_v1/service.rb +2 -2
  172. data/generated/google/apis/logging_v2/classes.rb +737 -737
  173. data/generated/google/apis/logging_v2/representations.rb +120 -120
  174. data/generated/google/apis/logging_v2/service.rb +479 -479
  175. data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
  176. data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
  177. data/generated/google/apis/logging_v2beta1/service.rb +349 -349
  178. data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
  179. data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
  180. data/generated/google/apis/manufacturers_v1/service.rb +8 -8
  181. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  182. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  183. data/generated/google/apis/mirror_v1/service.rb +20 -20
  184. data/generated/google/apis/ml_v1.rb +1 -1
  185. data/generated/google/apis/ml_v1/classes.rb +1285 -1205
  186. data/generated/google/apis/ml_v1/representations.rb +204 -174
  187. data/generated/google/apis/ml_v1/service.rb +150 -145
  188. data/generated/google/apis/monitoring_v3.rb +1 -1
  189. data/generated/google/apis/monitoring_v3/classes.rb +880 -880
  190. data/generated/google/apis/monitoring_v3/representations.rb +154 -154
  191. data/generated/google/apis/monitoring_v3/service.rb +299 -299
  192. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  193. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  194. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  195. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  196. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  197. data/generated/google/apis/partners_v2.rb +1 -1
  198. data/generated/google/apis/partners_v2/classes.rb +524 -509
  199. data/generated/google/apis/partners_v2/representations.rb +115 -111
  200. data/generated/google/apis/partners_v2/service.rb +287 -287
  201. data/generated/google/apis/people_v1.rb +13 -13
  202. data/generated/google/apis/people_v1/classes.rb +1150 -1150
  203. data/generated/google/apis/people_v1/representations.rb +258 -258
  204. data/generated/google/apis/people_v1/service.rb +7 -7
  205. data/generated/google/apis/plus_domains_v1.rb +1 -1
  206. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  207. data/generated/google/apis/plus_v1.rb +1 -1
  208. data/generated/google/apis/plus_v1/service.rb +1 -1
  209. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  210. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
  211. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
  212. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
  213. data/generated/google/apis/pubsub_v1/classes.rb +228 -228
  214. data/generated/google/apis/pubsub_v1/representations.rb +69 -69
  215. data/generated/google/apis/pubsub_v1/service.rb +182 -182
  216. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  217. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  218. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  219. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  220. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  221. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  222. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  223. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  226. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  227. data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
  228. data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
  229. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  230. data/generated/google/apis/script_v1.rb +9 -9
  231. data/generated/google/apis/script_v1/classes.rb +94 -94
  232. data/generated/google/apis/script_v1/representations.rb +26 -26
  233. data/generated/google/apis/searchconsole_v1.rb +1 -1
  234. data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
  235. data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
  236. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  237. data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
  238. data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
  239. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  240. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  241. data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
  242. data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
  243. data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
  244. data/generated/google/apis/serviceuser_v1.rb +4 -4
  245. data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
  246. data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
  247. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  248. data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
  249. data/generated/google/apis/sheets_v4/representations.rb +324 -324
  250. data/generated/google/apis/sheets_v4/service.rb +49 -49
  251. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  252. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  253. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  254. data/generated/google/apis/slides_v1.rb +4 -4
  255. data/generated/google/apis/slides_v1/classes.rb +2907 -2907
  256. data/generated/google/apis/slides_v1/representations.rb +695 -695
  257. data/generated/google/apis/slides_v1/service.rb +40 -40
  258. data/generated/google/apis/sourcerepo_v1.rb +7 -1
  259. data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
  260. data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
  261. data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
  262. data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
  263. data/generated/google/apis/spanner_v1/representations.rb +205 -205
  264. data/generated/google/apis/spanner_v1/service.rb +525 -525
  265. data/generated/google/apis/speech_v1beta1.rb +1 -1
  266. data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
  267. data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
  268. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  269. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  270. data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
  271. data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
  272. data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
  273. data/generated/google/apis/storage_v1/classes.rb +6 -6
  274. data/generated/google/apis/storage_v1/representations.rb +4 -4
  275. data/generated/google/apis/storage_v1/service.rb +1 -1
  276. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  277. data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
  278. data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
  279. data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
  280. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  281. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  282. data/generated/google/apis/translate_v2.rb +1 -1
  283. data/generated/google/apis/translate_v2/classes.rb +46 -46
  284. data/generated/google/apis/translate_v2/representations.rb +22 -22
  285. data/generated/google/apis/translate_v2/service.rb +81 -74
  286. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  287. data/generated/google/apis/vision_v1/representations.rb +166 -166
  288. data/generated/google/apis/vision_v1/service.rb +6 -6
  289. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  290. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  291. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  292. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  293. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  294. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  295. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  296. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  297. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  298. data/generated/google/apis/youtube_v3/service.rb +80 -80
  299. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  300. data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
  301. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  302. data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
  303. data/google-api-client.gemspec +3 -3
  304. data/lib/google/apis/core/base_service.rb +6 -0
  305. data/lib/google/apis/generator/annotator.rb +2 -2
  306. data/lib/google/apis/generator/model.rb +2 -2
  307. data/lib/google/apis/version.rb +1 -1
  308. metadata +11 -94
  309. data/dl.rb +0 -0
  310. data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
  311. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
  312. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
  313. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
  314. data/generated/google/apis/appengine_v1beta4.rb +0 -35
  315. data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
  316. data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
  317. data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
  318. data/generated/google/apis/appengine_v1beta5.rb +0 -40
  319. data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
  320. data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
  321. data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
  322. data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
  323. data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
  324. data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
  325. data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
  326. data/generated/google/apis/classroom_v1beta1.rb +0 -49
  327. data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
  328. data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
  329. data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
  330. data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
  331. data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
  332. data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
  333. data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
  334. data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
  335. data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
  336. data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
  337. data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
  338. data/generated/google/apis/container_v1beta1.rb +0 -35
  339. data/generated/google/apis/container_v1beta1/classes.rb +0 -466
  340. data/generated/google/apis/container_v1beta1/representations.rb +0 -177
  341. data/generated/google/apis/container_v1beta1/service.rb +0 -394
  342. data/generated/google/apis/coordinate_v1.rb +0 -37
  343. data/generated/google/apis/coordinate_v1/classes.rb +0 -669
  344. data/generated/google/apis/coordinate_v1/representations.rb +0 -321
  345. data/generated/google/apis/coordinate_v1/service.rb +0 -678
  346. data/generated/google/apis/datastore_v1beta2.rb +0 -40
  347. data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
  348. data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
  349. data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
  350. data/generated/google/apis/datastore_v1beta3.rb +0 -38
  351. data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
  352. data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
  353. data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
  354. data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
  355. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
  356. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
  357. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
  358. data/generated/google/apis/dfareporting_v2_1.rb +0 -37
  359. data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
  360. data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
  361. data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
  362. data/generated/google/apis/dfareporting_v2_3.rb +0 -37
  363. data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
  364. data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
  365. data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
  366. data/generated/google/apis/dfareporting_v2_5.rb +0 -40
  367. data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
  368. data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
  369. data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
  370. data/generated/google/apis/dfareporting_v2_6.rb +0 -40
  371. data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
  372. data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
  373. data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
  374. data/generated/google/apis/gan_v1beta1.rb +0 -31
  375. data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
  376. data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
  377. data/generated/google/apis/gan_v1beta1/service.rb +0 -682
  378. data/generated/google/apis/genomics_v1beta2.rb +0 -46
  379. data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
  380. data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
  381. data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
  382. data/generated/google/apis/logging_v1beta3.rb +0 -47
  383. data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
  384. data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
  385. data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
  386. data/generated/google/apis/manager_v1beta2.rb +0 -53
  387. data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
  388. data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
  389. data/generated/google/apis/manager_v1beta2/service.rb +0 -372
  390. data/generated/google/apis/pubsub_v1beta2.rb +0 -37
  391. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
  392. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
  393. data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
  394. data/generated/google/apis/tracing_v1.rb +0 -40
  395. data/generated/google/apis/tracing_v1/classes.rb +0 -664
  396. data/generated/google/apis/tracing_v1/representations.rb +0 -279
  397. data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -1,296 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module AutoscalerV1beta2
24
-
25
- class Autoscaler
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
- class ListAutoscalerResponse
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
- class AutoscalingPolicy
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
- class AutoscalingPolicyCpuUtilization
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
- class AutoscalingPolicyCustomMetricUtilization
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
- class AutoscalingPolicyLoadBalancingUtilization
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
- class DeprecationStatus
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
- class Operation
68
- class Representation < Google::Apis::Core::JsonRepresentation; end
69
-
70
- class Error
71
- class Representation < Google::Apis::Core::JsonRepresentation; end
72
-
73
- class Error
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
- include Google::Apis::Core::JsonObjectSupport
80
- end
81
-
82
- class Warning
83
- class Representation < Google::Apis::Core::JsonRepresentation; end
84
-
85
- class Datum
86
- class Representation < Google::Apis::Core::JsonRepresentation; end
87
-
88
- include Google::Apis::Core::JsonObjectSupport
89
- end
90
-
91
- include Google::Apis::Core::JsonObjectSupport
92
- end
93
-
94
- include Google::Apis::Core::JsonObjectSupport
95
- end
96
-
97
- class OperationList
98
- class Representation < Google::Apis::Core::JsonRepresentation; end
99
-
100
- include Google::Apis::Core::JsonObjectSupport
101
- end
102
-
103
- class Zone
104
- class Representation < Google::Apis::Core::JsonRepresentation; end
105
-
106
- include Google::Apis::Core::JsonObjectSupport
107
- end
108
-
109
- class ZoneList
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
- class Autoscaler
116
- # @private
117
- class Representation < Google::Apis::Core::JsonRepresentation
118
- property :autoscaling_policy, as: 'autoscalingPolicy', class: Google::Apis::AutoscalerV1beta2::AutoscalingPolicy, decorator: Google::Apis::AutoscalerV1beta2::AutoscalingPolicy::Representation
119
-
120
- property :creation_timestamp, as: 'creationTimestamp'
121
- property :description, as: 'description'
122
- property :id, as: 'id'
123
- property :kind, as: 'kind'
124
- property :name, as: 'name'
125
- property :self_link, as: 'selfLink'
126
- property :target, as: 'target'
127
- end
128
- end
129
-
130
- class ListAutoscalerResponse
131
- # @private
132
- class Representation < Google::Apis::Core::JsonRepresentation
133
- collection :items, as: 'items', class: Google::Apis::AutoscalerV1beta2::Autoscaler, decorator: Google::Apis::AutoscalerV1beta2::Autoscaler::Representation
134
-
135
- property :kind, as: 'kind'
136
- property :next_page_token, as: 'nextPageToken'
137
- end
138
- end
139
-
140
- class AutoscalingPolicy
141
- # @private
142
- class Representation < Google::Apis::Core::JsonRepresentation
143
- property :cool_down_period_sec, as: 'coolDownPeriodSec'
144
- property :cpu_utilization, as: 'cpuUtilization', class: Google::Apis::AutoscalerV1beta2::AutoscalingPolicyCpuUtilization, decorator: Google::Apis::AutoscalerV1beta2::AutoscalingPolicyCpuUtilization::Representation
145
-
146
- collection :custom_metric_utilizations, as: 'customMetricUtilizations', class: Google::Apis::AutoscalerV1beta2::AutoscalingPolicyCustomMetricUtilization, decorator: Google::Apis::AutoscalerV1beta2::AutoscalingPolicyCustomMetricUtilization::Representation
147
-
148
- property :load_balancing_utilization, as: 'loadBalancingUtilization', class: Google::Apis::AutoscalerV1beta2::AutoscalingPolicyLoadBalancingUtilization, decorator: Google::Apis::AutoscalerV1beta2::AutoscalingPolicyLoadBalancingUtilization::Representation
149
-
150
- property :max_num_replicas, as: 'maxNumReplicas'
151
- property :min_num_replicas, as: 'minNumReplicas'
152
- end
153
- end
154
-
155
- class AutoscalingPolicyCpuUtilization
156
- # @private
157
- class Representation < Google::Apis::Core::JsonRepresentation
158
- property :utilization_target, as: 'utilizationTarget'
159
- end
160
- end
161
-
162
- class AutoscalingPolicyCustomMetricUtilization
163
- # @private
164
- class Representation < Google::Apis::Core::JsonRepresentation
165
- property :metric, as: 'metric'
166
- property :utilization_target, as: 'utilizationTarget'
167
- property :utilization_target_type, as: 'utilizationTargetType'
168
- end
169
- end
170
-
171
- class AutoscalingPolicyLoadBalancingUtilization
172
- # @private
173
- class Representation < Google::Apis::Core::JsonRepresentation
174
- property :utilization_target, as: 'utilizationTarget'
175
- end
176
- end
177
-
178
- class DeprecationStatus
179
- # @private
180
- class Representation < Google::Apis::Core::JsonRepresentation
181
- property :deleted, as: 'deleted'
182
- property :deprecated, as: 'deprecated'
183
- property :obsolete, as: 'obsolete'
184
- property :replacement, as: 'replacement'
185
- property :state, as: 'state'
186
- end
187
- end
188
-
189
- class Operation
190
- # @private
191
- class Representation < Google::Apis::Core::JsonRepresentation
192
- property :client_operation_id, as: 'clientOperationId'
193
- property :creation_timestamp, as: 'creationTimestamp'
194
- property :description, as: 'description'
195
- property :end_time, as: 'endTime'
196
- property :error, as: 'error', class: Google::Apis::AutoscalerV1beta2::Operation::Error, decorator: Google::Apis::AutoscalerV1beta2::Operation::Error::Representation
197
-
198
- property :http_error_message, as: 'httpErrorMessage'
199
- property :http_error_status_code, as: 'httpErrorStatusCode'
200
- property :id, as: 'id'
201
- property :insert_time, as: 'insertTime'
202
- property :kind, as: 'kind'
203
- property :name, as: 'name'
204
- property :operation_type, as: 'operationType'
205
- property :progress, as: 'progress'
206
- property :region, as: 'region'
207
- property :self_link, as: 'selfLink'
208
- property :start_time, as: 'startTime'
209
- property :status, as: 'status'
210
- property :status_message, as: 'statusMessage'
211
- property :target_id, as: 'targetId'
212
- property :target_link, as: 'targetLink'
213
- property :user, as: 'user'
214
- collection :warnings, as: 'warnings', class: Google::Apis::AutoscalerV1beta2::Operation::Warning, decorator: Google::Apis::AutoscalerV1beta2::Operation::Warning::Representation
215
-
216
- property :zone, as: 'zone'
217
- end
218
-
219
- class Error
220
- # @private
221
- class Representation < Google::Apis::Core::JsonRepresentation
222
- collection :errors, as: 'errors', class: Google::Apis::AutoscalerV1beta2::Operation::Error::Error, decorator: Google::Apis::AutoscalerV1beta2::Operation::Error::Error::Representation
223
-
224
- end
225
-
226
- class Error
227
- # @private
228
- class Representation < Google::Apis::Core::JsonRepresentation
229
- property :code, as: 'code'
230
- property :location, as: 'location'
231
- property :message, as: 'message'
232
- end
233
- end
234
- end
235
-
236
- class Warning
237
- # @private
238
- class Representation < Google::Apis::Core::JsonRepresentation
239
- property :code, as: 'code'
240
- collection :data, as: 'data', class: Google::Apis::AutoscalerV1beta2::Operation::Warning::Datum, decorator: Google::Apis::AutoscalerV1beta2::Operation::Warning::Datum::Representation
241
-
242
- property :message, as: 'message'
243
- end
244
-
245
- class Datum
246
- # @private
247
- class Representation < Google::Apis::Core::JsonRepresentation
248
- property :key, as: 'key'
249
- property :value, as: 'value'
250
- end
251
- end
252
- end
253
- end
254
-
255
- class OperationList
256
- # @private
257
- class Representation < Google::Apis::Core::JsonRepresentation
258
- property :id, as: 'id'
259
- collection :items, as: 'items', class: Google::Apis::AutoscalerV1beta2::Operation, decorator: Google::Apis::AutoscalerV1beta2::Operation::Representation
260
-
261
- property :kind, as: 'kind'
262
- property :next_page_token, as: 'nextPageToken'
263
- property :self_link, as: 'selfLink'
264
- end
265
- end
266
-
267
- class Zone
268
- # @private
269
- class Representation < Google::Apis::Core::JsonRepresentation
270
- property :creation_timestamp, as: 'creationTimestamp'
271
- property :deprecated, as: 'deprecated', class: Google::Apis::AutoscalerV1beta2::DeprecationStatus, decorator: Google::Apis::AutoscalerV1beta2::DeprecationStatus::Representation
272
-
273
- property :description, as: 'description'
274
- property :id, as: 'id'
275
- property :kind, as: 'kind'
276
- property :name, as: 'name'
277
- property :region, as: 'region'
278
- property :self_link, as: 'selfLink'
279
- property :status, as: 'status'
280
- end
281
- end
282
-
283
- class ZoneList
284
- # @private
285
- class Representation < Google::Apis::Core::JsonRepresentation
286
- property :id, as: 'id'
287
- collection :items, as: 'items', class: Google::Apis::AutoscalerV1beta2::Zone, decorator: Google::Apis::AutoscalerV1beta2::Zone::Representation
288
-
289
- property :kind, as: 'kind'
290
- property :next_page_token, as: 'nextPageToken'
291
- property :self_link, as: 'selfLink'
292
- end
293
- end
294
- end
295
- end
296
- end
@@ -1,478 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'google/apis/core/base_service'
16
- require 'google/apis/core/json_representation'
17
- require 'google/apis/core/hashable'
18
- require 'google/apis/errors'
19
-
20
- module Google
21
- module Apis
22
- module AutoscalerV1beta2
23
- # Google Compute Engine Autoscaler API
24
- #
25
- # The Google Compute Engine Autoscaler API provides autoscaling for groups of
26
- # Cloud VMs.
27
- #
28
- # @example
29
- # require 'google/apis/autoscaler_v1beta2'
30
- #
31
- # Autoscaler = Google::Apis::AutoscalerV1beta2 # Alias the module
32
- # service = Autoscaler::AutoscalerService.new
33
- #
34
- # @see http://developers.google.com/compute/docs/autoscaler
35
- class AutoscalerService < Google::Apis::Core::BaseService
36
- # @return [String]
37
- # API key. Your API key identifies your project and provides you with API access,
38
- # quota, and reports. Required unless you provide an OAuth 2.0 token.
39
- attr_accessor :key
40
-
41
- # @return [String]
42
- # Available to use for quota purposes for server-side applications. Can be any
43
- # arbitrary string assigned to a user, but should not exceed 40 characters.
44
- # Overrides userIp if both are provided.
45
- attr_accessor :quota_user
46
-
47
- # @return [String]
48
- # IP address of the site where the request originates. Use this if you want to
49
- # enforce per-user limits.
50
- attr_accessor :user_ip
51
-
52
- def initialize
53
- super('https://www.googleapis.com/', 'autoscaler/v1beta2/')
54
- end
55
-
56
- # Deletes the specified Autoscaler resource.
57
- # @param [String] project
58
- # Project ID of Autoscaler resource.
59
- # @param [String] zone
60
- # Zone name of Autoscaler resource.
61
- # @param [String] autoscaler
62
- # Name of the Autoscaler resource.
63
- # @param [String] fields
64
- # Selector specifying which fields to include in a partial response.
65
- # @param [String] quota_user
66
- # Available to use for quota purposes for server-side applications. Can be any
67
- # arbitrary string assigned to a user, but should not exceed 40 characters.
68
- # Overrides userIp if both are provided.
69
- # @param [String] user_ip
70
- # IP address of the site where the request originates. Use this if you want to
71
- # enforce per-user limits.
72
- # @param [Google::Apis::RequestOptions] options
73
- # Request-specific options
74
- #
75
- # @yield [result, err] Result & error if block supplied
76
- # @yieldparam result [Google::Apis::AutoscalerV1beta2::Operation] parsed result object
77
- # @yieldparam err [StandardError] error object if request failed
78
- #
79
- # @return [Google::Apis::AutoscalerV1beta2::Operation]
80
- #
81
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
82
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
83
- # @raise [Google::Apis::AuthorizationError] Authorization is required
84
- def delete_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
85
- command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', options)
86
- command.response_representation = Google::Apis::AutoscalerV1beta2::Operation::Representation
87
- command.response_class = Google::Apis::AutoscalerV1beta2::Operation
88
- command.params['project'] = project unless project.nil?
89
- command.params['zone'] = zone unless zone.nil?
90
- command.params['autoscaler'] = autoscaler unless autoscaler.nil?
91
- command.query['fields'] = fields unless fields.nil?
92
- command.query['quotaUser'] = quota_user unless quota_user.nil?
93
- command.query['userIp'] = user_ip unless user_ip.nil?
94
- execute_or_queue_command(command, &block)
95
- end
96
-
97
- # Gets the specified Autoscaler resource.
98
- # @param [String] project
99
- # Project ID of Autoscaler resource.
100
- # @param [String] zone
101
- # Zone name of Autoscaler resource.
102
- # @param [String] autoscaler
103
- # Name of the Autoscaler resource.
104
- # @param [String] fields
105
- # Selector specifying which fields to include in a partial response.
106
- # @param [String] quota_user
107
- # Available to use for quota purposes for server-side applications. Can be any
108
- # arbitrary string assigned to a user, but should not exceed 40 characters.
109
- # Overrides userIp if both are provided.
110
- # @param [String] user_ip
111
- # IP address of the site where the request originates. Use this if you want to
112
- # enforce per-user limits.
113
- # @param [Google::Apis::RequestOptions] options
114
- # Request-specific options
115
- #
116
- # @yield [result, err] Result & error if block supplied
117
- # @yieldparam result [Google::Apis::AutoscalerV1beta2::Autoscaler] parsed result object
118
- # @yieldparam err [StandardError] error object if request failed
119
- #
120
- # @return [Google::Apis::AutoscalerV1beta2::Autoscaler]
121
- #
122
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
123
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
124
- # @raise [Google::Apis::AuthorizationError] Authorization is required
125
- def get_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
126
- command = make_simple_command(:get, 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', options)
127
- command.response_representation = Google::Apis::AutoscalerV1beta2::Autoscaler::Representation
128
- command.response_class = Google::Apis::AutoscalerV1beta2::Autoscaler
129
- command.params['project'] = project unless project.nil?
130
- command.params['zone'] = zone unless zone.nil?
131
- command.params['autoscaler'] = autoscaler unless autoscaler.nil?
132
- command.query['fields'] = fields unless fields.nil?
133
- command.query['quotaUser'] = quota_user unless quota_user.nil?
134
- command.query['userIp'] = user_ip unless user_ip.nil?
135
- execute_or_queue_command(command, &block)
136
- end
137
-
138
- # Adds new Autoscaler resource.
139
- # @param [String] project
140
- # Project ID of Autoscaler resource.
141
- # @param [String] zone
142
- # Zone name of Autoscaler resource.
143
- # @param [Google::Apis::AutoscalerV1beta2::Autoscaler] autoscaler_object
144
- # @param [String] fields
145
- # Selector specifying which fields to include in a partial response.
146
- # @param [String] quota_user
147
- # Available to use for quota purposes for server-side applications. Can be any
148
- # arbitrary string assigned to a user, but should not exceed 40 characters.
149
- # Overrides userIp if both are provided.
150
- # @param [String] user_ip
151
- # IP address of the site where the request originates. Use this if you want to
152
- # enforce per-user limits.
153
- # @param [Google::Apis::RequestOptions] options
154
- # Request-specific options
155
- #
156
- # @yield [result, err] Result & error if block supplied
157
- # @yieldparam result [Google::Apis::AutoscalerV1beta2::Operation] parsed result object
158
- # @yieldparam err [StandardError] error object if request failed
159
- #
160
- # @return [Google::Apis::AutoscalerV1beta2::Operation]
161
- #
162
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
163
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
164
- # @raise [Google::Apis::AuthorizationError] Authorization is required
165
- def insert_autoscaler(project, zone, autoscaler_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
166
- command = make_simple_command(:post, 'projects/{project}/zones/{zone}/autoscalers', options)
167
- command.request_representation = Google::Apis::AutoscalerV1beta2::Autoscaler::Representation
168
- command.request_object = autoscaler_object
169
- command.response_representation = Google::Apis::AutoscalerV1beta2::Operation::Representation
170
- command.response_class = Google::Apis::AutoscalerV1beta2::Operation
171
- command.params['project'] = project unless project.nil?
172
- command.params['zone'] = zone unless zone.nil?
173
- command.query['fields'] = fields unless fields.nil?
174
- command.query['quotaUser'] = quota_user unless quota_user.nil?
175
- command.query['userIp'] = user_ip unless user_ip.nil?
176
- execute_or_queue_command(command, &block)
177
- end
178
-
179
- # Lists all Autoscaler resources in this zone.
180
- # @param [String] project
181
- # Project ID of Autoscaler resource.
182
- # @param [String] zone
183
- # Zone name of Autoscaler resource.
184
- # @param [String] filter
185
- # @param [Fixnum] max_results
186
- # @param [String] page_token
187
- # @param [String] fields
188
- # Selector specifying which fields to include in a partial response.
189
- # @param [String] quota_user
190
- # Available to use for quota purposes for server-side applications. Can be any
191
- # arbitrary string assigned to a user, but should not exceed 40 characters.
192
- # Overrides userIp if both are provided.
193
- # @param [String] user_ip
194
- # IP address of the site where the request originates. Use this if you want to
195
- # enforce per-user limits.
196
- # @param [Google::Apis::RequestOptions] options
197
- # Request-specific options
198
- #
199
- # @yield [result, err] Result & error if block supplied
200
- # @yieldparam result [Google::Apis::AutoscalerV1beta2::ListAutoscalerResponse] parsed result object
201
- # @yieldparam err [StandardError] error object if request failed
202
- #
203
- # @return [Google::Apis::AutoscalerV1beta2::ListAutoscalerResponse]
204
- #
205
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
206
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
207
- # @raise [Google::Apis::AuthorizationError] Authorization is required
208
- def list_autoscalers(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
209
- command = make_simple_command(:get, 'projects/{project}/zones/{zone}/autoscalers', options)
210
- command.response_representation = Google::Apis::AutoscalerV1beta2::ListAutoscalerResponse::Representation
211
- command.response_class = Google::Apis::AutoscalerV1beta2::ListAutoscalerResponse
212
- command.params['project'] = project unless project.nil?
213
- command.params['zone'] = zone unless zone.nil?
214
- command.query['filter'] = filter unless filter.nil?
215
- command.query['maxResults'] = max_results unless max_results.nil?
216
- command.query['pageToken'] = page_token unless page_token.nil?
217
- command.query['fields'] = fields unless fields.nil?
218
- command.query['quotaUser'] = quota_user unless quota_user.nil?
219
- command.query['userIp'] = user_ip unless user_ip.nil?
220
- execute_or_queue_command(command, &block)
221
- end
222
-
223
- # Update the entire content of the Autoscaler resource. This method supports
224
- # patch semantics.
225
- # @param [String] project
226
- # Project ID of Autoscaler resource.
227
- # @param [String] zone
228
- # Zone name of Autoscaler resource.
229
- # @param [String] autoscaler
230
- # Name of the Autoscaler resource.
231
- # @param [Google::Apis::AutoscalerV1beta2::Autoscaler] autoscaler_object
232
- # @param [String] fields
233
- # Selector specifying which fields to include in a partial response.
234
- # @param [String] quota_user
235
- # Available to use for quota purposes for server-side applications. Can be any
236
- # arbitrary string assigned to a user, but should not exceed 40 characters.
237
- # Overrides userIp if both are provided.
238
- # @param [String] user_ip
239
- # IP address of the site where the request originates. Use this if you want to
240
- # enforce per-user limits.
241
- # @param [Google::Apis::RequestOptions] options
242
- # Request-specific options
243
- #
244
- # @yield [result, err] Result & error if block supplied
245
- # @yieldparam result [Google::Apis::AutoscalerV1beta2::Operation] parsed result object
246
- # @yieldparam err [StandardError] error object if request failed
247
- #
248
- # @return [Google::Apis::AutoscalerV1beta2::Operation]
249
- #
250
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
251
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
252
- # @raise [Google::Apis::AuthorizationError] Authorization is required
253
- def patch_autoscaler(project, zone, autoscaler, autoscaler_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
254
- command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', options)
255
- command.request_representation = Google::Apis::AutoscalerV1beta2::Autoscaler::Representation
256
- command.request_object = autoscaler_object
257
- command.response_representation = Google::Apis::AutoscalerV1beta2::Operation::Representation
258
- command.response_class = Google::Apis::AutoscalerV1beta2::Operation
259
- command.params['project'] = project unless project.nil?
260
- command.params['zone'] = zone unless zone.nil?
261
- command.params['autoscaler'] = autoscaler unless autoscaler.nil?
262
- command.query['fields'] = fields unless fields.nil?
263
- command.query['quotaUser'] = quota_user unless quota_user.nil?
264
- command.query['userIp'] = user_ip unless user_ip.nil?
265
- execute_or_queue_command(command, &block)
266
- end
267
-
268
- # Update the entire content of the Autoscaler resource.
269
- # @param [String] project
270
- # Project ID of Autoscaler resource.
271
- # @param [String] zone
272
- # Zone name of Autoscaler resource.
273
- # @param [String] autoscaler
274
- # Name of the Autoscaler resource.
275
- # @param [Google::Apis::AutoscalerV1beta2::Autoscaler] autoscaler_object
276
- # @param [String] fields
277
- # Selector specifying which fields to include in a partial response.
278
- # @param [String] quota_user
279
- # Available to use for quota purposes for server-side applications. Can be any
280
- # arbitrary string assigned to a user, but should not exceed 40 characters.
281
- # Overrides userIp if both are provided.
282
- # @param [String] user_ip
283
- # IP address of the site where the request originates. Use this if you want to
284
- # enforce per-user limits.
285
- # @param [Google::Apis::RequestOptions] options
286
- # Request-specific options
287
- #
288
- # @yield [result, err] Result & error if block supplied
289
- # @yieldparam result [Google::Apis::AutoscalerV1beta2::Operation] parsed result object
290
- # @yieldparam err [StandardError] error object if request failed
291
- #
292
- # @return [Google::Apis::AutoscalerV1beta2::Operation]
293
- #
294
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
295
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
296
- # @raise [Google::Apis::AuthorizationError] Authorization is required
297
- def update_autoscaler(project, zone, autoscaler, autoscaler_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
298
- command = make_simple_command(:put, 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', options)
299
- command.request_representation = Google::Apis::AutoscalerV1beta2::Autoscaler::Representation
300
- command.request_object = autoscaler_object
301
- command.response_representation = Google::Apis::AutoscalerV1beta2::Operation::Representation
302
- command.response_class = Google::Apis::AutoscalerV1beta2::Operation
303
- command.params['project'] = project unless project.nil?
304
- command.params['zone'] = zone unless zone.nil?
305
- command.params['autoscaler'] = autoscaler unless autoscaler.nil?
306
- command.query['fields'] = fields unless fields.nil?
307
- command.query['quotaUser'] = quota_user unless quota_user.nil?
308
- command.query['userIp'] = user_ip unless user_ip.nil?
309
- execute_or_queue_command(command, &block)
310
- end
311
-
312
- # Deletes the specified zone-specific operation resource.
313
- # @param [String] project
314
- # @param [String] zone
315
- # @param [String] operation
316
- # @param [String] fields
317
- # Selector specifying which fields to include in a partial response.
318
- # @param [String] quota_user
319
- # Available to use for quota purposes for server-side applications. Can be any
320
- # arbitrary string assigned to a user, but should not exceed 40 characters.
321
- # Overrides userIp if both are provided.
322
- # @param [String] user_ip
323
- # IP address of the site where the request originates. Use this if you want to
324
- # enforce per-user limits.
325
- # @param [Google::Apis::RequestOptions] options
326
- # Request-specific options
327
- #
328
- # @yield [result, err] Result & error if block supplied
329
- # @yieldparam result [NilClass] No result returned for this method
330
- # @yieldparam err [StandardError] error object if request failed
331
- #
332
- # @return [void]
333
- #
334
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
335
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
336
- # @raise [Google::Apis::AuthorizationError] Authorization is required
337
- def delete_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
338
- command = make_simple_command(:delete, '{project}/zones/{zone}/operations/{operation}', options)
339
- command.params['project'] = project unless project.nil?
340
- command.params['zone'] = zone unless zone.nil?
341
- command.params['operation'] = operation unless operation.nil?
342
- command.query['fields'] = fields unless fields.nil?
343
- command.query['quotaUser'] = quota_user unless quota_user.nil?
344
- command.query['userIp'] = user_ip unless user_ip.nil?
345
- execute_or_queue_command(command, &block)
346
- end
347
-
348
- # Retrieves the specified zone-specific operation resource.
349
- # @param [String] project
350
- # @param [String] zone
351
- # @param [String] operation
352
- # @param [String] fields
353
- # Selector specifying which fields to include in a partial response.
354
- # @param [String] quota_user
355
- # Available to use for quota purposes for server-side applications. Can be any
356
- # arbitrary string assigned to a user, but should not exceed 40 characters.
357
- # Overrides userIp if both are provided.
358
- # @param [String] user_ip
359
- # IP address of the site where the request originates. Use this if you want to
360
- # enforce per-user limits.
361
- # @param [Google::Apis::RequestOptions] options
362
- # Request-specific options
363
- #
364
- # @yield [result, err] Result & error if block supplied
365
- # @yieldparam result [Google::Apis::AutoscalerV1beta2::Operation] parsed result object
366
- # @yieldparam err [StandardError] error object if request failed
367
- #
368
- # @return [Google::Apis::AutoscalerV1beta2::Operation]
369
- #
370
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
371
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
372
- # @raise [Google::Apis::AuthorizationError] Authorization is required
373
- def get_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
374
- command = make_simple_command(:get, '{project}/zones/{zone}/operations/{operation}', options)
375
- command.response_representation = Google::Apis::AutoscalerV1beta2::Operation::Representation
376
- command.response_class = Google::Apis::AutoscalerV1beta2::Operation
377
- command.params['project'] = project unless project.nil?
378
- command.params['zone'] = zone unless zone.nil?
379
- command.params['operation'] = operation unless operation.nil?
380
- command.query['fields'] = fields unless fields.nil?
381
- command.query['quotaUser'] = quota_user unless quota_user.nil?
382
- command.query['userIp'] = user_ip unless user_ip.nil?
383
- execute_or_queue_command(command, &block)
384
- end
385
-
386
- # Retrieves the list of operation resources contained within the specified zone.
387
- # @param [String] project
388
- # @param [String] zone
389
- # @param [String] filter
390
- # @param [Fixnum] max_results
391
- # @param [String] page_token
392
- # @param [String] fields
393
- # Selector specifying which fields to include in a partial response.
394
- # @param [String] quota_user
395
- # Available to use for quota purposes for server-side applications. Can be any
396
- # arbitrary string assigned to a user, but should not exceed 40 characters.
397
- # Overrides userIp if both are provided.
398
- # @param [String] user_ip
399
- # IP address of the site where the request originates. Use this if you want to
400
- # enforce per-user limits.
401
- # @param [Google::Apis::RequestOptions] options
402
- # Request-specific options
403
- #
404
- # @yield [result, err] Result & error if block supplied
405
- # @yieldparam result [Google::Apis::AutoscalerV1beta2::OperationList] parsed result object
406
- # @yieldparam err [StandardError] error object if request failed
407
- #
408
- # @return [Google::Apis::AutoscalerV1beta2::OperationList]
409
- #
410
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
411
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
412
- # @raise [Google::Apis::AuthorizationError] Authorization is required
413
- def list_zone_operations(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
414
- command = make_simple_command(:get, '{project}/zones/{zone}/operations', options)
415
- command.response_representation = Google::Apis::AutoscalerV1beta2::OperationList::Representation
416
- command.response_class = Google::Apis::AutoscalerV1beta2::OperationList
417
- command.params['project'] = project unless project.nil?
418
- command.params['zone'] = zone unless zone.nil?
419
- command.query['filter'] = filter unless filter.nil?
420
- command.query['maxResults'] = max_results unless max_results.nil?
421
- command.query['pageToken'] = page_token unless page_token.nil?
422
- command.query['fields'] = fields unless fields.nil?
423
- command.query['quotaUser'] = quota_user unless quota_user.nil?
424
- command.query['userIp'] = user_ip unless user_ip.nil?
425
- execute_or_queue_command(command, &block)
426
- end
427
-
428
- #
429
- # @param [String] filter
430
- # @param [Fixnum] max_results
431
- # @param [String] page_token
432
- # @param [String] project
433
- # @param [String] fields
434
- # Selector specifying which fields to include in a partial response.
435
- # @param [String] quota_user
436
- # Available to use for quota purposes for server-side applications. Can be any
437
- # arbitrary string assigned to a user, but should not exceed 40 characters.
438
- # Overrides userIp if both are provided.
439
- # @param [String] user_ip
440
- # IP address of the site where the request originates. Use this if you want to
441
- # enforce per-user limits.
442
- # @param [Google::Apis::RequestOptions] options
443
- # Request-specific options
444
- #
445
- # @yield [result, err] Result & error if block supplied
446
- # @yieldparam result [Google::Apis::AutoscalerV1beta2::ZoneList] parsed result object
447
- # @yieldparam err [StandardError] error object if request failed
448
- #
449
- # @return [Google::Apis::AutoscalerV1beta2::ZoneList]
450
- #
451
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
452
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
453
- # @raise [Google::Apis::AuthorizationError] Authorization is required
454
- def list_zones(filter: nil, max_results: nil, page_token: nil, project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
455
- command = make_simple_command(:get, 'zones', options)
456
- command.response_representation = Google::Apis::AutoscalerV1beta2::ZoneList::Representation
457
- command.response_class = Google::Apis::AutoscalerV1beta2::ZoneList
458
- command.query['filter'] = filter unless filter.nil?
459
- command.query['maxResults'] = max_results unless max_results.nil?
460
- command.query['pageToken'] = page_token unless page_token.nil?
461
- command.query['project'] = project unless project.nil?
462
- command.query['fields'] = fields unless fields.nil?
463
- command.query['quotaUser'] = quota_user unless quota_user.nil?
464
- command.query['userIp'] = user_ip unless user_ip.nil?
465
- execute_or_queue_command(command, &block)
466
- end
467
-
468
- protected
469
-
470
- def apply_command_defaults(command)
471
- command.query['key'] = key unless key.nil?
472
- command.query['quotaUser'] = quota_user unless quota_user.nil?
473
- command.query['userIp'] = user_ip unless user_ip.nil?
474
- end
475
- end
476
- end
477
- end
478
- end