google-api-client 0.9.8 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (320) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +15 -8
  3. data/CHANGELOG.md +84 -0
  4. data/Gemfile +10 -2
  5. data/README.md +10 -2
  6. data/api_names.yaml +37172 -135
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
  13. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  15. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  16. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
  20. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  21. data/generated/google/apis/admin_reports_v1.rb +5 -5
  22. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  23. data/generated/google/apis/adsense_v1_4.rb +1 -1
  24. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  29. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  30. data/generated/google/apis/analytics_v3/service.rb +256 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
  33. data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
  34. data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
  38. data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
  41. data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
  42. data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
  43. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  44. data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
  45. data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
  46. data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
  47. data/generated/google/apis/appsactivity_v1.rb +3 -3
  48. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  49. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  50. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  51. data/generated/google/apis/appstate_v1.rb +1 -1
  52. data/generated/google/apis/bigquery_v2.rb +1 -1
  53. data/generated/google/apis/bigquery_v2/classes.rb +360 -38
  54. data/generated/google/apis/bigquery_v2/representations.rb +106 -0
  55. data/generated/google/apis/bigquery_v2/service.rb +18 -4
  56. data/generated/google/apis/books_v1.rb +2 -2
  57. data/generated/google/apis/books_v1/classes.rb +83 -0
  58. data/generated/google/apis/books_v1/representations.rb +35 -0
  59. data/generated/google/apis/books_v1/service.rb +7 -3
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +208 -5
  62. data/generated/google/apis/calendar_v3/representations.rb +97 -0
  63. data/generated/google/apis/civicinfo_v2.rb +3 -2
  64. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  65. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  67. data/generated/google/apis/classroom_v1.rb +22 -25
  68. data/generated/google/apis/classroom_v1/classes.rb +998 -761
  69. data/generated/google/apis/classroom_v1/representations.rb +263 -198
  70. data/generated/google/apis/classroom_v1/service.rb +1349 -672
  71. data/generated/google/apis/cloudbilling_v1.rb +3 -3
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
  74. data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
  75. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  76. data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
  77. data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
  78. data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
  79. data/generated/google/apis/clouddebugger_v2.rb +5 -8
  80. data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
  81. data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
  82. data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
  83. data/generated/google/apis/cloudkms_v1.rb +35 -0
  84. data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
  85. data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
  86. data/generated/google/apis/cloudkms_v1/service.rb +933 -0
  87. data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
  88. data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
  89. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  90. data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
  91. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  93. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
  94. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
  99. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
  100. data/generated/google/apis/cloudtrace_v1.rb +9 -9
  101. data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
  102. data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
  103. data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
  104. data/generated/google/apis/compute_beta.rb +1 -1
  105. data/generated/google/apis/compute_beta/classes.rb +7007 -3648
  106. data/generated/google/apis/compute_beta/representations.rb +1459 -120
  107. data/generated/google/apis/compute_beta/service.rb +7943 -3726
  108. data/generated/google/apis/compute_v1.rb +1 -1
  109. data/generated/google/apis/compute_v1/classes.rb +2567 -370
  110. data/generated/google/apis/compute_v1/representations.rb +855 -0
  111. data/generated/google/apis/compute_v1/service.rb +6388 -2908
  112. data/generated/google/apis/container_v1.rb +1 -1
  113. data/generated/google/apis/container_v1/classes.rb +287 -16
  114. data/generated/google/apis/container_v1/representations.rb +113 -2
  115. data/generated/google/apis/container_v1/service.rb +130 -0
  116. data/generated/google/apis/content_v2.rb +1 -1
  117. data/generated/google/apis/content_v2/classes.rb +778 -10
  118. data/generated/google/apis/content_v2/representations.rb +339 -0
  119. data/generated/google/apis/content_v2/service.rb +364 -49
  120. data/generated/google/apis/dataflow_v1b3.rb +37 -0
  121. data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
  122. data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
  123. data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
  124. data/generated/google/apis/dataproc_v1.rb +1 -1
  125. data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
  126. data/generated/google/apis/dataproc_v1/representations.rb +299 -225
  127. data/generated/google/apis/dataproc_v1/service.rb +277 -192
  128. data/generated/google/apis/datastore_v1.rb +38 -0
  129. data/generated/google/apis/datastore_v1/classes.rb +1289 -0
  130. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  131. data/generated/google/apis/datastore_v1/service.rb +259 -0
  132. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  133. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  134. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  135. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  136. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  137. data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
  138. data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
  139. data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
  140. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  141. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  142. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  143. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  144. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  145. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  146. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  147. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  148. data/generated/google/apis/dfareporting_v2_7.rb +40 -0
  149. data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
  150. data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
  151. data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
  152. data/generated/google/apis/dns_v1.rb +1 -1
  153. data/generated/google/apis/dns_v1/classes.rb +1 -1
  154. data/generated/google/apis/dns_v2beta1.rb +43 -0
  155. data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
  156. data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
  157. data/generated/google/apis/dns_v2beta1/service.rb +768 -0
  158. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  159. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  160. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  161. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  162. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  163. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  164. data/generated/google/apis/drive_v2.rb +1 -1
  165. data/generated/google/apis/drive_v2/classes.rb +595 -37
  166. data/generated/google/apis/drive_v2/representations.rb +140 -0
  167. data/generated/google/apis/drive_v2/service.rb +406 -40
  168. data/generated/google/apis/drive_v3.rb +1 -1
  169. data/generated/google/apis/drive_v3/classes.rb +507 -40
  170. data/generated/google/apis/drive_v3/representations.rb +105 -0
  171. data/generated/google/apis/drive_v3/service.rb +326 -29
  172. data/generated/google/apis/fitness_v1.rb +38 -2
  173. data/generated/google/apis/fitness_v1/classes.rb +65 -7
  174. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  175. data/generated/google/apis/fitness_v1/service.rb +17 -18
  176. data/generated/google/apis/fusiontables_v2.rb +1 -1
  177. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  178. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_v1.rb +1 -1
  181. data/generated/google/apis/genomics_v1.rb +10 -12
  182. data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
  183. data/generated/google/apis/genomics_v1/representations.rb +468 -496
  184. data/generated/google/apis/genomics_v1/service.rb +978 -882
  185. data/generated/google/apis/gmail_v1.rb +11 -2
  186. data/generated/google/apis/gmail_v1/classes.rb +655 -5
  187. data/generated/google/apis/gmail_v1/representations.rb +261 -0
  188. data/generated/google/apis/gmail_v1/service.rb +1211 -48
  189. data/generated/google/apis/groupssettings_v1.rb +2 -2
  190. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  191. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  192. data/generated/google/apis/iam_v1.rb +2 -2
  193. data/generated/google/apis/iam_v1/classes.rb +446 -368
  194. data/generated/google/apis/iam_v1/representations.rb +109 -91
  195. data/generated/google/apis/iam_v1/service.rb +249 -162
  196. data/generated/google/apis/identitytoolkit_v3.rb +7 -1
  197. data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
  198. data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
  199. data/generated/google/apis/kgsearch_v1.rb +2 -3
  200. data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
  201. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  202. data/generated/google/apis/kgsearch_v1/service.rb +26 -24
  203. data/generated/google/apis/language_v1beta1.rb +36 -0
  204. data/generated/google/apis/language_v1beta1/classes.rb +757 -0
  205. data/generated/google/apis/language_v1beta1/representations.rb +339 -0
  206. data/generated/google/apis/language_v1beta1/service.rb +185 -0
  207. data/generated/google/apis/licensing_v1.rb +3 -3
  208. data/generated/google/apis/licensing_v1/classes.rb +14 -2
  209. data/generated/google/apis/licensing_v1/representations.rb +2 -0
  210. data/generated/google/apis/licensing_v1/service.rb +1 -1
  211. data/generated/google/apis/logging_v2beta1.rb +6 -6
  212. data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
  213. data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
  214. data/generated/google/apis/logging_v2beta1/service.rb +427 -155
  215. data/generated/google/apis/manufacturers_v1.rb +34 -0
  216. data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
  217. data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
  218. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  219. data/generated/google/apis/mirror_v1.rb +2 -2
  220. data/generated/google/apis/mirror_v1/service.rb +1 -1
  221. data/generated/google/apis/monitoring_v3.rb +45 -0
  222. data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
  223. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  224. data/generated/google/apis/monitoring_v3/service.rb +706 -0
  225. data/generated/google/apis/oauth2_v2.rb +1 -1
  226. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  227. data/generated/google/apis/partners_v2.rb +3 -3
  228. data/generated/google/apis/partners_v2/classes.rb +1831 -477
  229. data/generated/google/apis/partners_v2/representations.rb +571 -114
  230. data/generated/google/apis/partners_v2/service.rb +898 -167
  231. data/generated/google/apis/people_v1.rb +15 -16
  232. data/generated/google/apis/people_v1/classes.rb +1047 -859
  233. data/generated/google/apis/people_v1/representations.rb +252 -213
  234. data/generated/google/apis/people_v1/service.rb +75 -62
  235. data/generated/google/apis/plus_domains_v1.rb +1 -1
  236. data/generated/google/apis/plus_v1.rb +1 -1
  237. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  238. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
  239. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
  240. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
  241. data/generated/google/apis/pubsub_v1.rb +1 -1
  242. data/generated/google/apis/pubsub_v1/classes.rb +363 -310
  243. data/generated/google/apis/pubsub_v1/representations.rb +76 -76
  244. data/generated/google/apis/pubsub_v1/service.rb +464 -335
  245. data/generated/google/apis/qpx_express_v1.rb +1 -1
  246. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  247. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  248. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  249. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  250. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  251. data/generated/google/apis/reseller_v1.rb +1 -1
  252. data/generated/google/apis/reseller_v1/classes.rb +222 -61
  253. data/generated/google/apis/reseller_v1/representations.rb +28 -0
  254. data/generated/google/apis/reseller_v1/service.rb +240 -47
  255. data/generated/google/apis/script_v1.rb +19 -19
  256. data/generated/google/apis/script_v1/classes.rb +151 -137
  257. data/generated/google/apis/script_v1/representations.rb +26 -26
  258. data/generated/google/apis/script_v1/service.rb +9 -8
  259. data/generated/google/apis/sheets_v4.rb +7 -7
  260. data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
  261. data/generated/google/apis/sheets_v4/representations.rb +988 -737
  262. data/generated/google/apis/sheets_v4/service.rb +266 -99
  263. data/generated/google/apis/site_verification_v1.rb +1 -1
  264. data/generated/google/apis/slides_v1.rb +49 -0
  265. data/generated/google/apis/slides_v1/classes.rb +4480 -0
  266. data/generated/google/apis/slides_v1/representations.rb +1926 -0
  267. data/generated/google/apis/slides_v1/service.rb +245 -0
  268. data/generated/google/apis/speech_v1beta1.rb +34 -0
  269. data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
  270. data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
  271. data/generated/google/apis/speech_v1beta1/service.rb +270 -0
  272. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  273. data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
  274. data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
  275. data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
  276. data/generated/google/apis/storage_v1.rb +1 -1
  277. data/generated/google/apis/storage_v1/classes.rb +205 -21
  278. data/generated/google/apis/storage_v1/representations.rb +51 -1
  279. data/generated/google/apis/storage_v1/service.rb +263 -9
  280. data/generated/google/apis/tagmanager_v1.rb +5 -5
  281. data/generated/google/apis/translate_v2.rb +2 -2
  282. data/generated/google/apis/translate_v2/service.rb +1 -1
  283. data/generated/google/apis/vision_v1.rb +1 -1
  284. data/generated/google/apis/vision_v1/classes.rb +1275 -731
  285. data/generated/google/apis/vision_v1/representations.rb +378 -111
  286. data/generated/google/apis/vision_v1/service.rb +4 -4
  287. data/generated/google/apis/webmasters_v3.rb +1 -1
  288. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  289. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  290. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  291. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
  292. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  293. data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
  294. data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
  295. data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
  296. data/generated/google/apis/youtube_v3.rb +1 -1
  297. data/generated/google/apis/youtube_v3/classes.rb +430 -22
  298. data/generated/google/apis/youtube_v3/representations.rb +171 -4
  299. data/generated/google/apis/youtube_v3/service.rb +100 -9
  300. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  301. data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
  302. data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
  303. data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
  304. data/google-api-client.gemspec +4 -3
  305. data/lib/google/apis/core/api_command.rb +16 -6
  306. data/lib/google/apis/core/base_service.rb +17 -9
  307. data/lib/google/apis/core/download.rb +7 -2
  308. data/lib/google/apis/core/http_command.rb +5 -1
  309. data/lib/google/apis/core/json_representation.rb +2 -2
  310. data/lib/google/apis/core/upload.rb +7 -1
  311. data/lib/google/apis/errors.rb +6 -2
  312. data/lib/google/apis/generator/annotator.rb +6 -0
  313. data/lib/google/apis/version.rb +1 -1
  314. data/samples/cli/lib/samples/bigquery.rb +101 -0
  315. data/samples/cli/lib/samples/calendar.rb +1 -1
  316. data/samples/cli/lib/samples/gmail.rb +74 -0
  317. data/samples/cli/lib/samples/sheets.rb +61 -0
  318. data/samples/cli/lib/samples/you_tube.rb +4 -1
  319. data/sync.rb +71 -0
  320. metadata +86 -18
