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,306 +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 DeploymentmanagerV2beta2
24
-
25
- class Deployment
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
- end
28
-
29
- class DeploymentUpdate
30
- class Representation < Google::Apis::Core::JsonRepresentation; end
31
- end
32
-
33
- class ListDeploymentsResponse
34
- class Representation < Google::Apis::Core::JsonRepresentation; end
35
- end
36
-
37
- class ImportFile
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
- end
40
-
41
- class Manifest
42
- class Representation < Google::Apis::Core::JsonRepresentation; end
43
- end
44
-
45
- class ListManifestsResponse
46
- class Representation < Google::Apis::Core::JsonRepresentation; end
47
- end
48
-
49
- class Operation
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- class Error
53
- class Representation < Google::Apis::Core::JsonRepresentation; end
54
-
55
- class Error
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
- end
58
- end
59
-
60
- class Warning
61
- class Representation < Google::Apis::Core::JsonRepresentation; end
62
-
63
- class Datum
64
- class Representation < Google::Apis::Core::JsonRepresentation; end
65
- end
66
- end
67
- end
68
-
69
- class ListOperationsResponse
70
- class Representation < Google::Apis::Core::JsonRepresentation; end
71
- end
72
-
73
- class Resource
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
- end
76
-
77
- class ResourceUpdate
78
- class Representation < Google::Apis::Core::JsonRepresentation; end
79
- end
80
-
81
- class ListResourcesResponse
82
- class Representation < Google::Apis::Core::JsonRepresentation; end
83
- end
84
-
85
- class TargetConfiguration
86
- class Representation < Google::Apis::Core::JsonRepresentation; end
87
- end
88
-
89
- class Type
90
- class Representation < Google::Apis::Core::JsonRepresentation; end
91
- end
92
-
93
- class ListTypesResponse
94
- class Representation < Google::Apis::Core::JsonRepresentation; end
95
- end
96
-
97
- class Deployment
98
- # @private
99
- class Representation < Google::Apis::Core::JsonRepresentation
100
- property :description, as: 'description'
101
- property :fingerprint, :base64 => true, as: 'fingerprint'
102
- property :id, as: 'id'
103
- property :insert_time, as: 'insertTime'
104
- property :intent, as: 'intent'
105
- property :manifest, as: 'manifest'
106
- property :name, as: 'name'
107
- property :state, as: 'state'
108
- property :target, as: 'target', class: Google::Apis::DeploymentmanagerV2beta2::TargetConfiguration, decorator: Google::Apis::DeploymentmanagerV2beta2::TargetConfiguration::Representation
109
-
110
- property :update, as: 'update', class: Google::Apis::DeploymentmanagerV2beta2::DeploymentUpdate, decorator: Google::Apis::DeploymentmanagerV2beta2::DeploymentUpdate::Representation
111
-
112
- property :update_time, as: 'updateTime'
113
- end
114
- end
115
-
116
- class DeploymentUpdate
117
- # @private
118
- class Representation < Google::Apis::Core::JsonRepresentation
119
- collection :errors, as: 'errors'
120
- property :manifest, as: 'manifest'
121
- end
122
- end
123
-
124
- class ListDeploymentsResponse
125
- # @private
126
- class Representation < Google::Apis::Core::JsonRepresentation
127
- collection :deployments, as: 'deployments', class: Google::Apis::DeploymentmanagerV2beta2::Deployment, decorator: Google::Apis::DeploymentmanagerV2beta2::Deployment::Representation
128
-
129
- property :next_page_token, as: 'nextPageToken'
130
- end
131
- end
132
-
133
- class ImportFile
134
- # @private
135
- class Representation < Google::Apis::Core::JsonRepresentation
136
- property :content, as: 'content'
137
- property :name, as: 'name'
138
- end
139
- end
140
-
141
- class Manifest
142
- # @private
143
- class Representation < Google::Apis::Core::JsonRepresentation
144
- property :config, as: 'config'
145
- property :evaluated_config, as: 'evaluatedConfig'
146
- property :id, as: 'id'
147
- collection :imports, as: 'imports', class: Google::Apis::DeploymentmanagerV2beta2::ImportFile, decorator: Google::Apis::DeploymentmanagerV2beta2::ImportFile::Representation
148
-
149
- property :insert_time, as: 'insertTime'
150
- property :layout, as: 'layout'
151
- property :name, as: 'name'
152
- property :self_link, as: 'selfLink'
153
- end
154
- end
155
-
156
- class ListManifestsResponse
157
- # @private
158
- class Representation < Google::Apis::Core::JsonRepresentation
159
- collection :manifests, as: 'manifests', class: Google::Apis::DeploymentmanagerV2beta2::Manifest, decorator: Google::Apis::DeploymentmanagerV2beta2::Manifest::Representation
160
-
161
- property :next_page_token, as: 'nextPageToken'
162
- end
163
- end
164
-
165
- class Operation
166
- # @private
167
- class Representation < Google::Apis::Core::JsonRepresentation
168
- property :client_operation_id, as: 'clientOperationId'
169
- property :creation_timestamp, as: 'creationTimestamp'
170
- property :end_time, as: 'endTime'
171
- property :error, as: 'error', class: Google::Apis::DeploymentmanagerV2beta2::Operation::Error, decorator: Google::Apis::DeploymentmanagerV2beta2::Operation::Error::Representation
172
-
173
- property :http_error_message, as: 'httpErrorMessage'
174
- property :http_error_status_code, as: 'httpErrorStatusCode'
175
- property :id, as: 'id'
176
- property :insert_time, as: 'insertTime'
177
- property :kind, as: 'kind'
178
- property :name, as: 'name'
179
- property :operation_type, as: 'operationType'
180
- property :progress, as: 'progress'
181
- property :region, as: 'region'
182
- property :self_link, as: 'selfLink'
183
- property :start_time, as: 'startTime'
184
- property :status, as: 'status'
185
- property :status_message, as: 'statusMessage'
186
- property :target_id, as: 'targetId'
187
- property :target_link, as: 'targetLink'
188
- property :user, as: 'user'
189
- collection :warnings, as: 'warnings', class: Google::Apis::DeploymentmanagerV2beta2::Operation::Warning, decorator: Google::Apis::DeploymentmanagerV2beta2::Operation::Warning::Representation
190
-
191
- property :zone, as: 'zone'
192
- end
193
-
194
- class Error
195
- # @private
196
- class Representation < Google::Apis::Core::JsonRepresentation
197
- collection :errors, as: 'errors', class: Google::Apis::DeploymentmanagerV2beta2::Operation::Error::Error, decorator: Google::Apis::DeploymentmanagerV2beta2::Operation::Error::Error::Representation
198
-
199
- end
200
-
201
- class Error
202
- # @private
203
- class Representation < Google::Apis::Core::JsonRepresentation
204
- property :code, as: 'code'
205
- property :location, as: 'location'
206
- property :message, as: 'message'
207
- end
208
- end
209
- end
210
-
211
- class Warning
212
- # @private
213
- class Representation < Google::Apis::Core::JsonRepresentation
214
- property :code, as: 'code'
215
- collection :data, as: 'data', class: Google::Apis::DeploymentmanagerV2beta2::Operation::Warning::Datum, decorator: Google::Apis::DeploymentmanagerV2beta2::Operation::Warning::Datum::Representation
216
-
217
- property :message, as: 'message'
218
- end
219
-
220
- class Datum
221
- # @private
222
- class Representation < Google::Apis::Core::JsonRepresentation
223
- property :key, as: 'key'
224
- property :value, as: 'value'
225
- end
226
- end
227
- end
228
- end
229
-
230
- class ListOperationsResponse
231
- # @private
232
- class Representation < Google::Apis::Core::JsonRepresentation
233
- property :next_page_token, as: 'nextPageToken'
234
- collection :operations, as: 'operations', class: Google::Apis::DeploymentmanagerV2beta2::Operation, decorator: Google::Apis::DeploymentmanagerV2beta2::Operation::Representation
235
-
236
- end
237
- end
238
-
239
- class Resource
240
- # @private
241
- class Representation < Google::Apis::Core::JsonRepresentation
242
- property :final_properties, as: 'finalProperties'
243
- property :id, as: 'id'
244
- property :insert_time, as: 'insertTime'
245
- property :manifest, as: 'manifest'
246
- property :name, as: 'name'
247
- property :properties, as: 'properties'
248
- property :type, as: 'type'
249
- property :update, as: 'update', class: Google::Apis::DeploymentmanagerV2beta2::ResourceUpdate, decorator: Google::Apis::DeploymentmanagerV2beta2::ResourceUpdate::Representation
250
-
251
- property :update_time, as: 'updateTime'
252
- property :url, as: 'url'
253
- end
254
- end
255
-
256
- class ResourceUpdate
257
- # @private
258
- class Representation < Google::Apis::Core::JsonRepresentation
259
- collection :errors, as: 'errors'
260
- property :final_properties, as: 'finalProperties'
261
- property :intent, as: 'intent'
262
- property :manifest, as: 'manifest'
263
- property :properties, as: 'properties'
264
- property :state, as: 'state'
265
- end
266
- end
267
-
268
- class ListResourcesResponse
269
- # @private
270
- class Representation < Google::Apis::Core::JsonRepresentation
271
- property :next_page_token, as: 'nextPageToken'
272
- collection :resources, as: 'resources', class: Google::Apis::DeploymentmanagerV2beta2::Resource, decorator: Google::Apis::DeploymentmanagerV2beta2::Resource::Representation
273
-
274
- end
275
- end
276
-
277
- class TargetConfiguration
278
- # @private
279
- class Representation < Google::Apis::Core::JsonRepresentation
280
- property :config, as: 'config'
281
- collection :imports, as: 'imports', class: Google::Apis::DeploymentmanagerV2beta2::ImportFile, decorator: Google::Apis::DeploymentmanagerV2beta2::ImportFile::Representation
282
-
283
- end
284
- end
285
-
286
- class Type
287
- # @private
288
- class Representation < Google::Apis::Core::JsonRepresentation
289
- property :id, as: 'id'
290
- property :insert_time, as: 'insertTime'
291
- property :name, as: 'name'
292
- property :self_link, as: 'selfLink'
293
- end
294
- end
295
-
296
- class ListTypesResponse
297
- # @private
298
- class Representation < Google::Apis::Core::JsonRepresentation
299
- property :next_page_token, as: 'nextPageToken'
300
- collection :types, as: 'types', class: Google::Apis::DeploymentmanagerV2beta2::Type, decorator: Google::Apis::DeploymentmanagerV2beta2::Type::Representation
301
-
302
- end
303
- end
304
- end
305
- end
306
- end
@@ -1,689 +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 DeploymentmanagerV2beta2
23
- # Google Cloud Deployment Manager API
24
- #
25
- # The Deployment Manager API allows users to declaratively configure, deploy and
26
- # run complex solutions on the Google Cloud Platform.
27
- #
28
- # @example
29
- # require 'google/apis/deploymentmanager_v2beta2'
30
- #
31
- # Deploymentmanager = Google::Apis::DeploymentmanagerV2beta2 # Alias the module
32
- # service = Deploymentmanager::DeploymentManagerService.new
33
- #
34
- # @see https://developers.google.com/deployment-manager/
35
- class DeploymentManagerService < 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/', 'deploymentmanager/v2beta2/projects/')
54
- end
55
-
56
- # Deletes a deployment and all of the resources in the deployment.
57
- # @param [String] project
58
- # The project ID for this request.
59
- # @param [String] deployment
60
- # The name of the deployment for this request.
61
- # @param [String] fields
62
- # Selector specifying which fields to include in a partial response.
63
- # @param [String] quota_user
64
- # Available to use for quota purposes for server-side applications. Can be any
65
- # arbitrary string assigned to a user, but should not exceed 40 characters.
66
- # Overrides userIp if both are provided.
67
- # @param [String] user_ip
68
- # IP address of the site where the request originates. Use this if you want to
69
- # enforce per-user limits.
70
- # @param [Google::Apis::RequestOptions] options
71
- # Request-specific options
72
- #
73
- # @yield [result, err] Result & error if block supplied
74
- # @yieldparam result [Google::Apis::DeploymentmanagerV2beta2::Operation] parsed result object
75
- # @yieldparam err [StandardError] error object if request failed
76
- #
77
- # @return [Google::Apis::DeploymentmanagerV2beta2::Operation]
78
- #
79
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
80
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
- # @raise [Google::Apis::AuthorizationError] Authorization is required
82
- def delete_deployment(project, deployment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
83
- command = make_simple_command(:delete, '{project}/global/deployments/{deployment}', options)
84
- command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Operation::Representation
85
- command.response_class = Google::Apis::DeploymentmanagerV2beta2::Operation
86
- command.params['project'] = project unless project.nil?
87
- command.params['deployment'] = deployment unless deployment.nil?
88
- command.query['fields'] = fields unless fields.nil?
89
- command.query['quotaUser'] = quota_user unless quota_user.nil?
90
- command.query['userIp'] = user_ip unless user_ip.nil?
91
- execute_or_queue_command(command, &block)
92
- end
93
-
94
- # Gets information about a specific deployment.
95
- # @param [String] project
96
- # The project ID for this request.
97
- # @param [String] deployment
98
- # The name of the deployment for this request.
99
- # @param [String] fields
100
- # Selector specifying which fields to include in a partial response.
101
- # @param [String] quota_user
102
- # Available to use for quota purposes for server-side applications. Can be any
103
- # arbitrary string assigned to a user, but should not exceed 40 characters.
104
- # Overrides userIp if both are provided.
105
- # @param [String] user_ip
106
- # IP address of the site where the request originates. Use this if you want to
107
- # enforce per-user limits.
108
- # @param [Google::Apis::RequestOptions] options
109
- # Request-specific options
110
- #
111
- # @yield [result, err] Result & error if block supplied
112
- # @yieldparam result [Google::Apis::DeploymentmanagerV2beta2::Deployment] parsed result object
113
- # @yieldparam err [StandardError] error object if request failed
114
- #
115
- # @return [Google::Apis::DeploymentmanagerV2beta2::Deployment]
116
- #
117
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
118
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
119
- # @raise [Google::Apis::AuthorizationError] Authorization is required
120
- def get_deployment(project, deployment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
121
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}', options)
122
- command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Deployment::Representation
123
- command.response_class = Google::Apis::DeploymentmanagerV2beta2::Deployment
124
- command.params['project'] = project unless project.nil?
125
- command.params['deployment'] = deployment unless deployment.nil?
126
- command.query['fields'] = fields unless fields.nil?
127
- command.query['quotaUser'] = quota_user unless quota_user.nil?
128
- command.query['userIp'] = user_ip unless user_ip.nil?
129
- execute_or_queue_command(command, &block)
130
- end
131
-
132
- # Creates a deployment and all of the resources described by the deployment
133
- # manifest.
134
- # @param [String] project
135
- # The project ID for this request.
136
- # @param [Google::Apis::DeploymentmanagerV2beta2::Deployment] deployment_object
137
- # @param [String] fields
138
- # Selector specifying which fields to include in a partial response.
139
- # @param [String] quota_user
140
- # Available to use for quota purposes for server-side applications. Can be any
141
- # arbitrary string assigned to a user, but should not exceed 40 characters.
142
- # Overrides userIp if both are provided.
143
- # @param [String] user_ip
144
- # IP address of the site where the request originates. Use this if you want to
145
- # enforce per-user limits.
146
- # @param [Google::Apis::RequestOptions] options
147
- # Request-specific options
148
- #
149
- # @yield [result, err] Result & error if block supplied
150
- # @yieldparam result [Google::Apis::DeploymentmanagerV2beta2::Operation] parsed result object
151
- # @yieldparam err [StandardError] error object if request failed
152
- #
153
- # @return [Google::Apis::DeploymentmanagerV2beta2::Operation]
154
- #
155
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
156
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
157
- # @raise [Google::Apis::AuthorizationError] Authorization is required
158
- def insert_deployment(project, deployment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
159
- command = make_simple_command(:post, '{project}/global/deployments', options)
160
- command.request_representation = Google::Apis::DeploymentmanagerV2beta2::Deployment::Representation
161
- command.request_object = deployment_object
162
- command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Operation::Representation
163
- command.response_class = Google::Apis::DeploymentmanagerV2beta2::Operation
164
- command.params['project'] = project unless project.nil?
165
- command.query['fields'] = fields unless fields.nil?
166
- command.query['quotaUser'] = quota_user unless quota_user.nil?
167
- command.query['userIp'] = user_ip unless user_ip.nil?
168
- execute_or_queue_command(command, &block)
169
- end
170
-
171
- # Lists all deployments for a given project.
172
- # @param [String] project
173
- # The project ID for this request.
174
- # @param [String] filter
175
- # Sets a filter expression for filtering listed resources, in the form filter=`
176
- # expression`. Your `expression` must be in the format: FIELD_NAME
177
- # COMPARISON_STRING LITERAL_STRING.
178
- # The FIELD_NAME is the name of the field you want to compare. Only atomic field
179
- # types are supported (string, number, boolean). The COMPARISON_STRING must be
180
- # either eq (equals) or ne (not equals). The LITERAL_STRING is the string value
181
- # to filter to. The literal value must be valid for the type of field (string,
182
- # number, boolean). For string fields, the literal value is interpreted as a
183
- # regular expression using RE2 syntax. The literal value must match the entire
184
- # field.
185
- # For example, filter=name ne example-instance.
186
- # @param [Fixnum] max_results
187
- # Maximum count of results to be returned.
188
- # @param [String] page_token
189
- # Specifies a page token to use. Use this parameter if you want to list the next
190
- # page of results. Set pageToken to the nextPageToken returned by a previous
191
- # list request.
192
- # @param [String] fields
193
- # Selector specifying which fields to include in a partial response.
194
- # @param [String] quota_user
195
- # Available to use for quota purposes for server-side applications. Can be any
196
- # arbitrary string assigned to a user, but should not exceed 40 characters.
197
- # Overrides userIp if both are provided.
198
- # @param [String] user_ip
199
- # IP address of the site where the request originates. Use this if you want to
200
- # enforce per-user limits.
201
- # @param [Google::Apis::RequestOptions] options
202
- # Request-specific options
203
- #
204
- # @yield [result, err] Result & error if block supplied
205
- # @yieldparam result [Google::Apis::DeploymentmanagerV2beta2::ListDeploymentsResponse] parsed result object
206
- # @yieldparam err [StandardError] error object if request failed
207
- #
208
- # @return [Google::Apis::DeploymentmanagerV2beta2::ListDeploymentsResponse]
209
- #
210
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
211
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
212
- # @raise [Google::Apis::AuthorizationError] Authorization is required
213
- def list_deployments(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
214
- command = make_simple_command(:get, '{project}/global/deployments', options)
215
- command.response_representation = Google::Apis::DeploymentmanagerV2beta2::ListDeploymentsResponse::Representation
216
- command.response_class = Google::Apis::DeploymentmanagerV2beta2::ListDeploymentsResponse
217
- command.params['project'] = project unless project.nil?
218
- command.query['filter'] = filter unless filter.nil?
219
- command.query['maxResults'] = max_results unless max_results.nil?
220
- command.query['pageToken'] = page_token unless page_token.nil?
221
- command.query['fields'] = fields unless fields.nil?
222
- command.query['quotaUser'] = quota_user unless quota_user.nil?
223
- command.query['userIp'] = user_ip unless user_ip.nil?
224
- execute_or_queue_command(command, &block)
225
- end
226
-
227
- # Updates a deployment and all of the resources described by the deployment
228
- # manifest. This method supports patch semantics.
229
- # @param [String] project
230
- # The project ID for this request.
231
- # @param [String] deployment
232
- # The name of the deployment for this request.
233
- # @param [Google::Apis::DeploymentmanagerV2beta2::Deployment] deployment_object
234
- # @param [String] create_policy
235
- # Sets the policy to use for creating new resources.
236
- # @param [String] delete_policy
237
- # Sets the policy to use for deleting resources.
238
- # @param [String] update_policy
239
- # Sets the policy to use for updating resources.
240
- # @param [String] fields
241
- # Selector specifying which fields to include in a partial response.
242
- # @param [String] quota_user
243
- # Available to use for quota purposes for server-side applications. Can be any
244
- # arbitrary string assigned to a user, but should not exceed 40 characters.
245
- # Overrides userIp if both are provided.
246
- # @param [String] user_ip
247
- # IP address of the site where the request originates. Use this if you want to
248
- # enforce per-user limits.
249
- # @param [Google::Apis::RequestOptions] options
250
- # Request-specific options
251
- #
252
- # @yield [result, err] Result & error if block supplied
253
- # @yieldparam result [Google::Apis::DeploymentmanagerV2beta2::Operation] parsed result object
254
- # @yieldparam err [StandardError] error object if request failed
255
- #
256
- # @return [Google::Apis::DeploymentmanagerV2beta2::Operation]
257
- #
258
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
259
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
260
- # @raise [Google::Apis::AuthorizationError] Authorization is required
261
- def patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, update_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
262
- command = make_simple_command(:patch, '{project}/global/deployments/{deployment}', options)
263
- command.request_representation = Google::Apis::DeploymentmanagerV2beta2::Deployment::Representation
264
- command.request_object = deployment_object
265
- command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Operation::Representation
266
- command.response_class = Google::Apis::DeploymentmanagerV2beta2::Operation
267
- command.params['project'] = project unless project.nil?
268
- command.params['deployment'] = deployment unless deployment.nil?
269
- command.query['createPolicy'] = create_policy unless create_policy.nil?
270
- command.query['deletePolicy'] = delete_policy unless delete_policy.nil?
271
- command.query['updatePolicy'] = update_policy unless update_policy.nil?
272
- command.query['fields'] = fields unless fields.nil?
273
- command.query['quotaUser'] = quota_user unless quota_user.nil?
274
- command.query['userIp'] = user_ip unless user_ip.nil?
275
- execute_or_queue_command(command, &block)
276
- end
277
-
278
- # Updates a deployment and all of the resources described by the deployment
279
- # manifest.
280
- # @param [String] project
281
- # The project ID for this request.
282
- # @param [String] deployment
283
- # The name of the deployment for this request.
284
- # @param [Google::Apis::DeploymentmanagerV2beta2::Deployment] deployment_object
285
- # @param [String] create_policy
286
- # Sets the policy to use for creating new resources.
287
- # @param [String] delete_policy
288
- # Sets the policy to use for deleting resources.
289
- # @param [String] update_policy
290
- # Sets the policy to use for updating resources.
291
- # @param [String] fields
292
- # Selector specifying which fields to include in a partial response.
293
- # @param [String] quota_user
294
- # Available to use for quota purposes for server-side applications. Can be any
295
- # arbitrary string assigned to a user, but should not exceed 40 characters.
296
- # Overrides userIp if both are provided.
297
- # @param [String] user_ip
298
- # IP address of the site where the request originates. Use this if you want to
299
- # enforce per-user limits.
300
- # @param [Google::Apis::RequestOptions] options
301
- # Request-specific options
302
- #
303
- # @yield [result, err] Result & error if block supplied
304
- # @yieldparam result [Google::Apis::DeploymentmanagerV2beta2::Operation] parsed result object
305
- # @yieldparam err [StandardError] error object if request failed
306
- #
307
- # @return [Google::Apis::DeploymentmanagerV2beta2::Operation]
308
- #
309
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
310
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
311
- # @raise [Google::Apis::AuthorizationError] Authorization is required
312
- def update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, update_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
313
- command = make_simple_command(:put, '{project}/global/deployments/{deployment}', options)
314
- command.request_representation = Google::Apis::DeploymentmanagerV2beta2::Deployment::Representation
315
- command.request_object = deployment_object
316
- command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Operation::Representation
317
- command.response_class = Google::Apis::DeploymentmanagerV2beta2::Operation
318
- command.params['project'] = project unless project.nil?
319
- command.params['deployment'] = deployment unless deployment.nil?
320
- command.query['createPolicy'] = create_policy unless create_policy.nil?
321
- command.query['deletePolicy'] = delete_policy unless delete_policy.nil?
322
- command.query['updatePolicy'] = update_policy unless update_policy.nil?
323
- command.query['fields'] = fields unless fields.nil?
324
- command.query['quotaUser'] = quota_user unless quota_user.nil?
325
- command.query['userIp'] = user_ip unless user_ip.nil?
326
- execute_or_queue_command(command, &block)
327
- end
328
-
329
- # Gets information about a specific manifest.
330
- # @param [String] project
331
- # The project ID for this request.
332
- # @param [String] deployment
333
- # The name of the deployment for this request.
334
- # @param [String] manifest
335
- # The name of the manifest for this request.
336
- # @param [String] fields
337
- # Selector specifying which fields to include in a partial response.
338
- # @param [String] quota_user
339
- # Available to use for quota purposes for server-side applications. Can be any
340
- # arbitrary string assigned to a user, but should not exceed 40 characters.
341
- # Overrides userIp if both are provided.
342
- # @param [String] user_ip
343
- # IP address of the site where the request originates. Use this if you want to
344
- # enforce per-user limits.
345
- # @param [Google::Apis::RequestOptions] options
346
- # Request-specific options
347
- #
348
- # @yield [result, err] Result & error if block supplied
349
- # @yieldparam result [Google::Apis::DeploymentmanagerV2beta2::Manifest] parsed result object
350
- # @yieldparam err [StandardError] error object if request failed
351
- #
352
- # @return [Google::Apis::DeploymentmanagerV2beta2::Manifest]
353
- #
354
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
355
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
356
- # @raise [Google::Apis::AuthorizationError] Authorization is required
357
- def get_manifest(project, deployment, manifest, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
358
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests/{manifest}', options)
359
- command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Manifest::Representation
360
- command.response_class = Google::Apis::DeploymentmanagerV2beta2::Manifest
361
- command.params['project'] = project unless project.nil?
362
- command.params['deployment'] = deployment unless deployment.nil?
363
- command.params['manifest'] = manifest unless manifest.nil?
364
- command.query['fields'] = fields unless fields.nil?
365
- command.query['quotaUser'] = quota_user unless quota_user.nil?
366
- command.query['userIp'] = user_ip unless user_ip.nil?
367
- execute_or_queue_command(command, &block)
368
- end
369
-
370
- # Lists all manifests for a given deployment.
371
- # @param [String] project
372
- # The project ID for this request.
373
- # @param [String] deployment
374
- # The name of the deployment for this request.
375
- # @param [String] filter
376
- # Sets a filter expression for filtering listed resources, in the form filter=`
377
- # expression`. Your `expression` must be in the format: FIELD_NAME
378
- # COMPARISON_STRING LITERAL_STRING.
379
- # The FIELD_NAME is the name of the field you want to compare. Only atomic field
380
- # types are supported (string, number, boolean). The COMPARISON_STRING must be
381
- # either eq (equals) or ne (not equals). The LITERAL_STRING is the string value
382
- # to filter to. The literal value must be valid for the type of field (string,
383
- # number, boolean). For string fields, the literal value is interpreted as a
384
- # regular expression using RE2 syntax. The literal value must match the entire
385
- # field.
386
- # For example, filter=name ne example-instance.
387
- # @param [Fixnum] max_results
388
- # Maximum count of results to be returned.
389
- # @param [String] page_token
390
- # Specifies a page token to use. Use this parameter if you want to list the next
391
- # page of results. Set pageToken to the nextPageToken returned by a previous
392
- # list request.
393
- # @param [String] fields
394
- # Selector specifying which fields to include in a partial response.
395
- # @param [String] quota_user
396
- # Available to use for quota purposes for server-side applications. Can be any
397
- # arbitrary string assigned to a user, but should not exceed 40 characters.
398
- # Overrides userIp if both are provided.
399
- # @param [String] user_ip
400
- # IP address of the site where the request originates. Use this if you want to
401
- # enforce per-user limits.
402
- # @param [Google::Apis::RequestOptions] options
403
- # Request-specific options
404
- #
405
- # @yield [result, err] Result & error if block supplied
406
- # @yieldparam result [Google::Apis::DeploymentmanagerV2beta2::ListManifestsResponse] parsed result object
407
- # @yieldparam err [StandardError] error object if request failed
408
- #
409
- # @return [Google::Apis::DeploymentmanagerV2beta2::ListManifestsResponse]
410
- #
411
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
412
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
413
- # @raise [Google::Apis::AuthorizationError] Authorization is required
414
- def list_manifests(project, deployment, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
415
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests', options)
416
- command.response_representation = Google::Apis::DeploymentmanagerV2beta2::ListManifestsResponse::Representation
417
- command.response_class = Google::Apis::DeploymentmanagerV2beta2::ListManifestsResponse
418
- command.params['project'] = project unless project.nil?
419
- command.params['deployment'] = deployment unless deployment.nil?
420
- command.query['filter'] = filter unless filter.nil?
421
- command.query['maxResults'] = max_results unless max_results.nil?
422
- command.query['pageToken'] = page_token unless page_token.nil?
423
- command.query['fields'] = fields unless fields.nil?
424
- command.query['quotaUser'] = quota_user unless quota_user.nil?
425
- command.query['userIp'] = user_ip unless user_ip.nil?
426
- execute_or_queue_command(command, &block)
427
- end
428
-
429
- # Gets information about a specific operation.
430
- # @param [String] project
431
- # The project ID for this request.
432
- # @param [String] operation
433
- # The name of the operation for this request.
434
- # @param [String] fields
435
- # Selector specifying which fields to include in a partial response.
436
- # @param [String] quota_user
437
- # Available to use for quota purposes for server-side applications. Can be any
438
- # arbitrary string assigned to a user, but should not exceed 40 characters.
439
- # Overrides userIp if both are provided.
440
- # @param [String] user_ip
441
- # IP address of the site where the request originates. Use this if you want to
442
- # enforce per-user limits.
443
- # @param [Google::Apis::RequestOptions] options
444
- # Request-specific options
445
- #
446
- # @yield [result, err] Result & error if block supplied
447
- # @yieldparam result [Google::Apis::DeploymentmanagerV2beta2::Operation] parsed result object
448
- # @yieldparam err [StandardError] error object if request failed
449
- #
450
- # @return [Google::Apis::DeploymentmanagerV2beta2::Operation]
451
- #
452
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
453
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
454
- # @raise [Google::Apis::AuthorizationError] Authorization is required
455
- def get_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
456
- command = make_simple_command(:get, '{project}/global/operations/{operation}', options)
457
- command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Operation::Representation
458
- command.response_class = Google::Apis::DeploymentmanagerV2beta2::Operation
459
- command.params['project'] = project unless project.nil?
460
- command.params['operation'] = operation unless operation.nil?
461
- command.query['fields'] = fields unless fields.nil?
462
- command.query['quotaUser'] = quota_user unless quota_user.nil?
463
- command.query['userIp'] = user_ip unless user_ip.nil?
464
- execute_or_queue_command(command, &block)
465
- end
466
-
467
- # Lists all operations for a project.
468
- # @param [String] project
469
- # The project ID for this request.
470
- # @param [String] filter
471
- # Sets a filter expression for filtering listed resources, in the form filter=`
472
- # expression`. Your `expression` must be in the format: FIELD_NAME
473
- # COMPARISON_STRING LITERAL_STRING.
474
- # The FIELD_NAME is the name of the field you want to compare. Only atomic field
475
- # types are supported (string, number, boolean). The COMPARISON_STRING must be
476
- # either eq (equals) or ne (not equals). The LITERAL_STRING is the string value
477
- # to filter to. The literal value must be valid for the type of field (string,
478
- # number, boolean). For string fields, the literal value is interpreted as a
479
- # regular expression using RE2 syntax. The literal value must match the entire
480
- # field.
481
- # For example, filter=name ne example-instance.
482
- # @param [Fixnum] max_results
483
- # Maximum count of results to be returned.
484
- # @param [String] page_token
485
- # Specifies a page token to use. Use this parameter if you want to list the next
486
- # page of results. Set pageToken to the nextPageToken returned by a previous
487
- # list request.
488
- # @param [String] fields
489
- # Selector specifying which fields to include in a partial response.
490
- # @param [String] quota_user
491
- # Available to use for quota purposes for server-side applications. Can be any
492
- # arbitrary string assigned to a user, but should not exceed 40 characters.
493
- # Overrides userIp if both are provided.
494
- # @param [String] user_ip
495
- # IP address of the site where the request originates. Use this if you want to
496
- # enforce per-user limits.
497
- # @param [Google::Apis::RequestOptions] options
498
- # Request-specific options
499
- #
500
- # @yield [result, err] Result & error if block supplied
501
- # @yieldparam result [Google::Apis::DeploymentmanagerV2beta2::ListOperationsResponse] parsed result object
502
- # @yieldparam err [StandardError] error object if request failed
503
- #
504
- # @return [Google::Apis::DeploymentmanagerV2beta2::ListOperationsResponse]
505
- #
506
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
507
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
508
- # @raise [Google::Apis::AuthorizationError] Authorization is required
509
- def list_operations(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
510
- command = make_simple_command(:get, '{project}/global/operations', options)
511
- command.response_representation = Google::Apis::DeploymentmanagerV2beta2::ListOperationsResponse::Representation
512
- command.response_class = Google::Apis::DeploymentmanagerV2beta2::ListOperationsResponse
513
- command.params['project'] = project unless project.nil?
514
- command.query['filter'] = filter unless filter.nil?
515
- command.query['maxResults'] = max_results unless max_results.nil?
516
- command.query['pageToken'] = page_token unless page_token.nil?
517
- command.query['fields'] = fields unless fields.nil?
518
- command.query['quotaUser'] = quota_user unless quota_user.nil?
519
- command.query['userIp'] = user_ip unless user_ip.nil?
520
- execute_or_queue_command(command, &block)
521
- end
522
-
523
- # Gets information about a single resource.
524
- # @param [String] project
525
- # The project ID for this request.
526
- # @param [String] deployment
527
- # The name of the deployment for this request.
528
- # @param [String] resource
529
- # The name of the resource for this request.
530
- # @param [String] fields
531
- # Selector specifying which fields to include in a partial response.
532
- # @param [String] quota_user
533
- # Available to use for quota purposes for server-side applications. Can be any
534
- # arbitrary string assigned to a user, but should not exceed 40 characters.
535
- # Overrides userIp if both are provided.
536
- # @param [String] user_ip
537
- # IP address of the site where the request originates. Use this if you want to
538
- # enforce per-user limits.
539
- # @param [Google::Apis::RequestOptions] options
540
- # Request-specific options
541
- #
542
- # @yield [result, err] Result & error if block supplied
543
- # @yieldparam result [Google::Apis::DeploymentmanagerV2beta2::Resource] parsed result object
544
- # @yieldparam err [StandardError] error object if request failed
545
- #
546
- # @return [Google::Apis::DeploymentmanagerV2beta2::Resource]
547
- #
548
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
549
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
550
- # @raise [Google::Apis::AuthorizationError] Authorization is required
551
- def get_resource(project, deployment, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
552
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources/{resource}', options)
553
- command.response_representation = Google::Apis::DeploymentmanagerV2beta2::Resource::Representation
554
- command.response_class = Google::Apis::DeploymentmanagerV2beta2::Resource
555
- command.params['project'] = project unless project.nil?
556
- command.params['deployment'] = deployment unless deployment.nil?
557
- command.params['resource'] = resource unless resource.nil?
558
- command.query['fields'] = fields unless fields.nil?
559
- command.query['quotaUser'] = quota_user unless quota_user.nil?
560
- command.query['userIp'] = user_ip unless user_ip.nil?
561
- execute_or_queue_command(command, &block)
562
- end
563
-
564
- # Lists all resources in a given deployment.
565
- # @param [String] project
566
- # The project ID for this request.
567
- # @param [String] deployment
568
- # The name of the deployment for this request.
569
- # @param [String] filter
570
- # Sets a filter expression for filtering listed resources, in the form filter=`
571
- # expression`. Your `expression` must be in the format: FIELD_NAME
572
- # COMPARISON_STRING LITERAL_STRING.
573
- # The FIELD_NAME is the name of the field you want to compare. Only atomic field
574
- # types are supported (string, number, boolean). The COMPARISON_STRING must be
575
- # either eq (equals) or ne (not equals). The LITERAL_STRING is the string value
576
- # to filter to. The literal value must be valid for the type of field (string,
577
- # number, boolean). For string fields, the literal value is interpreted as a
578
- # regular expression using RE2 syntax. The literal value must match the entire
579
- # field.
580
- # For example, filter=name ne example-instance.
581
- # @param [Fixnum] max_results
582
- # Maximum count of results to be returned.
583
- # @param [String] page_token
584
- # Specifies a page token to use. Use this parameter if you want to list the next
585
- # page of results. Set pageToken to the nextPageToken returned by a previous
586
- # list request.
587
- # @param [String] fields
588
- # Selector specifying which fields to include in a partial response.
589
- # @param [String] quota_user
590
- # Available to use for quota purposes for server-side applications. Can be any
591
- # arbitrary string assigned to a user, but should not exceed 40 characters.
592
- # Overrides userIp if both are provided.
593
- # @param [String] user_ip
594
- # IP address of the site where the request originates. Use this if you want to
595
- # enforce per-user limits.
596
- # @param [Google::Apis::RequestOptions] options
597
- # Request-specific options
598
- #
599
- # @yield [result, err] Result & error if block supplied
600
- # @yieldparam result [Google::Apis::DeploymentmanagerV2beta2::ListResourcesResponse] parsed result object
601
- # @yieldparam err [StandardError] error object if request failed
602
- #
603
- # @return [Google::Apis::DeploymentmanagerV2beta2::ListResourcesResponse]
604
- #
605
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
606
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
607
- # @raise [Google::Apis::AuthorizationError] Authorization is required
608
- def list_resources(project, deployment, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
609
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources', options)
610
- command.response_representation = Google::Apis::DeploymentmanagerV2beta2::ListResourcesResponse::Representation
611
- command.response_class = Google::Apis::DeploymentmanagerV2beta2::ListResourcesResponse
612
- command.params['project'] = project unless project.nil?
613
- command.params['deployment'] = deployment unless deployment.nil?
614
- command.query['filter'] = filter unless filter.nil?
615
- command.query['maxResults'] = max_results unless max_results.nil?
616
- command.query['pageToken'] = page_token unless page_token.nil?
617
- command.query['fields'] = fields unless fields.nil?
618
- command.query['quotaUser'] = quota_user unless quota_user.nil?
619
- command.query['userIp'] = user_ip unless user_ip.nil?
620
- execute_or_queue_command(command, &block)
621
- end
622
-
623
- # Lists all resource types for Deployment Manager.
624
- # @param [String] project
625
- # The project ID for this request.
626
- # @param [String] filter
627
- # Sets a filter expression for filtering listed resources, in the form filter=`
628
- # expression`. Your `expression` must be in the format: FIELD_NAME
629
- # COMPARISON_STRING LITERAL_STRING.
630
- # The FIELD_NAME is the name of the field you want to compare. Only atomic field
631
- # types are supported (string, number, boolean). The COMPARISON_STRING must be
632
- # either eq (equals) or ne (not equals). The LITERAL_STRING is the string value
633
- # to filter to. The literal value must be valid for the type of field (string,
634
- # number, boolean). For string fields, the literal value is interpreted as a
635
- # regular expression using RE2 syntax. The literal value must match the entire
636
- # field.
637
- # For example, filter=name ne example-instance.
638
- # @param [Fixnum] max_results
639
- # Maximum count of results to be returned.
640
- # @param [String] page_token
641
- # Specifies a page token to use. Use this parameter if you want to list the next
642
- # page of results. Set pageToken to the nextPageToken returned by a previous
643
- # list request.
644
- # @param [String] fields
645
- # Selector specifying which fields to include in a partial response.
646
- # @param [String] quota_user
647
- # Available to use for quota purposes for server-side applications. Can be any
648
- # arbitrary string assigned to a user, but should not exceed 40 characters.
649
- # Overrides userIp if both are provided.
650
- # @param [String] user_ip
651
- # IP address of the site where the request originates. Use this if you want to
652
- # enforce per-user limits.
653
- # @param [Google::Apis::RequestOptions] options
654
- # Request-specific options
655
- #
656
- # @yield [result, err] Result & error if block supplied
657
- # @yieldparam result [Google::Apis::DeploymentmanagerV2beta2::ListTypesResponse] parsed result object
658
- # @yieldparam err [StandardError] error object if request failed
659
- #
660
- # @return [Google::Apis::DeploymentmanagerV2beta2::ListTypesResponse]
661
- #
662
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
663
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
664
- # @raise [Google::Apis::AuthorizationError] Authorization is required
665
- def list_types(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
666
- command = make_simple_command(:get, '{project}/global/types', options)
667
- command.response_representation = Google::Apis::DeploymentmanagerV2beta2::ListTypesResponse::Representation
668
- command.response_class = Google::Apis::DeploymentmanagerV2beta2::ListTypesResponse
669
- command.params['project'] = project unless project.nil?
670
- command.query['filter'] = filter unless filter.nil?
671
- command.query['maxResults'] = max_results unless max_results.nil?
672
- command.query['pageToken'] = page_token unless page_token.nil?
673
- command.query['fields'] = fields unless fields.nil?
674
- command.query['quotaUser'] = quota_user unless quota_user.nil?
675
- command.query['userIp'] = user_ip unless user_ip.nil?
676
- execute_or_queue_command(command, &block)
677
- end
678
-
679
- protected
680
-
681
- def apply_command_defaults(command)
682
- command.query['key'] = key unless key.nil?
683
- command.query['quotaUser'] = quota_user unless quota_user.nil?
684
- command.query['userIp'] = user_ip unless user_ip.nil?
685
- end
686
- end
687
- end
688
- end
689
- end