@@ -22,6 +22,30 @@ module Google
22
22
  module Apis
23
23
  module DeploymentmanagerV2
24
24
 
25
+ class AuditConfig
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AuditLogConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Binding
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Condition
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
25
49
  class ConfigFile
26
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
51
 
@@ -76,6 +100,18 @@ module Google
76
100
  include Google::Apis::Core::JsonObjectSupport
77
101
  end
78
102
 
103
+ class LogConfig
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class LogConfigCounterOptions
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
79
115
  class Manifest
80
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
117
 
@@ -124,6 +160,12 @@ module Google
124
160
  include Google::Apis::Core::JsonObjectSupport
125
161
  end
126
162
 
163
+ class Policy
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
127
169
  class Resource
128
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
171
 
@@ -142,6 +184,12 @@ module Google
142
184
  include Google::Apis::Core::JsonObjectSupport
143
185
  end
144
186
 
187
+ class ResourceAccessControl
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
145
193
  class ResourceUpdate
146
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
195
 
@@ -178,12 +226,30 @@ module Google
178
226
  include Google::Apis::Core::JsonObjectSupport
179
227
  end
180
228
 
229
+ class Rule
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
181
235
  class TargetConfiguration
182
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
237
 
184
238
  include Google::Apis::Core::JsonObjectSupport
185
239
  end
186
240
 
241
+ class TestPermissionsRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class TestPermissionsResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
187
253
  class Type
188
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
255
 
@@ -196,6 +262,44 @@ module Google
196
262
  include Google::Apis::Core::JsonObjectSupport
197
263
  end
198
264
 
265
+ class AuditConfig
266
+ # @private
267
+ class Representation < Google::Apis::Core::JsonRepresentation
268
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::DeploymentmanagerV2::AuditLogConfig, decorator: Google::Apis::DeploymentmanagerV2::AuditLogConfig::Representation
269
+
270
+ collection :exempted_members, as: 'exemptedMembers'
271
+ property :service, as: 'service'
272
+ end
273
+ end
274
+
275
+ class AuditLogConfig
276
+ # @private
277
+ class Representation < Google::Apis::Core::JsonRepresentation
278
+ collection :exempted_members, as: 'exemptedMembers'
279
+ property :log_type, as: 'logType'
280
+ end
281
+ end
282
+
283
+ class Binding
284
+ # @private
285
+ class Representation < Google::Apis::Core::JsonRepresentation
286
+ collection :members, as: 'members'
287
+ property :role, as: 'role'
288
+ end
289
+ end
290
+
291
+ class Condition
292
+ # @private
293
+ class Representation < Google::Apis::Core::JsonRepresentation
294
+ property :iam, as: 'iam'
295
+ property :op, as: 'op'
296
+ property :svc, as: 'svc'
297
+ property :sys, as: 'sys'
298
+ property :value, as: 'value'
299
+ collection :values, as: 'values'
300
+ end
301
+ end
302
+
199
303
  class ConfigFile
200
304
  # @private
201
305
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -235,6 +339,7 @@ module Google
235
339
  class DeploymentUpdate
236
340
  # @private
237
341
  class Representation < Google::Apis::Core::JsonRepresentation
342
+ property :description, as: 'description'
238
343
  collection :labels, as: 'labels', class: Google::Apis::DeploymentmanagerV2::DeploymentUpdateLabelEntry, decorator: Google::Apis::DeploymentmanagerV2::DeploymentUpdateLabelEntry::Representation
239
344
 
240
345
  property :manifest, as: 'manifest'
@@ -280,6 +385,22 @@ module Google
280
385
  end
281
386
  end
282
387
 
388
+ class LogConfig
389
+ # @private
390
+ class Representation < Google::Apis::Core::JsonRepresentation
391
+ property :counter, as: 'counter', class: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions, decorator: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions::Representation
392
+
393
+ end
394
+ end
395
+
396
+ class LogConfigCounterOptions
397
+ # @private
398
+ class Representation < Google::Apis::Core::JsonRepresentation
399
+ property :field, as: 'field'
400
+ property :metric, as: 'metric'
401
+ end
402
+ end
403
+
283
404
  class Manifest
284
405
  # @private
285
406
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -380,9 +501,26 @@ module Google
380
501
  end
381
502
  end
382
503
 
504
+ class Policy
505
+ # @private
506
+ class Representation < Google::Apis::Core::JsonRepresentation
507
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::DeploymentmanagerV2::AuditConfig, decorator: Google::Apis::DeploymentmanagerV2::AuditConfig::Representation
508
+
509
+ collection :bindings, as: 'bindings', class: Google::Apis::DeploymentmanagerV2::Binding, decorator: Google::Apis::DeploymentmanagerV2::Binding::Representation
510
+
511
+ property :etag, :base64 => true, as: 'etag'
512
+ property :iam_owned, as: 'iamOwned'
513
+ collection :rules, as: 'rules', class: Google::Apis::DeploymentmanagerV2::Rule, decorator: Google::Apis::DeploymentmanagerV2::Rule::Representation
514
+
515
+ property :version, as: 'version'
516
+ end
517
+ end
518
+
383
519
  class Resource
384
520
  # @private
385
521
  class Representation < Google::Apis::Core::JsonRepresentation
522
+ property :access_control, as: 'accessControl', class: Google::Apis::DeploymentmanagerV2::ResourceAccessControl, decorator: Google::Apis::DeploymentmanagerV2::ResourceAccessControl::Representation
523
+
386
524
  property :final_properties, as: 'finalProperties'
387
525
  property :id, as: 'id'
388
526
  property :insert_time, as: 'insertTime'
@@ -417,9 +555,18 @@ module Google
417
555
  end
418
556
  end
419
557
 
558
+ class ResourceAccessControl
559
+ # @private
560
+ class Representation < Google::Apis::Core::JsonRepresentation
561
+ property :gcp_iam_policy, as: 'gcpIamPolicy'
562
+ end
563
+ end
564
+
420
565
  class ResourceUpdate
421
566
  # @private
422
567
  class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :access_control, as: 'accessControl', class: Google::Apis::DeploymentmanagerV2::ResourceAccessControl, decorator: Google::Apis::DeploymentmanagerV2::ResourceAccessControl::Representation
569
+
423
570
  property :error, as: 'error', class: Google::Apis::DeploymentmanagerV2::ResourceUpdate::Error, decorator: Google::Apis::DeploymentmanagerV2::ResourceUpdate::Error::Representation
424
571
 
425
572
  property :final_properties, as: 'finalProperties'
@@ -476,6 +623,21 @@ module Google
476
623
  end
477
624
  end
478
625
 
626
+ class Rule
627
+ # @private
628
+ class Representation < Google::Apis::Core::JsonRepresentation
629
+ property :action, as: 'action'
630
+ collection :conditions, as: 'conditions', class: Google::Apis::DeploymentmanagerV2::Condition, decorator: Google::Apis::DeploymentmanagerV2::Condition::Representation
631
+
632
+ property :description, as: 'description'
633
+ collection :ins, as: 'ins'
634
+ collection :log_configs, as: 'logConfigs', class: Google::Apis::DeploymentmanagerV2::LogConfig, decorator: Google::Apis::DeploymentmanagerV2::LogConfig::Representation
635
+
636
+ collection :not_ins, as: 'notIns'
637
+ collection :permissions, as: 'permissions'
638
+ end
639
+ end
640
+
479
641
  class TargetConfiguration
480
642
  # @private
481
643
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -486,12 +648,28 @@ module Google
486
648
  end
487
649
  end
488
650
 
651
+ class TestPermissionsRequest
652
+ # @private
653
+ class Representation < Google::Apis::Core::JsonRepresentation
654
+ collection :permissions, as: 'permissions'
655
+ end
656
+ end
657
+
658
+ class TestPermissionsResponse
659
+ # @private
660
+ class Representation < Google::Apis::Core::JsonRepresentation
661
+ collection :permissions, as: 'permissions'
662
+ end
663
+ end
664
+
489
665
  class Type
490
666
  # @private
491
667
  class Representation < Google::Apis::Core::JsonRepresentation
492
668
  property :id, as: 'id'
493
669
  property :insert_time, as: 'insertTime'
494
670
  property :name, as: 'name'
671
+ property :operation, as: 'operation', class: Google::Apis::DeploymentmanagerV2::Operation, decorator: Google::Apis::DeploymentmanagerV2::Operation::Representation
672
+
495
673
  property :self_link, as: 'selfLink'
496
674
  end
497
675
  end
@@ -98,6 +98,8 @@ module Google
98
98
  # The project ID for this request.
99
99
  # @param [String] deployment
100
100
  # The name of the deployment for this request.
101
+ # @param [String] delete_policy
102
+ # Sets the policy to use for deleting resources.
101
103
  # @param [String] fields
102
104
  # Selector specifying which fields to include in a partial response.
103
105
  # @param [String] quota_user
@@ -119,12 +121,13 @@ module Google
119
121
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
120
122
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
121
123
  # @raise [Google::Apis::AuthorizationError] Authorization is required
122
- def delete_deployment(project, deployment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
124
+ def delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
123
125
  command = make_simple_command(:delete, '{project}/global/deployments/{deployment}', options)
124
126
  command.response_representation = Google::Apis::DeploymentmanagerV2::Operation::Representation
125
127
  command.response_class = Google::Apis::DeploymentmanagerV2::Operation
126
128
  command.params['project'] = project unless project.nil?
127
129
  command.params['deployment'] = deployment unless deployment.nil?
130
+ command.query['deletePolicy'] = delete_policy unless delete_policy.nil?
128
131
  command.query['fields'] = fields unless fields.nil?
129
132
  command.query['quotaUser'] = quota_user unless quota_user.nil?
130
133
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -169,6 +172,45 @@ module Google
169
172
  execute_or_queue_command(command, &block)
170
173
  end
171
174
 
175
+ # Gets the access control policy for a resource. May be empty if no such policy
176
+ # or resource exists.
177
+ # @param [String] project
178
+ # Project ID for this request.
179
+ # @param [String] resource
180
+ # Name of the resource for this request.
181
+ # @param [String] fields
182
+ # Selector specifying which fields to include in a partial response.
183
+ # @param [String] quota_user
184
+ # Available to use for quota purposes for server-side applications. Can be any
185
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
186
+ # Overrides userIp if both are provided.
187
+ # @param [String] user_ip
188
+ # IP address of the site where the request originates. Use this if you want to
189
+ # enforce per-user limits.
190
+ # @param [Google::Apis::RequestOptions] options
191
+ # Request-specific options
192
+ #
193
+ # @yield [result, err] Result & error if block supplied
194
+ # @yieldparam result [Google::Apis::DeploymentmanagerV2::Policy] parsed result object
195
+ # @yieldparam err [StandardError] error object if request failed
196
+ #
197
+ # @return [Google::Apis::DeploymentmanagerV2::Policy]
198
+ #
199
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
200
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
201
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
202
+ def get_deployment_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
203
+ command = make_simple_command(:get, '{project}/global/deployments/{resource}/getIamPolicy', options)
204
+ command.response_representation = Google::Apis::DeploymentmanagerV2::Policy::Representation
205
+ command.response_class = Google::Apis::DeploymentmanagerV2::Policy
206
+ command.params['project'] = project unless project.nil?
207
+ command.params['resource'] = resource unless resource.nil?
208
+ command.query['fields'] = fields unless fields.nil?
209
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
210
+ command.query['userIp'] = user_ip unless user_ip.nil?
211
+ execute_or_queue_command(command, &block)
212
+ end
213
+
172
214
  # Creates a deployment and all of the resources described by the deployment
173
215
  # manifest.
174
216
  # @param [String] project
@@ -233,21 +275,28 @@ module Google
233
275
  # must match the entire field.
234
276
  # For example, to filter for instances that do not have a name of example-
235
277
  # instance, you would use filter=name ne example-instance.
236
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
237
- # filter on nested fields. For example, you could filter on instances that have
238
- # set the scheduling.automaticRestart field to true. Use filtering on nested
239
- # fields to take advantage of labels to organize and search for results based on
240
- # label values.
241
- # The Beta API also supports filtering on multiple expressions by providing each
242
- # separate expression within parentheses. For example, (scheduling.
243
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
244
- # treated as AND expressions, meaning that resources must match all expressions
245
- # to pass the filters.
278
+ # You can filter on nested fields. For example, you could filter on instances
279
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
280
+ # nested fields to take advantage of labels to organize and search for results
281
+ # based on label values.
282
+ # To filter on multiple expressions, provide each separate expression within
283
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
284
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
285
+ # resources must match all expressions to pass the filters.
246
286
  # @param [Fixnum] max_results
247
287
  # The maximum number of results per page that should be returned. If the number
248
288
  # of available results is larger than maxResults, Compute Engine returns a
249
289
  # nextPageToken that can be used to get the next page of results in subsequent
250
- # list requests.
290
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
291
+ # @param [String] order_by
292
+ # Sorts list results by a certain order. By default, results are returned in
293
+ # alphanumerical order based on the resource name.
294
+ # You can also sort results in descending order based on the creation timestamp
295
+ # using orderBy="creationTimestamp desc". This sorts results based on the
296
+ # creationTimestamp field in reverse chronological order (newest result first).
297
+ # Use this to sort resources like operations so that the newest operation is
298
+ # returned first.
299
+ # Currently, only sorting by name or creationTimestamp desc is supported.
251
300
  # @param [String] page_token
252
301
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
253
302
  # a previous list request to get the next page of results.
@@ -272,13 +321,14 @@ module Google
272
321
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
273
322
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
274
323
  # @raise [Google::Apis::AuthorizationError] Authorization is required
275
- def list_deployments(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
324
+ def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
276
325
  command = make_simple_command(:get, '{project}/global/deployments', options)
277
326
  command.response_representation = Google::Apis::DeploymentmanagerV2::ListDeploymentsResponse::Representation
278
327
  command.response_class = Google::Apis::DeploymentmanagerV2::ListDeploymentsResponse
279
328
  command.params['project'] = project unless project.nil?
280
329
  command.query['filter'] = filter unless filter.nil?
281
330
  command.query['maxResults'] = max_results unless max_results.nil?
331
+ command.query['orderBy'] = order_by unless order_by.nil?
282
332
  command.query['pageToken'] = page_token unless page_token.nil?
283
333
  command.query['fields'] = fields unless fields.nil?
284
334
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -345,6 +395,48 @@ module Google
345
395
  execute_or_queue_command(command, &block)
346
396
  end
347
397
 
398
+ # Sets the access control policy on the specified resource. Replaces any
399
+ # existing policy.
400
+ # @param [String] project
401
+ # Project ID for this request.
402
+ # @param [String] resource
403
+ # Name of the resource for this request.
404
+ # @param [Google::Apis::DeploymentmanagerV2::Policy] policy_object
405
+ # @param [String] fields
406
+ # Selector specifying which fields to include in a partial response.
407
+ # @param [String] quota_user
408
+ # Available to use for quota purposes for server-side applications. Can be any
409
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
410
+ # Overrides userIp if both are provided.
411
+ # @param [String] user_ip
412
+ # IP address of the site where the request originates. Use this if you want to
413
+ # enforce per-user limits.
414
+ # @param [Google::Apis::RequestOptions] options
415
+ # Request-specific options
416
+ #
417
+ # @yield [result, err] Result & error if block supplied
418
+ # @yieldparam result [Google::Apis::DeploymentmanagerV2::Policy] parsed result object
419
+ # @yieldparam err [StandardError] error object if request failed
420
+ #
421
+ # @return [Google::Apis::DeploymentmanagerV2::Policy]
422
+ #
423
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
424
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
425
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
426
+ def set_deployment_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
427
+ command = make_simple_command(:post, '{project}/global/deployments/{resource}/setIamPolicy', options)
428
+ command.request_representation = Google::Apis::DeploymentmanagerV2::Policy::Representation
429
+ command.request_object = policy_object
430
+ command.response_representation = Google::Apis::DeploymentmanagerV2::Policy::Representation
431
+ command.response_class = Google::Apis::DeploymentmanagerV2::Policy
432
+ command.params['project'] = project unless project.nil?
433
+ command.params['resource'] = resource unless resource.nil?
434
+ command.query['fields'] = fields unless fields.nil?
435
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
436
+ command.query['userIp'] = user_ip unless user_ip.nil?
437
+ execute_or_queue_command(command, &block)
438
+ end
439
+
348
440
  # Stops an ongoing operation. This does not roll back any work that has already
349
441
  # been completed, but prevents any new work from being started.
350
442
  # @param [String] project
@@ -387,6 +479,47 @@ module Google
387
479
  execute_or_queue_command(command, &block)
388
480
  end
389
481
 
482
+ # Returns permissions that a caller has on the specified resource.
483
+ # @param [String] project
484
+ # Project ID for this request.
485
+ # @param [String] resource
486
+ # Name of the resource for this request.
487
+ # @param [Google::Apis::DeploymentmanagerV2::TestPermissionsRequest] test_permissions_request_object
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::DeploymentmanagerV2::TestPermissionsResponse] parsed result object
502
+ # @yieldparam err [StandardError] error object if request failed
503
+ #
504
+ # @return [Google::Apis::DeploymentmanagerV2::TestPermissionsResponse]
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 test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
510
+ command = make_simple_command(:post, '{project}/global/deployments/{resource}/testIamPermissions', options)
511
+ command.request_representation = Google::Apis::DeploymentmanagerV2::TestPermissionsRequest::Representation
512
+ command.request_object = test_permissions_request_object
513
+ command.response_representation = Google::Apis::DeploymentmanagerV2::TestPermissionsResponse::Representation
514
+ command.response_class = Google::Apis::DeploymentmanagerV2::TestPermissionsResponse
515
+ command.params['project'] = project unless project.nil?
516
+ command.params['resource'] = resource unless resource.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
+
390
523
  # Updates a deployment and all of the resources described by the deployment
391
524
  # manifest.
392
525
  # @param [String] project
@@ -505,21 +638,28 @@ module Google
505
638
  # must match the entire field.
506
639
  # For example, to filter for instances that do not have a name of example-
507
640
  # instance, you would use filter=name ne example-instance.
508
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
509
- # filter on nested fields. For example, you could filter on instances that have
510
- # set the scheduling.automaticRestart field to true. Use filtering on nested
511
- # fields to take advantage of labels to organize and search for results based on
512
- # label values.
513
- # The Beta API also supports filtering on multiple expressions by providing each
514
- # separate expression within parentheses. For example, (scheduling.
515
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
516
- # treated as AND expressions, meaning that resources must match all expressions
517
- # to pass the filters.
641
+ # You can filter on nested fields. For example, you could filter on instances
642
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
643
+ # nested fields to take advantage of labels to organize and search for results
644
+ # based on label values.
645
+ # To filter on multiple expressions, provide each separate expression within
646
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
647
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
648
+ # resources must match all expressions to pass the filters.
518
649
  # @param [Fixnum] max_results
519
650
  # The maximum number of results per page that should be returned. If the number
520
651
  # of available results is larger than maxResults, Compute Engine returns a
521
652
  # nextPageToken that can be used to get the next page of results in subsequent
522
- # list requests.
653
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
654
+ # @param [String] order_by
655
+ # Sorts list results by a certain order. By default, results are returned in
656
+ # alphanumerical order based on the resource name.
657
+ # You can also sort results in descending order based on the creation timestamp
658
+ # using orderBy="creationTimestamp desc". This sorts results based on the
659
+ # creationTimestamp field in reverse chronological order (newest result first).
660
+ # Use this to sort resources like operations so that the newest operation is
661
+ # returned first.
662
+ # Currently, only sorting by name or creationTimestamp desc is supported.
523
663
  # @param [String] page_token
524
664
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
525
665
  # a previous list request to get the next page of results.
@@ -544,7 +684,7 @@ module Google
544
684
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
545
685
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
546
686
  # @raise [Google::Apis::AuthorizationError] Authorization is required
547
- def list_manifests(project, deployment, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
687
+ def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
548
688
  command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests', options)
549
689
  command.response_representation = Google::Apis::DeploymentmanagerV2::ListManifestsResponse::Representation
550
690
  command.response_class = Google::Apis::DeploymentmanagerV2::ListManifestsResponse
@@ -552,6 +692,7 @@ module Google
552
692
  command.params['deployment'] = deployment unless deployment.nil?
553
693
  command.query['filter'] = filter unless filter.nil?
554
694
  command.query['maxResults'] = max_results unless max_results.nil?
695
+ command.query['orderBy'] = order_by unless order_by.nil?
555
696
  command.query['pageToken'] = page_token unless page_token.nil?
556
697
  command.query['fields'] = fields unless fields.nil?
557
698
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -613,21 +754,28 @@ module Google
613
754
  # must match the entire field.
614
755
  # For example, to filter for instances that do not have a name of example-
615
756
  # instance, you would use filter=name ne example-instance.
616
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
617
- # filter on nested fields. For example, you could filter on instances that have
618
- # set the scheduling.automaticRestart field to true. Use filtering on nested
619
- # fields to take advantage of labels to organize and search for results based on
620
- # label values.
621
- # The Beta API also supports filtering on multiple expressions by providing each
622
- # separate expression within parentheses. For example, (scheduling.
623
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
624
- # treated as AND expressions, meaning that resources must match all expressions
625
- # to pass the filters.
757
+ # You can filter on nested fields. For example, you could filter on instances
758
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
759
+ # nested fields to take advantage of labels to organize and search for results
760
+ # based on label values.
761
+ # To filter on multiple expressions, provide each separate expression within
762
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
763
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
764
+ # resources must match all expressions to pass the filters.
626
765
  # @param [Fixnum] max_results
627
766
  # The maximum number of results per page that should be returned. If the number
628
767
  # of available results is larger than maxResults, Compute Engine returns a
629
768
  # nextPageToken that can be used to get the next page of results in subsequent
630
- # list requests.
769
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
770
+ # @param [String] order_by
771
+ # Sorts list results by a certain order. By default, results are returned in
772
+ # alphanumerical order based on the resource name.
773
+ # You can also sort results in descending order based on the creation timestamp
774
+ # using orderBy="creationTimestamp desc". This sorts results based on the
775
+ # creationTimestamp field in reverse chronological order (newest result first).
776
+ # Use this to sort resources like operations so that the newest operation is
777
+ # returned first.
778
+ # Currently, only sorting by name or creationTimestamp desc is supported.
631
779
  # @param [String] page_token
632
780
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
633
781
  # a previous list request to get the next page of results.
@@ -652,13 +800,14 @@ module Google
652
800
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
653
801
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
654
802
  # @raise [Google::Apis::AuthorizationError] Authorization is required
655
- def list_operations(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
803
+ def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
656
804
  command = make_simple_command(:get, '{project}/global/operations', options)
657
805
  command.response_representation = Google::Apis::DeploymentmanagerV2::ListOperationsResponse::Representation
658
806
  command.response_class = Google::Apis::DeploymentmanagerV2::ListOperationsResponse
659
807
  command.params['project'] = project unless project.nil?
660
808
  command.query['filter'] = filter unless filter.nil?
661
809
  command.query['maxResults'] = max_results unless max_results.nil?
810
+ command.query['orderBy'] = order_by unless order_by.nil?
662
811
  command.query['pageToken'] = page_token unless page_token.nil?
663
812
  command.query['fields'] = fields unless fields.nil?
664
813
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -725,21 +874,28 @@ module Google
725
874
  # must match the entire field.
726
875
  # For example, to filter for instances that do not have a name of example-
727
876
  # instance, you would use filter=name ne example-instance.
728
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
729
- # filter on nested fields. For example, you could filter on instances that have
730
- # set the scheduling.automaticRestart field to true. Use filtering on nested
731
- # fields to take advantage of labels to organize and search for results based on
732
- # label values.
733
- # The Beta API also supports filtering on multiple expressions by providing each
734
- # separate expression within parentheses. For example, (scheduling.
735
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
736
- # treated as AND expressions, meaning that resources must match all expressions
737
- # to pass the filters.
877
+ # You can filter on nested fields. For example, you could filter on instances
878
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
879
+ # nested fields to take advantage of labels to organize and search for results
880
+ # based on label values.
881
+ # To filter on multiple expressions, provide each separate expression within
882
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
883
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
884
+ # resources must match all expressions to pass the filters.
738
885
  # @param [Fixnum] max_results
739
886
  # The maximum number of results per page that should be returned. If the number
740
887
  # of available results is larger than maxResults, Compute Engine returns a
741
888
  # nextPageToken that can be used to get the next page of results in subsequent
742
- # list requests.
889
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
890
+ # @param [String] order_by
891
+ # Sorts list results by a certain order. By default, results are returned in
892
+ # alphanumerical order based on the resource name.
893
+ # You can also sort results in descending order based on the creation timestamp
894
+ # using orderBy="creationTimestamp desc". This sorts results based on the
895
+ # creationTimestamp field in reverse chronological order (newest result first).
896
+ # Use this to sort resources like operations so that the newest operation is
897
+ # returned first.
898
+ # Currently, only sorting by name or creationTimestamp desc is supported.
743
899
  # @param [String] page_token
744
900
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
745
901
  # a previous list request to get the next page of results.
@@ -764,7 +920,7 @@ module Google
764
920
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
765
921
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
766
922
  # @raise [Google::Apis::AuthorizationError] Authorization is required
767
- def list_resources(project, deployment, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
923
+ def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
768
924
  command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources', options)
769
925
  command.response_representation = Google::Apis::DeploymentmanagerV2::ListResourcesResponse::Representation
770
926
  command.response_class = Google::Apis::DeploymentmanagerV2::ListResourcesResponse
@@ -772,6 +928,7 @@ module Google
772
928
  command.params['deployment'] = deployment unless deployment.nil?
773
929
  command.query['filter'] = filter unless filter.nil?
774
930
  command.query['maxResults'] = max_results unless max_results.nil?
931
+ command.query['orderBy'] = order_by unless order_by.nil?
775
932
  command.query['pageToken'] = page_token unless page_token.nil?
776
933
  command.query['fields'] = fields unless fields.nil?
777
934
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -795,21 +952,28 @@ module Google
795
952
  # must match the entire field.
796
953
  # For example, to filter for instances that do not have a name of example-
797
954
  # instance, you would use filter=name ne example-instance.
798
- # Compute Engine Beta API Only: When filtering in the Beta API, you can also
799
- # filter on nested fields. For example, you could filter on instances that have
800
- # set the scheduling.automaticRestart field to true. Use filtering on nested
801
- # fields to take advantage of labels to organize and search for results based on
802
- # label values.
803
- # The Beta API also supports filtering on multiple expressions by providing each
804
- # separate expression within parentheses. For example, (scheduling.
805
- # automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
806
- # treated as AND expressions, meaning that resources must match all expressions
807
- # to pass the filters.
955
+ # You can filter on nested fields. For example, you could filter on instances
956
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
957
+ # nested fields to take advantage of labels to organize and search for results
958
+ # based on label values.
959
+ # To filter on multiple expressions, provide each separate expression within
960
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
961
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
962
+ # resources must match all expressions to pass the filters.
808
963
  # @param [Fixnum] max_results
809
964
  # The maximum number of results per page that should be returned. If the number
810
965
  # of available results is larger than maxResults, Compute Engine returns a
811
966
  # nextPageToken that can be used to get the next page of results in subsequent
812
- # list requests.
967
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
968
+ # @param [String] order_by
969
+ # Sorts list results by a certain order. By default, results are returned in
970
+ # alphanumerical order based on the resource name.
971
+ # You can also sort results in descending order based on the creation timestamp
972
+ # using orderBy="creationTimestamp desc". This sorts results based on the
973
+ # creationTimestamp field in reverse chronological order (newest result first).
974
+ # Use this to sort resources like operations so that the newest operation is
975
+ # returned first.
976
+ # Currently, only sorting by name or creationTimestamp desc is supported.
813
977
  # @param [String] page_token
814
978
  # Specifies a page token to use. Set pageToken to the nextPageToken returned by
815
979
  # a previous list request to get the next page of results.
@@ -834,13 +998,14 @@ module Google
834
998
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
835
999
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
836
1000
  # @raise [Google::Apis::AuthorizationError] Authorization is required
837
- def list_types(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1001
+ def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
838
1002
  command = make_simple_command(:get, '{project}/global/types', options)
839
1003
  command.response_representation = Google::Apis::DeploymentmanagerV2::ListTypesResponse::Representation
840
1004
  command.response_class = Google::Apis::DeploymentmanagerV2::ListTypesResponse
841
1005
  command.params['project'] = project unless project.nil?
842
1006
  command.query['filter'] = filter unless filter.nil?
843
1007
  command.query['maxResults'] = max_results unless max_results.nil?
1008
+ command.query['orderBy'] = order_by unless order_by.nil?
844
1009
  command.query['pageToken'] = page_token unless page_token.nil?
845
1010
  command.query['fields'] = fields unless fields.nil?
846
1011
  command.query['quotaUser'] = quota_user unless quota_user.nil?