google-api-client 0.13.2 → 0.13.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (524) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +149 -0
  3. data/bin/generate-api +6 -2
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
  12. data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
  13. data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
  14. data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
  15. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
  16. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
  22. data/generated/google/apis/adexchangeseller_v1.rb +37 -0
  23. data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
  24. data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
  25. data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
  26. data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
  27. data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
  28. data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
  29. data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
  30. data/generated/google/apis/adexperiencereport_v1.rb +35 -0
  31. data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
  32. data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
  33. data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
  34. data/generated/google/apis/admin_directory_v1.rb +1 -1
  35. data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
  36. data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
  37. data/generated/google/apis/admin_directory_v1/service.rb +39 -0
  38. data/generated/google/apis/adsense_v1_4.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  40. data/generated/google/apis/analytics_v2_4.rb +37 -0
  41. data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
  42. data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
  43. data/generated/google/apis/analytics_v2_4/service.rb +345 -0
  44. data/generated/google/apis/analytics_v3.rb +1 -1
  45. data/generated/google/apis/analytics_v3/classes.rb +15 -2
  46. data/generated/google/apis/analytics_v3/representations.rb +3 -0
  47. data/generated/google/apis/analyticsreporting_v4.rb +4 -4
  48. data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
  49. data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
  50. data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
  51. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
  52. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
  53. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
  54. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  55. data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
  56. data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
  57. data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
  58. data/generated/google/apis/androidmanagement_v1.rb +35 -0
  59. data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
  60. data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
  61. data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
  62. data/generated/google/apis/androidpublisher_v1.rb +34 -0
  63. data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
  64. data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
  65. data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
  66. data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
  67. data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
  68. data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
  69. data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
  70. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  71. data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
  72. data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
  73. data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
  74. data/generated/google/apis/appengine_v1.rb +4 -4
  75. data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
  76. data/generated/google/apis/appengine_v1/representations.rb +351 -335
  77. data/generated/google/apis/appengine_v1/service.rb +255 -239
  78. data/generated/google/apis/appengine_v1alpha.rb +41 -0
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
  80. data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
  81. data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
  82. data/generated/google/apis/appengine_v1beta.rb +41 -0
  83. data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
  84. data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
  85. data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
  86. data/generated/google/apis/appengine_v1beta4.rb +41 -0
  87. data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
  88. data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
  89. data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
  90. data/generated/google/apis/appengine_v1beta5.rb +41 -0
  91. data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
  92. data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
  93. data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
  94. data/generated/google/apis/appsactivity_v1.rb +1 -1
  95. data/generated/google/apis/appstate_v1.rb +1 -1
  96. data/generated/google/apis/bigquery_v2.rb +1 -1
  97. data/generated/google/apis/bigquery_v2/classes.rb +106 -18
  98. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  99. data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
  100. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
  101. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
  102. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
  103. data/generated/google/apis/blogger_v2.rb +34 -0
  104. data/generated/google/apis/blogger_v2/classes.rb +947 -0
  105. data/generated/google/apis/blogger_v2/representations.rb +465 -0
  106. data/generated/google/apis/blogger_v2/service.rb +424 -0
  107. data/generated/google/apis/calendar_v3.rb +1 -1
  108. data/generated/google/apis/calendar_v3/classes.rb +4 -207
  109. data/generated/google/apis/calendar_v3/representations.rb +0 -97
  110. data/generated/google/apis/calendar_v3/service.rb +8 -4
  111. data/generated/google/apis/classroom_v1.rb +27 -27
  112. data/generated/google/apis/classroom_v1/classes.rb +1037 -926
  113. data/generated/google/apis/classroom_v1/representations.rb +294 -244
  114. data/generated/google/apis/classroom_v1/service.rb +1114 -1109
  115. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  116. data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
  117. data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
  118. data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
  119. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  120. data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
  121. data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
  122. data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
  123. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  124. data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
  125. data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
  126. data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
  127. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  128. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
  129. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
  130. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
  131. data/generated/google/apis/cloudfunctions_v1.rb +4 -1
  132. data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
  133. data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
  135. data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
  136. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
  137. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
  138. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
  139. data/generated/google/apis/cloudkms_v1.rb +1 -1
  140. data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
  141. data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
  142. data/generated/google/apis/cloudkms_v1/service.rb +320 -320
  143. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  145. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
  146. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  147. data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
  148. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  149. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
  150. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
  151. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
  152. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
  153. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
  154. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
  155. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
  156. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  157. data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
  158. data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
  159. data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
  160. data/generated/google/apis/cloudtrace_v2.rb +43 -0
  161. data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
  162. data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
  163. data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
  164. data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
  165. data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
  166. data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
  167. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
  168. data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
  169. data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
  170. data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
  171. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
  172. data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
  173. data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
  174. data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
  175. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
  176. data/generated/google/apis/compute_alpha.rb +49 -0
  177. data/generated/google/apis/compute_alpha/classes.rb +23796 -0
  178. data/generated/google/apis/compute_alpha/representations.rb +9391 -0
  179. data/generated/google/apis/compute_alpha/service.rb +24188 -0
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_beta/classes.rb +1597 -235
  182. data/generated/google/apis/compute_beta/representations.rb +477 -0
  183. data/generated/google/apis/compute_beta/service.rb +2875 -1677
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/compute_v1/classes.rb +319 -197
  186. data/generated/google/apis/compute_v1/representations.rb +51 -0
  187. data/generated/google/apis/compute_v1/service.rb +2057 -172
  188. data/generated/google/apis/consumersurveys_v2.rb +40 -0
  189. data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
  190. data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
  191. data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
  192. data/generated/google/apis/container_v1.rb +1 -1
  193. data/generated/google/apis/container_v1/classes.rb +1072 -936
  194. data/generated/google/apis/container_v1/representations.rb +266 -202
  195. data/generated/google/apis/container_v1/service.rb +243 -243
  196. data/generated/google/apis/container_v1beta1.rb +35 -0
  197. data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
  198. data/generated/google/apis/container_v1beta1/representations.rb +662 -0
  199. data/generated/google/apis/container_v1beta1/service.rb +1875 -0
  200. data/generated/google/apis/content_v2.rb +1 -1
  201. data/generated/google/apis/content_v2/classes.rb +72 -3
  202. data/generated/google/apis/content_v2/representations.rb +23 -0
  203. data/generated/google/apis/content_v2/service.rb +23 -18
  204. data/generated/google/apis/content_v2sandbox.rb +35 -0
  205. data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
  206. data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
  207. data/generated/google/apis/content_v2sandbox/service.rb +709 -0
  208. data/generated/google/apis/dataflow_v1b3.rb +5 -5
  209. data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
  210. data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
  211. data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
  212. data/generated/google/apis/dataproc_v1.rb +1 -1
  213. data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
  214. data/generated/google/apis/dataproc_v1/representations.rb +227 -227
  215. data/generated/google/apis/dataproc_v1/service.rb +254 -254
  216. data/generated/google/apis/dataproc_v1beta2.rb +34 -0
  217. data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
  218. data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
  220. data/generated/google/apis/datastore_v1.rb +4 -4
  221. data/generated/google/apis/datastore_v1/classes.rb +1311 -773
  222. data/generated/google/apis/datastore_v1/representations.rb +351 -148
  223. data/generated/google/apis/datastore_v1/service.rb +206 -55
  224. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  225. data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
  226. data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
  227. data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
  228. data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
  229. data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
  230. data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
  231. data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
  232. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  233. data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
  234. data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
  235. data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
  236. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
  237. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
  238. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
  239. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  240. data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
  241. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
  242. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  243. data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
  244. data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
  245. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
  246. data/generated/google/apis/dlp_v2beta1.rb +36 -0
  247. data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
  248. data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
  249. data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
  250. data/generated/google/apis/dns_v1.rb +1 -1
  251. data/generated/google/apis/dns_v2beta1.rb +1 -1
  252. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  253. data/generated/google/apis/drive_v2.rb +1 -1
  254. data/generated/google/apis/drive_v3.rb +1 -1
  255. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  256. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
  257. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
  258. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  259. data/generated/google/apis/firebaserules_v1.rb +1 -1
  260. data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
  261. data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
  262. data/generated/google/apis/firebaserules_v1/service.rb +113 -113
  263. data/generated/google/apis/fitness_v1.rb +1 -1
  264. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  265. data/generated/google/apis/fusiontables_v1.rb +37 -0
  266. data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
  267. data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
  268. data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
  269. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  270. data/generated/google/apis/games_management_v1management.rb +1 -1
  271. data/generated/google/apis/games_v1.rb +1 -1
  272. data/generated/google/apis/genomics_v1.rb +8 -8
  273. data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
  274. data/generated/google/apis/genomics_v1/representations.rb +482 -482
  275. data/generated/google/apis/genomics_v1/service.rb +966 -966
  276. data/generated/google/apis/genomics_v1alpha2.rb +40 -0
  277. data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
  278. data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
  279. data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
  280. data/generated/google/apis/gmail_v1.rb +1 -1
  281. data/generated/google/apis/iam_v1.rb +1 -1
  282. data/generated/google/apis/iam_v1/classes.rb +664 -395
  283. data/generated/google/apis/iam_v1/representations.rb +194 -81
  284. data/generated/google/apis/iam_v1/service.rb +657 -92
  285. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  286. data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
  287. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  288. data/generated/google/apis/kgsearch_v1/service.rb +8 -8
  289. data/generated/google/apis/language_v1.rb +4 -1
  290. data/generated/google/apis/language_v1/classes.rb +393 -393
  291. data/generated/google/apis/language_v1/representations.rb +95 -95
  292. data/generated/google/apis/language_v1/service.rb +42 -42
  293. data/generated/google/apis/language_v1beta1.rb +4 -1
  294. data/generated/google/apis/language_v1beta1/classes.rb +457 -457
  295. data/generated/google/apis/language_v1beta1/representations.rb +114 -114
  296. data/generated/google/apis/language_v1beta1/service.rb +48 -48
  297. data/generated/google/apis/language_v1beta2.rb +39 -0
  298. data/generated/google/apis/language_v1beta2/classes.rb +824 -0
  299. data/generated/google/apis/language_v1beta2/representations.rb +373 -0
  300. data/generated/google/apis/language_v1beta2/service.rb +217 -0
  301. data/generated/google/apis/logging_v2.rb +9 -9
  302. data/generated/google/apis/logging_v2/classes.rb +840 -834
  303. data/generated/google/apis/logging_v2/representations.rb +168 -167
  304. data/generated/google/apis/logging_v2/service.rb +667 -463
  305. data/generated/google/apis/logging_v2beta1.rb +9 -9
  306. data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
  307. data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
  308. data/generated/google/apis/logging_v2beta1/service.rb +253 -255
  309. data/generated/google/apis/manufacturers_v1.rb +1 -1
  310. data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
  311. data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
  312. data/generated/google/apis/manufacturers_v1/service.rb +8 -7
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +1487 -1676
  315. data/generated/google/apis/ml_v1/representations.rb +229 -299
  316. data/generated/google/apis/ml_v1/service.rb +359 -253
  317. data/generated/google/apis/ml_v1beta1.rb +34 -0
  318. data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
  319. data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
  320. data/generated/google/apis/ml_v1beta1/service.rb +975 -0
  321. data/generated/google/apis/monitoring_v3.rb +6 -6
  322. data/generated/google/apis/monitoring_v3/classes.rb +834 -834
  323. data/generated/google/apis/monitoring_v3/representations.rb +168 -168
  324. data/generated/google/apis/monitoring_v3/service.rb +330 -330
  325. data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
  326. data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
  327. data/generated/google/apis/mybusiness_v3/service.rb +241 -241
  328. data/generated/google/apis/oauth2_v1.rb +43 -0
  329. data/generated/google/apis/oauth2_v1/classes.rb +321 -0
  330. data/generated/google/apis/oauth2_v1/representations.rb +135 -0
  331. data/generated/google/apis/oauth2_v1/service.rb +337 -0
  332. data/generated/google/apis/oauth2_v2.rb +1 -1
  333. data/generated/google/apis/oslogin_v1alpha.rb +37 -0
  334. data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
  335. data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
  336. data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
  337. data/generated/google/apis/pagespeedonline_v1.rb +32 -0
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
  341. data/generated/google/apis/partners_v2.rb +1 -1
  342. data/generated/google/apis/partners_v2/classes.rb +1512 -1512
  343. data/generated/google/apis/partners_v2/representations.rb +368 -368
  344. data/generated/google/apis/partners_v2/service.rb +596 -596
  345. data/generated/google/apis/people_v1.rb +15 -15
  346. data/generated/google/apis/people_v1/classes.rb +1384 -1383
  347. data/generated/google/apis/people_v1/representations.rb +311 -311
  348. data/generated/google/apis/people_v1/service.rb +208 -202
  349. data/generated/google/apis/playcustomapp_v1.rb +34 -0
  350. data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
  351. data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
  352. data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
  353. data/generated/google/apis/playmoviespartner_v1.rb +34 -0
  354. data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
  355. data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
  356. data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
  357. data/generated/google/apis/plus_domains_v1.rb +1 -1
  358. data/generated/google/apis/plus_v1.rb +1 -1
  359. data/generated/google/apis/prediction_v1_2.rb +44 -0
  360. data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
  361. data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
  362. data/generated/google/apis/prediction_v1_2/service.rb +287 -0
  363. data/generated/google/apis/prediction_v1_3.rb +44 -0
  364. data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
  365. data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
  366. data/generated/google/apis/prediction_v1_3/service.rb +284 -0
  367. data/generated/google/apis/prediction_v1_4.rb +44 -0
  368. data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
  369. data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
  370. data/generated/google/apis/prediction_v1_4/service.rb +284 -0
  371. data/generated/google/apis/prediction_v1_5.rb +44 -0
  372. data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
  373. data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
  374. data/generated/google/apis/prediction_v1_5/service.rb +357 -0
  375. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  376. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
  377. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
  378. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
  379. data/generated/google/apis/pubsub_v1.rb +4 -4
  380. data/generated/google/apis/pubsub_v1/classes.rb +352 -352
  381. data/generated/google/apis/pubsub_v1/representations.rb +77 -77
  382. data/generated/google/apis/pubsub_v1/service.rb +346 -346
  383. data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
  384. data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
  385. data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
  386. data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
  387. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  388. data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
  389. data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
  390. data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
  391. data/generated/google/apis/replicapool_v1beta1.rb +50 -0
  392. data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
  393. data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
  394. data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
  395. data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
  396. data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
  397. data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
  398. data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
  399. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  400. data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
  401. data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
  402. data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
  403. data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
  404. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
  405. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
  406. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
  407. data/generated/google/apis/safebrowsing_v4.rb +32 -0
  408. data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
  409. data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
  410. data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
  411. data/generated/google/apis/script_v1.rb +19 -19
  412. data/generated/google/apis/script_v1/classes.rb +99 -157
  413. data/generated/google/apis/script_v1/representations.rb +17 -47
  414. data/generated/google/apis/script_v1/service.rb +12 -12
  415. data/generated/google/apis/searchconsole_v1.rb +1 -1
  416. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  417. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  418. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  419. data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
  420. data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
  421. data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
  422. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  423. data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
  424. data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
  425. data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
  426. data/generated/google/apis/serviceuser_v1.rb +5 -5
  427. data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
  428. data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
  429. data/generated/google/apis/serviceuser_v1/service.rb +43 -43
  430. data/generated/google/apis/sheets_v4.rb +7 -7
  431. data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
  432. data/generated/google/apis/sheets_v4/representations.rb +931 -930
  433. data/generated/google/apis/sheets_v4/service.rb +244 -244
  434. data/generated/google/apis/slides_v1.rb +10 -10
  435. data/generated/google/apis/slides_v1/classes.rb +2915 -2915
  436. data/generated/google/apis/slides_v1/representations.rb +698 -698
  437. data/generated/google/apis/slides_v1/service.rb +35 -35
  438. data/generated/google/apis/sourcerepo_v1.rb +3 -3
  439. data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
  440. data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
  441. data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
  442. data/generated/google/apis/spanner_v1.rb +4 -4
  443. data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
  444. data/generated/google/apis/spanner_v1/representations.rb +338 -323
  445. data/generated/google/apis/spanner_v1/service.rb +689 -689
  446. data/generated/google/apis/spectrum_v1explorer.rb +31 -0
  447. data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
  448. data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
  449. data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
  450. data/generated/google/apis/speech_v1.rb +34 -0
  451. data/generated/google/apis/speech_v1/classes.rb +572 -0
  452. data/generated/google/apis/speech_v1/representations.rb +236 -0
  453. data/generated/google/apis/speech_v1/service.rb +277 -0
  454. data/generated/google/apis/speech_v1beta1.rb +1 -1
  455. data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
  456. data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
  457. data/generated/google/apis/speech_v1beta1/service.rb +46 -46
  458. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  459. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
  460. data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
  461. data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
  462. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  463. data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
  464. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  465. data/generated/google/apis/storage_v1.rb +1 -1
  466. data/generated/google/apis/storage_v1/classes.rb +7 -6
  467. data/generated/google/apis/storage_v1/service.rb +51 -29
  468. data/generated/google/apis/storage_v1beta1.rb +40 -0
  469. data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
  470. data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
  471. data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
  472. data/generated/google/apis/storage_v1beta2.rb +40 -0
  473. data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
  474. data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
  475. data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
  476. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  477. data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
  478. data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
  479. data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
  480. data/generated/google/apis/streetviewpublish_v1.rb +36 -0
  481. data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
  482. data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
  483. data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
  484. data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
  485. data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
  486. data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
  487. data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
  488. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  489. data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
  490. data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
  491. data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
  492. data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
  493. data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
  494. data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
  495. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
  496. data/generated/google/apis/translate_v2/classes.rb +111 -111
  497. data/generated/google/apis/translate_v2/representations.rb +49 -49
  498. data/generated/google/apis/translate_v2/service.rb +94 -94
  499. data/generated/google/apis/vault_v1.rb +31 -0
  500. data/generated/google/apis/vault_v1/classes.rb +554 -0
  501. data/generated/google/apis/vault_v1/representations.rb +318 -0
  502. data/generated/google/apis/vault_v1/service.rb +677 -0
  503. data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
  504. data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
  505. data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
  506. data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
  507. data/generated/google/apis/vision_v1.rb +4 -4
  508. data/generated/google/apis/vision_v1/classes.rb +1176 -1178
  509. data/generated/google/apis/vision_v1/representations.rb +235 -235
  510. data/generated/google/apis/webmasters_v3.rb +1 -1
  511. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  512. data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
  513. data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
  514. data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
  515. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
  516. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  517. data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
  518. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
  519. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  520. data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
  521. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  522. data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
  523. data/lib/google/apis/version.rb +1 -1
  524. metadata +246 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/deployment-manager/
26
26
  module DeploymentmanagerV2
27
27
  VERSION = 'V2'
28
- REVISION = '20170615'
28
+ REVISION = '20170810'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -101,6 +101,25 @@ module Google
101
101
  end
102
102
  end
103
103
 
104
+ # Authorization-related information used by Cloud Audit Logging.
105
+ class AuthorizationLoggingOptions
106
+ include Google::Apis::Core::Hashable
107
+
108
+ # The type of the permission that was checked.
109
+ # Corresponds to the JSON property `permissionType`
110
+ # @return [String]
111
+ attr_accessor :permission_type
112
+
113
+ def initialize(**args)
114
+ update!(**args)
115
+ end
116
+
117
+ # Update properties of this object
118
+ def update!(**args)
119
+ @permission_type = args[:permission_type] if args.key?(:permission_type)
120
+ end
121
+ end
122
+
104
123
  # Associates `members` with a `role`.
105
124
  class Binding
106
125
  include Google::Apis::Core::Hashable
@@ -562,11 +581,30 @@ module Google
562
581
  # @return [Google::Apis::DeploymentmanagerV2::LogConfigCloudAuditOptions]
563
582
  attr_accessor :cloud_audit
564
583
 
565
- # Options for counters
584
+ # Increment a streamz counter with the specified metric and field names.
585
+ # Metric names should start with a '/', generally be lowercase-only, and end in "
586
+ # _count". Field names should not contain an initial slash. The actual exported
587
+ # metric names will have "/iam/policy" prepended.
588
+ # Field names correspond to IAM request parameters and field values are their
589
+ # respective values.
590
+ # At present the only supported field names are - "iam_principal", corresponding
591
+ # to IAMContext.principal; - "" (empty string), resulting in one aggretated
592
+ # counter with no field.
593
+ # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
594
+ # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
595
+ # of IAMContext.principal]`
596
+ # At this time we do not support: * multiple field names (though this may be
597
+ # supported in the future) * decrementing the counter * incrementing it by
598
+ # anything other than 1
566
599
  # Corresponds to the JSON property `counter`
567
600
  # @return [Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions]
568
601
  attr_accessor :counter
569
602
 
603
+ # Write a Data Access (Gin) log
604
+ # Corresponds to the JSON property `dataAccess`
605
+ # @return [Google::Apis::DeploymentmanagerV2::LogConfigDataAccessOptions]
606
+ attr_accessor :data_access
607
+
570
608
  def initialize(**args)
571
609
  update!(**args)
572
610
  end
@@ -575,6 +613,7 @@ module Google
575
613
  def update!(**args)
576
614
  @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
577
615
  @counter = args[:counter] if args.key?(:counter)
616
+ @data_access = args[:data_access] if args.key?(:data_access)
578
617
  end
579
618
  end
580
619
 
@@ -582,6 +621,11 @@ module Google
582
621
  class LogConfigCloudAuditOptions
583
622
  include Google::Apis::Core::Hashable
584
623
 
624
+ # Authorization-related information used by Cloud Audit Logging.
625
+ # Corresponds to the JSON property `authorizationLoggingOptions`
626
+ # @return [Google::Apis::DeploymentmanagerV2::AuthorizationLoggingOptions]
627
+ attr_accessor :authorization_logging_options
628
+
585
629
  # The log_name to populate in the Cloud Audit Record.
586
630
  # Corresponds to the JSON property `logName`
587
631
  # @return [String]
@@ -593,11 +637,26 @@ module Google
593
637
 
594
638
  # Update properties of this object
595
639
  def update!(**args)
640
+ @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
596
641
  @log_name = args[:log_name] if args.key?(:log_name)
597
642
  end
598
643
  end
599
644
 
600
- # Options for counters
645
+ # Increment a streamz counter with the specified metric and field names.
646
+ # Metric names should start with a '/', generally be lowercase-only, and end in "
647
+ # _count". Field names should not contain an initial slash. The actual exported
648
+ # metric names will have "/iam/policy" prepended.
649
+ # Field names correspond to IAM request parameters and field values are their
650
+ # respective values.
651
+ # At present the only supported field names are - "iam_principal", corresponding
652
+ # to IAMContext.principal; - "" (empty string), resulting in one aggretated
653
+ # counter with no field.
654
+ # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
655
+ # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
656
+ # of IAMContext.principal]`
657
+ # At this time we do not support: * multiple field names (though this may be
658
+ # supported in the future) * decrementing the counter * incrementing it by
659
+ # anything other than 1
601
660
  class LogConfigCounterOptions
602
661
  include Google::Apis::Core::Hashable
603
662
 
@@ -622,6 +681,26 @@ module Google
622
681
  end
623
682
  end
624
683
 
684
+ # Write a Data Access (Gin) log
685
+ class LogConfigDataAccessOptions
686
+ include Google::Apis::Core::Hashable
687
+
688
+ # Whether Gin logging should happen in a fail-closed manner at the caller. This
689
+ # is relevant only in the LocalIAM implementation, for now.
690
+ # Corresponds to the JSON property `logMode`
691
+ # @return [String]
692
+ attr_accessor :log_mode
693
+
694
+ def initialize(**args)
695
+ update!(**args)
696
+ end
697
+
698
+ # Update properties of this object
699
+ def update!(**args)
700
+ @log_mode = args[:log_mode] if args.key?(:log_mode)
701
+ end
702
+ end
703
+
625
704
  #
626
705
  class Manifest
627
706
  include Google::Apis::Core::Hashable
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class AuthorizationLoggingOptions
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class Binding
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -124,6 +130,12 @@ module Google
124
130
  include Google::Apis::Core::JsonObjectSupport
125
131
  end
126
132
 
133
+ class LogConfigDataAccessOptions
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
127
139
  class Manifest
128
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
141
 
@@ -292,6 +304,13 @@ module Google
292
304
  end
293
305
  end
294
306
 
307
+ class AuthorizationLoggingOptions
308
+ # @private
309
+ class Representation < Google::Apis::Core::JsonRepresentation
310
+ property :permission_type, as: 'permissionType'
311
+ end
312
+ end
313
+
295
314
  class Binding
296
315
  # @private
297
316
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -416,12 +435,16 @@ module Google
416
435
 
417
436
  property :counter, as: 'counter', class: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions, decorator: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions::Representation
418
437
 
438
+ property :data_access, as: 'dataAccess', class: Google::Apis::DeploymentmanagerV2::LogConfigDataAccessOptions, decorator: Google::Apis::DeploymentmanagerV2::LogConfigDataAccessOptions::Representation
439
+
419
440
  end
420
441
  end
421
442
 
422
443
  class LogConfigCloudAuditOptions
423
444
  # @private
424
445
  class Representation < Google::Apis::Core::JsonRepresentation
446
+ property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::DeploymentmanagerV2::AuthorizationLoggingOptions, decorator: Google::Apis::DeploymentmanagerV2::AuthorizationLoggingOptions::Representation
447
+
425
448
  property :log_name, as: 'logName'
426
449
  end
427
450
  end
@@ -434,6 +457,13 @@ module Google
434
457
  end
435
458
  end
436
459
 
460
+ class LogConfigDataAccessOptions
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ property :log_mode, as: 'logMode'
464
+ end
465
+ end
466
+
437
467
  class Manifest
438
468
  # @private
439
469
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -0,0 +1,44 @@
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/deploymentmanager_v2beta/service.rb'
16
+ require 'google/apis/deploymentmanager_v2beta/classes.rb'
17
+ require 'google/apis/deploymentmanager_v2beta/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Google Cloud Deployment Manager API V2Beta Methods
22
+ #
23
+ # The Deployment Manager API allows users to declaratively configure, deploy and
24
+ # run complex solutions on the Google Cloud Platform.
25
+ #
26
+ # @see https://developers.google.com/deployment-manager/
27
+ module DeploymentmanagerV2beta
28
+ VERSION = 'V2beta'
29
+ REVISION = '20170810'
30
+
31
+ # View and manage your data across Google Cloud Platform services
32
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
33
+
34
+ # View your data across Google Cloud Platform services
35
+ AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
36
+
37
+ # View and manage your Google Cloud Platform management resources and deployment status information
38
+ AUTH_NDEV_CLOUDMAN = 'https://www.googleapis.com/auth/ndev.cloudman'
39
+
40
+ # View your Google Cloud Platform management resources and deployment status information
41
+ AUTH_NDEV_CLOUDMAN_READONLY = 'https://www.googleapis.com/auth/ndev.cloudman.readonly'
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,2426 @@
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 DeploymentmanagerV2beta
24
+
25
+ # Specifies the audit configuration for a service. The configuration determines
26
+ # which permission types are logged, and what identities, if any, are exempted
27
+ # from logging. An AuditConfig must have one or more AuditLogConfigs.
28
+ # If there are AuditConfigs for both `allServices` and a specific service, the
29
+ # union of the two AuditConfigs is used for that service: the log_types
30
+ # specified in each AuditConfig are enabled, and the exempted_members in each
31
+ # AuditConfig are exempted.
32
+ # Example Policy with multiple AuditConfigs:
33
+ # ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
34
+ # log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
35
+ # log_type": "DATA_WRITE", `, ` "log_type": "ADMIN_READ", ` ] `, ` "service": "
36
+ # fooservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ", `,
37
+ # ` "log_type": "DATA_WRITE", "exempted_members": [ "user:bar@gmail.com" ] ` ] `
38
+ # ] `
39
+ # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
40
+ # logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.
41
+ # com from DATA_WRITE logging.
42
+ class AuditConfig
43
+ include Google::Apis::Core::Hashable
44
+
45
+ # The configuration for logging of each type of permission.
46
+ # Corresponds to the JSON property `auditLogConfigs`
47
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::AuditLogConfig>]
48
+ attr_accessor :audit_log_configs
49
+
50
+ #
51
+ # Corresponds to the JSON property `exemptedMembers`
52
+ # @return [Array<String>]
53
+ attr_accessor :exempted_members
54
+
55
+ # Specifies a service that will be enabled for audit logging. For example, `
56
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
57
+ # value that covers all services.
58
+ # Corresponds to the JSON property `service`
59
+ # @return [String]
60
+ attr_accessor :service
61
+
62
+ def initialize(**args)
63
+ update!(**args)
64
+ end
65
+
66
+ # Update properties of this object
67
+ def update!(**args)
68
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
69
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
70
+ @service = args[:service] if args.key?(:service)
71
+ end
72
+ end
73
+
74
+ # Provides the configuration for logging a type of permissions. Example:
75
+ # ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
76
+ # user:foo@gmail.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
77
+ # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.
78
+ # com from DATA_READ logging.
79
+ class AuditLogConfig
80
+ include Google::Apis::Core::Hashable
81
+
82
+ # Specifies the identities that do not cause logging for this type of permission.
83
+ # Follows the same format of [Binding.members][].
84
+ # Corresponds to the JSON property `exemptedMembers`
85
+ # @return [Array<String>]
86
+ attr_accessor :exempted_members
87
+
88
+ # The log type that this config enables.
89
+ # Corresponds to the JSON property `logType`
90
+ # @return [String]
91
+ attr_accessor :log_type
92
+
93
+ def initialize(**args)
94
+ update!(**args)
95
+ end
96
+
97
+ # Update properties of this object
98
+ def update!(**args)
99
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
100
+ @log_type = args[:log_type] if args.key?(:log_type)
101
+ end
102
+ end
103
+
104
+ # Authorization-related information used by Cloud Audit Logging.
105
+ class AuthorizationLoggingOptions
106
+ include Google::Apis::Core::Hashable
107
+
108
+ # The type of the permission that was checked.
109
+ # Corresponds to the JSON property `permissionType`
110
+ # @return [String]
111
+ attr_accessor :permission_type
112
+
113
+ def initialize(**args)
114
+ update!(**args)
115
+ end
116
+
117
+ # Update properties of this object
118
+ def update!(**args)
119
+ @permission_type = args[:permission_type] if args.key?(:permission_type)
120
+ end
121
+ end
122
+
123
+ # BaseType that describes a service-backed Type.
124
+ class BaseType
125
+ include Google::Apis::Core::Hashable
126
+
127
+ # Allows resource handling overrides for specific collections
128
+ # Corresponds to the JSON property `collectionOverrides`
129
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::CollectionOverride>]
130
+ attr_accessor :collection_overrides
131
+
132
+ # Credential used by ConfigurableResourceTypes.
133
+ # Corresponds to the JSON property `credential`
134
+ # @return [Google::Apis::DeploymentmanagerV2beta::Credential]
135
+ attr_accessor :credential
136
+
137
+ # Descriptor Url for the this type.
138
+ # Corresponds to the JSON property `descriptorUrl`
139
+ # @return [String]
140
+ attr_accessor :descriptor_url
141
+
142
+ # Options allows customized resource handling by Deployment Manager.
143
+ # Corresponds to the JSON property `options`
144
+ # @return [Google::Apis::DeploymentmanagerV2beta::Options]
145
+ attr_accessor :options
146
+
147
+ def initialize(**args)
148
+ update!(**args)
149
+ end
150
+
151
+ # Update properties of this object
152
+ def update!(**args)
153
+ @collection_overrides = args[:collection_overrides] if args.key?(:collection_overrides)
154
+ @credential = args[:credential] if args.key?(:credential)
155
+ @descriptor_url = args[:descriptor_url] if args.key?(:descriptor_url)
156
+ @options = args[:options] if args.key?(:options)
157
+ end
158
+ end
159
+
160
+ # Basic Auth used as a credential.
161
+ class BasicAuth
162
+ include Google::Apis::Core::Hashable
163
+
164
+ #
165
+ # Corresponds to the JSON property `password`
166
+ # @return [String]
167
+ attr_accessor :password
168
+
169
+ #
170
+ # Corresponds to the JSON property `user`
171
+ # @return [String]
172
+ attr_accessor :user
173
+
174
+ def initialize(**args)
175
+ update!(**args)
176
+ end
177
+
178
+ # Update properties of this object
179
+ def update!(**args)
180
+ @password = args[:password] if args.key?(:password)
181
+ @user = args[:user] if args.key?(:user)
182
+ end
183
+ end
184
+
185
+ # Associates `members` with a `role`.
186
+ class Binding
187
+ include Google::Apis::Core::Hashable
188
+
189
+ # Represents an expression text. Example:
190
+ # title: "User account presence" description: "Determines whether the request
191
+ # has a user account" expression: "size(request.user) > 0"
192
+ # Corresponds to the JSON property `condition`
193
+ # @return [Google::Apis::DeploymentmanagerV2beta::Expr]
194
+ attr_accessor :condition
195
+
196
+ # Specifies the identities requesting access for a Cloud Platform resource. `
197
+ # members` can have the following values:
198
+ # * `allUsers`: A special identifier that represents anyone who is on the
199
+ # internet; with or without a Google account.
200
+ # * `allAuthenticatedUsers`: A special identifier that represents anyone who is
201
+ # authenticated with a Google account or a service account.
202
+ # * `user:`emailid``: An email address that represents a specific Google account.
203
+ # For example, `alice@gmail.com` or `joe@example.com`.
204
+ # * `serviceAccount:`emailid``: An email address that represents a service
205
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`.
206
+ # * `group:`emailid``: An email address that represents a Google group. For
207
+ # example, `admins@example.com`.
208
+ # * `domain:`domain``: A Google Apps domain name that represents all the users
209
+ # of that domain. For example, `google.com` or `example.com`.
210
+ # Corresponds to the JSON property `members`
211
+ # @return [Array<String>]
212
+ attr_accessor :members
213
+
214
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
215
+ # , or `roles/owner`.
216
+ # Corresponds to the JSON property `role`
217
+ # @return [String]
218
+ attr_accessor :role
219
+
220
+ def initialize(**args)
221
+ update!(**args)
222
+ end
223
+
224
+ # Update properties of this object
225
+ def update!(**args)
226
+ @condition = args[:condition] if args.key?(:condition)
227
+ @members = args[:members] if args.key?(:members)
228
+ @role = args[:role] if args.key?(:role)
229
+ end
230
+ end
231
+
232
+ # CollectionOverride allows resource handling overrides for specific resources
233
+ # within a BaseType
234
+ class CollectionOverride
235
+ include Google::Apis::Core::Hashable
236
+
237
+ # The collection that identifies this resource within its service.
238
+ # Corresponds to the JSON property `collection`
239
+ # @return [String]
240
+ attr_accessor :collection
241
+
242
+ # Options allows customized resource handling by Deployment Manager.
243
+ # Corresponds to the JSON property `options`
244
+ # @return [Google::Apis::DeploymentmanagerV2beta::Options]
245
+ attr_accessor :options
246
+
247
+ def initialize(**args)
248
+ update!(**args)
249
+ end
250
+
251
+ # Update properties of this object
252
+ def update!(**args)
253
+ @collection = args[:collection] if args.key?(:collection)
254
+ @options = args[:options] if args.key?(:options)
255
+ end
256
+ end
257
+
258
+ # Holds the composite type.
259
+ class CompositeType
260
+ include Google::Apis::Core::Hashable
261
+
262
+ # An optional textual description of the resource; provided by the client when
263
+ # the resource is created.
264
+ # Corresponds to the JSON property `description`
265
+ # @return [String]
266
+ attr_accessor :description
267
+
268
+ # [Output Only] Unique identifier for the resource; defined by the server.
269
+ # Corresponds to the JSON property `id`
270
+ # @return [Fixnum]
271
+ attr_accessor :id
272
+
273
+ # [Output Only] Timestamp when the composite type was created, in RFC3339 text
274
+ # format.
275
+ # Corresponds to the JSON property `insertTime`
276
+ # @return [String]
277
+ attr_accessor :insert_time
278
+
279
+ # Map of labels; provided by the client when the resource is created or updated.
280
+ # Specifically: Label keys must be between 1 and 63 characters long and must
281
+ # conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
282
+ # values must be between 0 and 63 characters long and must conform to the
283
+ # regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
284
+ # Corresponds to the JSON property `labels`
285
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::CompositeTypeLabelEntry>]
286
+ attr_accessor :labels
287
+
288
+ # Name of the composite type.
289
+ # Corresponds to the JSON property `name`
290
+ # @return [String]
291
+ attr_accessor :name
292
+
293
+ # An Operation resource, used to manage asynchronous API requests.
294
+ # Corresponds to the JSON property `operation`
295
+ # @return [Google::Apis::DeploymentmanagerV2beta::Operation]
296
+ attr_accessor :operation
297
+
298
+ # [Output Only] Self link for the type provider.
299
+ # Corresponds to the JSON property `selfLink`
300
+ # @return [String]
301
+ attr_accessor :self_link
302
+
303
+ #
304
+ # Corresponds to the JSON property `status`
305
+ # @return [String]
306
+ attr_accessor :status
307
+
308
+ # Files that make up the template contents of a template type.
309
+ # Corresponds to the JSON property `templateContents`
310
+ # @return [Google::Apis::DeploymentmanagerV2beta::TemplateContents]
311
+ attr_accessor :template_contents
312
+
313
+ def initialize(**args)
314
+ update!(**args)
315
+ end
316
+
317
+ # Update properties of this object
318
+ def update!(**args)
319
+ @description = args[:description] if args.key?(:description)
320
+ @id = args[:id] if args.key?(:id)
321
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
322
+ @labels = args[:labels] if args.key?(:labels)
323
+ @name = args[:name] if args.key?(:name)
324
+ @operation = args[:operation] if args.key?(:operation)
325
+ @self_link = args[:self_link] if args.key?(:self_link)
326
+ @status = args[:status] if args.key?(:status)
327
+ @template_contents = args[:template_contents] if args.key?(:template_contents)
328
+ end
329
+ end
330
+
331
+ #
332
+ class CompositeTypeLabelEntry
333
+ include Google::Apis::Core::Hashable
334
+
335
+ #
336
+ # Corresponds to the JSON property `key`
337
+ # @return [String]
338
+ attr_accessor :key
339
+
340
+ #
341
+ # Corresponds to the JSON property `value`
342
+ # @return [String]
343
+ attr_accessor :value
344
+
345
+ def initialize(**args)
346
+ update!(**args)
347
+ end
348
+
349
+ # Update properties of this object
350
+ def update!(**args)
351
+ @key = args[:key] if args.key?(:key)
352
+ @value = args[:value] if args.key?(:value)
353
+ end
354
+ end
355
+
356
+ # A response that returns all Composite Types supported by Deployment Manager
357
+ class CompositeTypesListResponse
358
+ include Google::Apis::Core::Hashable
359
+
360
+ # [Output Only] A list of resource composite types supported by Deployment
361
+ # Manager.
362
+ # Corresponds to the JSON property `compositeTypes`
363
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::CompositeType>]
364
+ attr_accessor :composite_types
365
+
366
+ # A token used to continue a truncated list request.
367
+ # Corresponds to the JSON property `nextPageToken`
368
+ # @return [String]
369
+ attr_accessor :next_page_token
370
+
371
+ def initialize(**args)
372
+ update!(**args)
373
+ end
374
+
375
+ # Update properties of this object
376
+ def update!(**args)
377
+ @composite_types = args[:composite_types] if args.key?(:composite_types)
378
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
379
+ end
380
+ end
381
+
382
+ # A condition to be met.
383
+ class Condition
384
+ include Google::Apis::Core::Hashable
385
+
386
+ # Trusted attributes supplied by the IAM system.
387
+ # Corresponds to the JSON property `iam`
388
+ # @return [String]
389
+ attr_accessor :iam
390
+
391
+ # An operator to apply the subject with.
392
+ # Corresponds to the JSON property `op`
393
+ # @return [String]
394
+ attr_accessor :op
395
+
396
+ # Trusted attributes discharged by the service.
397
+ # Corresponds to the JSON property `svc`
398
+ # @return [String]
399
+ attr_accessor :svc
400
+
401
+ # Trusted attributes supplied by any service that owns resources and uses the
402
+ # IAM system for access control.
403
+ # Corresponds to the JSON property `sys`
404
+ # @return [String]
405
+ attr_accessor :sys
406
+
407
+ # DEPRECATED. Use 'values' instead.
408
+ # Corresponds to the JSON property `value`
409
+ # @return [String]
410
+ attr_accessor :value
411
+
412
+ # The objects of the condition. This is mutually exclusive with 'value'.
413
+ # Corresponds to the JSON property `values`
414
+ # @return [Array<String>]
415
+ attr_accessor :values
416
+
417
+ def initialize(**args)
418
+ update!(**args)
419
+ end
420
+
421
+ # Update properties of this object
422
+ def update!(**args)
423
+ @iam = args[:iam] if args.key?(:iam)
424
+ @op = args[:op] if args.key?(:op)
425
+ @svc = args[:svc] if args.key?(:svc)
426
+ @sys = args[:sys] if args.key?(:sys)
427
+ @value = args[:value] if args.key?(:value)
428
+ @values = args[:values] if args.key?(:values)
429
+ end
430
+ end
431
+
432
+ #
433
+ class ConfigFile
434
+ include Google::Apis::Core::Hashable
435
+
436
+ # The contents of the file.
437
+ # Corresponds to the JSON property `content`
438
+ # @return [String]
439
+ attr_accessor :content
440
+
441
+ def initialize(**args)
442
+ update!(**args)
443
+ end
444
+
445
+ # Update properties of this object
446
+ def update!(**args)
447
+ @content = args[:content] if args.key?(:content)
448
+ end
449
+ end
450
+
451
+ # Credential used by ConfigurableResourceTypes.
452
+ class Credential
453
+ include Google::Apis::Core::Hashable
454
+
455
+ # Basic Auth used as a credential.
456
+ # Corresponds to the JSON property `basicAuth`
457
+ # @return [Google::Apis::DeploymentmanagerV2beta::BasicAuth]
458
+ attr_accessor :basic_auth
459
+
460
+ def initialize(**args)
461
+ update!(**args)
462
+ end
463
+
464
+ # Update properties of this object
465
+ def update!(**args)
466
+ @basic_auth = args[:basic_auth] if args.key?(:basic_auth)
467
+ end
468
+ end
469
+
470
+ #
471
+ class Deployment
472
+ include Google::Apis::Core::Hashable
473
+
474
+ # An optional user-provided description of the deployment.
475
+ # Corresponds to the JSON property `description`
476
+ # @return [String]
477
+ attr_accessor :description
478
+
479
+ # Provides a fingerprint to use in requests to modify a deployment, such as
480
+ # update(), stop(), and cancelPreview() requests. A fingerprint is a randomly
481
+ # generated value that must be provided with update(), stop(), and cancelPreview(
482
+ # ) requests to perform optimistic locking. This ensures optimistic concurrency
483
+ # so that only one request happens at a time.
484
+ # The fingerprint is initially generated by Deployment Manager and changes after
485
+ # every request to modify data. To get the latest fingerprint value, perform a
486
+ # get() request to a deployment.
487
+ # Corresponds to the JSON property `fingerprint`
488
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
489
+ # @return [String]
490
+ attr_accessor :fingerprint
491
+
492
+ # [Output Only] Unique identifier for the resource; defined by the server.
493
+ # Corresponds to the JSON property `id`
494
+ # @return [Fixnum]
495
+ attr_accessor :id
496
+
497
+ # [Output Only] Timestamp when the deployment was created, in RFC3339 text
498
+ # format .
499
+ # Corresponds to the JSON property `insertTime`
500
+ # @return [String]
501
+ attr_accessor :insert_time
502
+
503
+ # Map of labels; provided by the client when the resource is created or updated.
504
+ # Specifically: Label keys must be between 1 and 63 characters long and must
505
+ # conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
506
+ # values must be between 0 and 63 characters long and must conform to the
507
+ # regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
508
+ # Corresponds to the JSON property `labels`
509
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::DeploymentLabelEntry>]
510
+ attr_accessor :labels
511
+
512
+ # [Output Only] URL of the manifest representing the last manifest that was
513
+ # successfully deployed.
514
+ # Corresponds to the JSON property `manifest`
515
+ # @return [String]
516
+ attr_accessor :manifest
517
+
518
+ # Name of the resource; provided by the client when the resource is created. The
519
+ # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
520
+ # name must be 1-63 characters long and match the regular expression [a-z]([-a-
521
+ # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
522
+ # and all following characters must be a dash, lowercase letter, or digit,
523
+ # except the last character, which cannot be a dash.
524
+ # Corresponds to the JSON property `name`
525
+ # @return [String]
526
+ attr_accessor :name
527
+
528
+ # An Operation resource, used to manage asynchronous API requests.
529
+ # Corresponds to the JSON property `operation`
530
+ # @return [Google::Apis::DeploymentmanagerV2beta::Operation]
531
+ attr_accessor :operation
532
+
533
+ # [Output Only] Self link for the deployment.
534
+ # Corresponds to the JSON property `selfLink`
535
+ # @return [String]
536
+ attr_accessor :self_link
537
+
538
+ #
539
+ # Corresponds to the JSON property `target`
540
+ # @return [Google::Apis::DeploymentmanagerV2beta::TargetConfiguration]
541
+ attr_accessor :target
542
+
543
+ #
544
+ # Corresponds to the JSON property `update`
545
+ # @return [Google::Apis::DeploymentmanagerV2beta::DeploymentUpdate]
546
+ attr_accessor :update
547
+
548
+ def initialize(**args)
549
+ update!(**args)
550
+ end
551
+
552
+ # Update properties of this object
553
+ def update!(**args)
554
+ @description = args[:description] if args.key?(:description)
555
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
556
+ @id = args[:id] if args.key?(:id)
557
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
558
+ @labels = args[:labels] if args.key?(:labels)
559
+ @manifest = args[:manifest] if args.key?(:manifest)
560
+ @name = args[:name] if args.key?(:name)
561
+ @operation = args[:operation] if args.key?(:operation)
562
+ @self_link = args[:self_link] if args.key?(:self_link)
563
+ @target = args[:target] if args.key?(:target)
564
+ @update = args[:update] if args.key?(:update)
565
+ end
566
+ end
567
+
568
+ #
569
+ class DeploymentLabelEntry
570
+ include Google::Apis::Core::Hashable
571
+
572
+ #
573
+ # Corresponds to the JSON property `key`
574
+ # @return [String]
575
+ attr_accessor :key
576
+
577
+ #
578
+ # Corresponds to the JSON property `value`
579
+ # @return [String]
580
+ attr_accessor :value
581
+
582
+ def initialize(**args)
583
+ update!(**args)
584
+ end
585
+
586
+ # Update properties of this object
587
+ def update!(**args)
588
+ @key = args[:key] if args.key?(:key)
589
+ @value = args[:value] if args.key?(:value)
590
+ end
591
+ end
592
+
593
+ #
594
+ class DeploymentUpdate
595
+ include Google::Apis::Core::Hashable
596
+
597
+ # [Output Only] An optional user-provided description of the deployment after
598
+ # the current update has been applied.
599
+ # Corresponds to the JSON property `description`
600
+ # @return [String]
601
+ attr_accessor :description
602
+
603
+ # [Output Only] Map of labels; provided by the client when the resource is
604
+ # created or updated. Specifically: Label keys must be between 1 and 63
605
+ # characters long and must conform to the following regular expression: [a-z]([-
606
+ # a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and
607
+ # must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
608
+ # Corresponds to the JSON property `labels`
609
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::DeploymentUpdateLabelEntry>]
610
+ attr_accessor :labels
611
+
612
+ # [Output Only] URL of the manifest representing the update configuration of
613
+ # this deployment.
614
+ # Corresponds to the JSON property `manifest`
615
+ # @return [String]
616
+ attr_accessor :manifest
617
+
618
+ def initialize(**args)
619
+ update!(**args)
620
+ end
621
+
622
+ # Update properties of this object
623
+ def update!(**args)
624
+ @description = args[:description] if args.key?(:description)
625
+ @labels = args[:labels] if args.key?(:labels)
626
+ @manifest = args[:manifest] if args.key?(:manifest)
627
+ end
628
+ end
629
+
630
+ #
631
+ class DeploymentUpdateLabelEntry
632
+ include Google::Apis::Core::Hashable
633
+
634
+ #
635
+ # Corresponds to the JSON property `key`
636
+ # @return [String]
637
+ attr_accessor :key
638
+
639
+ #
640
+ # Corresponds to the JSON property `value`
641
+ # @return [String]
642
+ attr_accessor :value
643
+
644
+ def initialize(**args)
645
+ update!(**args)
646
+ end
647
+
648
+ # Update properties of this object
649
+ def update!(**args)
650
+ @key = args[:key] if args.key?(:key)
651
+ @value = args[:value] if args.key?(:value)
652
+ end
653
+ end
654
+
655
+ #
656
+ class DeploymentsCancelPreviewRequest
657
+ include Google::Apis::Core::Hashable
658
+
659
+ # Specifies a fingerprint for cancelPreview() requests. A fingerprint is a
660
+ # randomly generated value that must be provided in cancelPreview() requests to
661
+ # perform optimistic locking. This ensures optimistic concurrency so that the
662
+ # deployment does not have conflicting requests (e.g. if someone attempts to
663
+ # make a new update request while another user attempts to cancel a preview,
664
+ # this would prevent one of the requests).
665
+ # The fingerprint is initially generated by Deployment Manager and changes after
666
+ # every request to modify a deployment. To get the latest fingerprint value,
667
+ # perform a get() request on the deployment.
668
+ # Corresponds to the JSON property `fingerprint`
669
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
670
+ # @return [String]
671
+ attr_accessor :fingerprint
672
+
673
+ def initialize(**args)
674
+ update!(**args)
675
+ end
676
+
677
+ # Update properties of this object
678
+ def update!(**args)
679
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
680
+ end
681
+ end
682
+
683
+ # A response containing a partial list of deployments and a page token used to
684
+ # build the next request if the request has been truncated.
685
+ class DeploymentsListResponse
686
+ include Google::Apis::Core::Hashable
687
+
688
+ # [Output Only] The deployments contained in this response.
689
+ # Corresponds to the JSON property `deployments`
690
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::Deployment>]
691
+ attr_accessor :deployments
692
+
693
+ # [Output Only] A token used to continue a truncated list request.
694
+ # Corresponds to the JSON property `nextPageToken`
695
+ # @return [String]
696
+ attr_accessor :next_page_token
697
+
698
+ def initialize(**args)
699
+ update!(**args)
700
+ end
701
+
702
+ # Update properties of this object
703
+ def update!(**args)
704
+ @deployments = args[:deployments] if args.key?(:deployments)
705
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
706
+ end
707
+ end
708
+
709
+ #
710
+ class DeploymentsStopRequest
711
+ include Google::Apis::Core::Hashable
712
+
713
+ # Specifies a fingerprint for stop() requests. A fingerprint is a randomly
714
+ # generated value that must be provided in stop() requests to perform optimistic
715
+ # locking. This ensures optimistic concurrency so that the deployment does not
716
+ # have conflicting requests (e.g. if someone attempts to make a new update
717
+ # request while another user attempts to stop an ongoing update request, this
718
+ # would prevent a collision).
719
+ # The fingerprint is initially generated by Deployment Manager and changes after
720
+ # every request to modify a deployment. To get the latest fingerprint value,
721
+ # perform a get() request on the deployment.
722
+ # Corresponds to the JSON property `fingerprint`
723
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
724
+ # @return [String]
725
+ attr_accessor :fingerprint
726
+
727
+ def initialize(**args)
728
+ update!(**args)
729
+ end
730
+
731
+ # Update properties of this object
732
+ def update!(**args)
733
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
734
+ end
735
+ end
736
+
737
+ # Represents an expression text. Example:
738
+ # title: "User account presence" description: "Determines whether the request
739
+ # has a user account" expression: "size(request.user) > 0"
740
+ class Expr
741
+ include Google::Apis::Core::Hashable
742
+
743
+ # An optional description of the expression. This is a longer text which
744
+ # describes the expression, e.g. when hovered over it in a UI.
745
+ # Corresponds to the JSON property `description`
746
+ # @return [String]
747
+ attr_accessor :description
748
+
749
+ # Textual representation of an expression in Common Expression Language syntax.
750
+ # The application context of the containing message determines which well-known
751
+ # feature set of CEL is supported.
752
+ # Corresponds to the JSON property `expression`
753
+ # @return [String]
754
+ attr_accessor :expression
755
+
756
+ # An optional string indicating the location of the expression for error
757
+ # reporting, e.g. a file name and a position in the file.
758
+ # Corresponds to the JSON property `location`
759
+ # @return [String]
760
+ attr_accessor :location
761
+
762
+ # An optional title for the expression, i.e. a short string describing its
763
+ # purpose. This can be used e.g. in UIs which allow to enter the expression.
764
+ # Corresponds to the JSON property `title`
765
+ # @return [String]
766
+ attr_accessor :title
767
+
768
+ def initialize(**args)
769
+ update!(**args)
770
+ end
771
+
772
+ # Update properties of this object
773
+ def update!(**args)
774
+ @description = args[:description] if args.key?(:description)
775
+ @expression = args[:expression] if args.key?(:expression)
776
+ @location = args[:location] if args.key?(:location)
777
+ @title = args[:title] if args.key?(:title)
778
+ end
779
+ end
780
+
781
+ #
782
+ class ImportFile
783
+ include Google::Apis::Core::Hashable
784
+
785
+ # The contents of the file.
786
+ # Corresponds to the JSON property `content`
787
+ # @return [String]
788
+ attr_accessor :content
789
+
790
+ # The name of the file.
791
+ # Corresponds to the JSON property `name`
792
+ # @return [String]
793
+ attr_accessor :name
794
+
795
+ def initialize(**args)
796
+ update!(**args)
797
+ end
798
+
799
+ # Update properties of this object
800
+ def update!(**args)
801
+ @content = args[:content] if args.key?(:content)
802
+ @name = args[:name] if args.key?(:name)
803
+ end
804
+ end
805
+
806
+ # InputMapping creates a 'virtual' property that will be injected into the
807
+ # properties before sending the request to the underlying API.
808
+ class InputMapping
809
+ include Google::Apis::Core::Hashable
810
+
811
+ # The name of the field that is going to be injected.
812
+ # Corresponds to the JSON property `fieldName`
813
+ # @return [String]
814
+ attr_accessor :field_name
815
+
816
+ # The location where this mapping applies.
817
+ # Corresponds to the JSON property `location`
818
+ # @return [String]
819
+ attr_accessor :location
820
+
821
+ # Regex to evaluate on method to decide if input applies.
822
+ # Corresponds to the JSON property `methodMatch`
823
+ # @return [String]
824
+ attr_accessor :method_match
825
+
826
+ # A jsonPath expression to select an element.
827
+ # Corresponds to the JSON property `value`
828
+ # @return [String]
829
+ attr_accessor :value
830
+
831
+ def initialize(**args)
832
+ update!(**args)
833
+ end
834
+
835
+ # Update properties of this object
836
+ def update!(**args)
837
+ @field_name = args[:field_name] if args.key?(:field_name)
838
+ @location = args[:location] if args.key?(:location)
839
+ @method_match = args[:method_match] if args.key?(:method_match)
840
+ @value = args[:value] if args.key?(:value)
841
+ end
842
+ end
843
+
844
+ # Specifies what kind of log the caller must write
845
+ class LogConfig
846
+ include Google::Apis::Core::Hashable
847
+
848
+ # Write a Cloud Audit log
849
+ # Corresponds to the JSON property `cloudAudit`
850
+ # @return [Google::Apis::DeploymentmanagerV2beta::LogConfigCloudAuditOptions]
851
+ attr_accessor :cloud_audit
852
+
853
+ # Increment a streamz counter with the specified metric and field names.
854
+ # Metric names should start with a '/', generally be lowercase-only, and end in "
855
+ # _count". Field names should not contain an initial slash. The actual exported
856
+ # metric names will have "/iam/policy" prepended.
857
+ # Field names correspond to IAM request parameters and field values are their
858
+ # respective values.
859
+ # At present the only supported field names are - "iam_principal", corresponding
860
+ # to IAMContext.principal; - "" (empty string), resulting in one aggretated
861
+ # counter with no field.
862
+ # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
863
+ # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
864
+ # of IAMContext.principal]`
865
+ # At this time we do not support: * multiple field names (though this may be
866
+ # supported in the future) * decrementing the counter * incrementing it by
867
+ # anything other than 1
868
+ # Corresponds to the JSON property `counter`
869
+ # @return [Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptions]
870
+ attr_accessor :counter
871
+
872
+ # Write a Data Access (Gin) log
873
+ # Corresponds to the JSON property `dataAccess`
874
+ # @return [Google::Apis::DeploymentmanagerV2beta::LogConfigDataAccessOptions]
875
+ attr_accessor :data_access
876
+
877
+ def initialize(**args)
878
+ update!(**args)
879
+ end
880
+
881
+ # Update properties of this object
882
+ def update!(**args)
883
+ @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
884
+ @counter = args[:counter] if args.key?(:counter)
885
+ @data_access = args[:data_access] if args.key?(:data_access)
886
+ end
887
+ end
888
+
889
+ # Write a Cloud Audit log
890
+ class LogConfigCloudAuditOptions
891
+ include Google::Apis::Core::Hashable
892
+
893
+ # Authorization-related information used by Cloud Audit Logging.
894
+ # Corresponds to the JSON property `authorizationLoggingOptions`
895
+ # @return [Google::Apis::DeploymentmanagerV2beta::AuthorizationLoggingOptions]
896
+ attr_accessor :authorization_logging_options
897
+
898
+ # The log_name to populate in the Cloud Audit Record.
899
+ # Corresponds to the JSON property `logName`
900
+ # @return [String]
901
+ attr_accessor :log_name
902
+
903
+ def initialize(**args)
904
+ update!(**args)
905
+ end
906
+
907
+ # Update properties of this object
908
+ def update!(**args)
909
+ @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
910
+ @log_name = args[:log_name] if args.key?(:log_name)
911
+ end
912
+ end
913
+
914
+ # Increment a streamz counter with the specified metric and field names.
915
+ # Metric names should start with a '/', generally be lowercase-only, and end in "
916
+ # _count". Field names should not contain an initial slash. The actual exported
917
+ # metric names will have "/iam/policy" prepended.
918
+ # Field names correspond to IAM request parameters and field values are their
919
+ # respective values.
920
+ # At present the only supported field names are - "iam_principal", corresponding
921
+ # to IAMContext.principal; - "" (empty string), resulting in one aggretated
922
+ # counter with no field.
923
+ # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
924
+ # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
925
+ # of IAMContext.principal]`
926
+ # At this time we do not support: * multiple field names (though this may be
927
+ # supported in the future) * decrementing the counter * incrementing it by
928
+ # anything other than 1
929
+ class LogConfigCounterOptions
930
+ include Google::Apis::Core::Hashable
931
+
932
+ # The field value to attribute.
933
+ # Corresponds to the JSON property `field`
934
+ # @return [String]
935
+ attr_accessor :field
936
+
937
+ # The metric to update.
938
+ # Corresponds to the JSON property `metric`
939
+ # @return [String]
940
+ attr_accessor :metric
941
+
942
+ def initialize(**args)
943
+ update!(**args)
944
+ end
945
+
946
+ # Update properties of this object
947
+ def update!(**args)
948
+ @field = args[:field] if args.key?(:field)
949
+ @metric = args[:metric] if args.key?(:metric)
950
+ end
951
+ end
952
+
953
+ # Write a Data Access (Gin) log
954
+ class LogConfigDataAccessOptions
955
+ include Google::Apis::Core::Hashable
956
+
957
+ # Whether Gin logging should happen in a fail-closed manner at the caller. This
958
+ # is relevant only in the LocalIAM implementation, for now.
959
+ # Corresponds to the JSON property `logMode`
960
+ # @return [String]
961
+ attr_accessor :log_mode
962
+
963
+ def initialize(**args)
964
+ update!(**args)
965
+ end
966
+
967
+ # Update properties of this object
968
+ def update!(**args)
969
+ @log_mode = args[:log_mode] if args.key?(:log_mode)
970
+ end
971
+ end
972
+
973
+ #
974
+ class Manifest
975
+ include Google::Apis::Core::Hashable
976
+
977
+ #
978
+ # Corresponds to the JSON property `config`
979
+ # @return [Google::Apis::DeploymentmanagerV2beta::ConfigFile]
980
+ attr_accessor :config
981
+
982
+ # [Output Only] The fully-expanded configuration file, including any templates
983
+ # and references.
984
+ # Corresponds to the JSON property `expandedConfig`
985
+ # @return [String]
986
+ attr_accessor :expanded_config
987
+
988
+ # [Output Only] Unique identifier for the resource; defined by the server.
989
+ # Corresponds to the JSON property `id`
990
+ # @return [Fixnum]
991
+ attr_accessor :id
992
+
993
+ # [Output Only] The imported files for this manifest.
994
+ # Corresponds to the JSON property `imports`
995
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::ImportFile>]
996
+ attr_accessor :imports
997
+
998
+ # [Output Only] Timestamp when the manifest was created, in RFC3339 text format.
999
+ # Corresponds to the JSON property `insertTime`
1000
+ # @return [String]
1001
+ attr_accessor :insert_time
1002
+
1003
+ # [Output Only] The YAML layout for this manifest.
1004
+ # Corresponds to the JSON property `layout`
1005
+ # @return [String]
1006
+ attr_accessor :layout
1007
+
1008
+ # [Output Only] The name of the manifest.
1009
+ # Corresponds to the JSON property `name`
1010
+ # @return [String]
1011
+ attr_accessor :name
1012
+
1013
+ # [Output Only] Self link for the manifest.
1014
+ # Corresponds to the JSON property `selfLink`
1015
+ # @return [String]
1016
+ attr_accessor :self_link
1017
+
1018
+ def initialize(**args)
1019
+ update!(**args)
1020
+ end
1021
+
1022
+ # Update properties of this object
1023
+ def update!(**args)
1024
+ @config = args[:config] if args.key?(:config)
1025
+ @expanded_config = args[:expanded_config] if args.key?(:expanded_config)
1026
+ @id = args[:id] if args.key?(:id)
1027
+ @imports = args[:imports] if args.key?(:imports)
1028
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
1029
+ @layout = args[:layout] if args.key?(:layout)
1030
+ @name = args[:name] if args.key?(:name)
1031
+ @self_link = args[:self_link] if args.key?(:self_link)
1032
+ end
1033
+ end
1034
+
1035
+ # A response containing a partial list of manifests and a page token used to
1036
+ # build the next request if the request has been truncated.
1037
+ class ManifestsListResponse
1038
+ include Google::Apis::Core::Hashable
1039
+
1040
+ # [Output Only] Manifests contained in this list response.
1041
+ # Corresponds to the JSON property `manifests`
1042
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::Manifest>]
1043
+ attr_accessor :manifests
1044
+
1045
+ # [Output Only] A token used to continue a truncated list request.
1046
+ # Corresponds to the JSON property `nextPageToken`
1047
+ # @return [String]
1048
+ attr_accessor :next_page_token
1049
+
1050
+ def initialize(**args)
1051
+ update!(**args)
1052
+ end
1053
+
1054
+ # Update properties of this object
1055
+ def update!(**args)
1056
+ @manifests = args[:manifests] if args.key?(:manifests)
1057
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1058
+ end
1059
+ end
1060
+
1061
+ # An Operation resource, used to manage asynchronous API requests.
1062
+ class Operation
1063
+ include Google::Apis::Core::Hashable
1064
+
1065
+ # [Output Only] Reserved for future use.
1066
+ # Corresponds to the JSON property `clientOperationId`
1067
+ # @return [String]
1068
+ attr_accessor :client_operation_id
1069
+
1070
+ # [Deprecated] This field is deprecated.
1071
+ # Corresponds to the JSON property `creationTimestamp`
1072
+ # @return [String]
1073
+ attr_accessor :creation_timestamp
1074
+
1075
+ # [Output Only] A textual description of the operation, which is set when the
1076
+ # operation is created.
1077
+ # Corresponds to the JSON property `description`
1078
+ # @return [String]
1079
+ attr_accessor :description
1080
+
1081
+ # [Output Only] The time that this operation was completed. This value is in
1082
+ # RFC3339 text format.
1083
+ # Corresponds to the JSON property `endTime`
1084
+ # @return [String]
1085
+ attr_accessor :end_time
1086
+
1087
+ # [Output Only] If errors are generated during processing of the operation, this
1088
+ # field will be populated.
1089
+ # Corresponds to the JSON property `error`
1090
+ # @return [Google::Apis::DeploymentmanagerV2beta::Operation::Error]
1091
+ attr_accessor :error
1092
+
1093
+ # [Output Only] If the operation fails, this field contains the HTTP error
1094
+ # message that was returned, such as NOT FOUND.
1095
+ # Corresponds to the JSON property `httpErrorMessage`
1096
+ # @return [String]
1097
+ attr_accessor :http_error_message
1098
+
1099
+ # [Output Only] If the operation fails, this field contains the HTTP error
1100
+ # status code that was returned. For example, a 404 means the resource was not
1101
+ # found.
1102
+ # Corresponds to the JSON property `httpErrorStatusCode`
1103
+ # @return [Fixnum]
1104
+ attr_accessor :http_error_status_code
1105
+
1106
+ # [Output Only] The unique identifier for the resource. This identifier is
1107
+ # defined by the server.
1108
+ # Corresponds to the JSON property `id`
1109
+ # @return [Fixnum]
1110
+ attr_accessor :id
1111
+
1112
+ # [Output Only] The time that this operation was requested. This value is in
1113
+ # RFC3339 text format.
1114
+ # Corresponds to the JSON property `insertTime`
1115
+ # @return [String]
1116
+ attr_accessor :insert_time
1117
+
1118
+ # [Output Only] Type of the resource. Always compute#operation for Operation
1119
+ # resources.
1120
+ # Corresponds to the JSON property `kind`
1121
+ # @return [String]
1122
+ attr_accessor :kind
1123
+
1124
+ # [Output Only] Name of the resource.
1125
+ # Corresponds to the JSON property `name`
1126
+ # @return [String]
1127
+ attr_accessor :name
1128
+
1129
+ # [Output Only] The type of operation, such as insert, update, or delete, and so
1130
+ # on.
1131
+ # Corresponds to the JSON property `operationType`
1132
+ # @return [String]
1133
+ attr_accessor :operation_type
1134
+
1135
+ # [Output Only] An optional progress indicator that ranges from 0 to 100. There
1136
+ # is no requirement that this be linear or support any granularity of operations.
1137
+ # This should not be used to guess when the operation will be complete. This
1138
+ # number should monotonically increase as the operation progresses.
1139
+ # Corresponds to the JSON property `progress`
1140
+ # @return [Fixnum]
1141
+ attr_accessor :progress
1142
+
1143
+ # [Output Only] The URL of the region where the operation resides. Only
1144
+ # available when performing regional operations.
1145
+ # Corresponds to the JSON property `region`
1146
+ # @return [String]
1147
+ attr_accessor :region
1148
+
1149
+ # [Output Only] Server-defined URL for the resource.
1150
+ # Corresponds to the JSON property `selfLink`
1151
+ # @return [String]
1152
+ attr_accessor :self_link
1153
+
1154
+ # [Output Only] The time that this operation was started by the server. This
1155
+ # value is in RFC3339 text format.
1156
+ # Corresponds to the JSON property `startTime`
1157
+ # @return [String]
1158
+ attr_accessor :start_time
1159
+
1160
+ # [Output Only] The status of the operation, which can be one of the following:
1161
+ # PENDING, RUNNING, or DONE.
1162
+ # Corresponds to the JSON property `status`
1163
+ # @return [String]
1164
+ attr_accessor :status
1165
+
1166
+ # [Output Only] An optional textual description of the current status of the
1167
+ # operation.
1168
+ # Corresponds to the JSON property `statusMessage`
1169
+ # @return [String]
1170
+ attr_accessor :status_message
1171
+
1172
+ # [Output Only] The unique target ID, which identifies a specific incarnation of
1173
+ # the target resource.
1174
+ # Corresponds to the JSON property `targetId`
1175
+ # @return [Fixnum]
1176
+ attr_accessor :target_id
1177
+
1178
+ # [Output Only] The URL of the resource that the operation modifies. For
1179
+ # operations related to creating a snapshot, this points to the persistent disk
1180
+ # that the snapshot was created from.
1181
+ # Corresponds to the JSON property `targetLink`
1182
+ # @return [String]
1183
+ attr_accessor :target_link
1184
+
1185
+ # [Output Only] User who requested the operation, for example: user@example.com.
1186
+ # Corresponds to the JSON property `user`
1187
+ # @return [String]
1188
+ attr_accessor :user
1189
+
1190
+ # [Output Only] If warning messages are generated during processing of the
1191
+ # operation, this field will be populated.
1192
+ # Corresponds to the JSON property `warnings`
1193
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::Operation::Warning>]
1194
+ attr_accessor :warnings
1195
+
1196
+ # [Output Only] The URL of the zone where the operation resides. Only available
1197
+ # when performing per-zone operations.
1198
+ # Corresponds to the JSON property `zone`
1199
+ # @return [String]
1200
+ attr_accessor :zone
1201
+
1202
+ def initialize(**args)
1203
+ update!(**args)
1204
+ end
1205
+
1206
+ # Update properties of this object
1207
+ def update!(**args)
1208
+ @client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
1209
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
1210
+ @description = args[:description] if args.key?(:description)
1211
+ @end_time = args[:end_time] if args.key?(:end_time)
1212
+ @error = args[:error] if args.key?(:error)
1213
+ @http_error_message = args[:http_error_message] if args.key?(:http_error_message)
1214
+ @http_error_status_code = args[:http_error_status_code] if args.key?(:http_error_status_code)
1215
+ @id = args[:id] if args.key?(:id)
1216
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
1217
+ @kind = args[:kind] if args.key?(:kind)
1218
+ @name = args[:name] if args.key?(:name)
1219
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
1220
+ @progress = args[:progress] if args.key?(:progress)
1221
+ @region = args[:region] if args.key?(:region)
1222
+ @self_link = args[:self_link] if args.key?(:self_link)
1223
+ @start_time = args[:start_time] if args.key?(:start_time)
1224
+ @status = args[:status] if args.key?(:status)
1225
+ @status_message = args[:status_message] if args.key?(:status_message)
1226
+ @target_id = args[:target_id] if args.key?(:target_id)
1227
+ @target_link = args[:target_link] if args.key?(:target_link)
1228
+ @user = args[:user] if args.key?(:user)
1229
+ @warnings = args[:warnings] if args.key?(:warnings)
1230
+ @zone = args[:zone] if args.key?(:zone)
1231
+ end
1232
+
1233
+ # [Output Only] If errors are generated during processing of the operation, this
1234
+ # field will be populated.
1235
+ class Error
1236
+ include Google::Apis::Core::Hashable
1237
+
1238
+ # [Output Only] The array of errors encountered while processing this operation.
1239
+ # Corresponds to the JSON property `errors`
1240
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::Operation::Error::Error>]
1241
+ attr_accessor :errors
1242
+
1243
+ def initialize(**args)
1244
+ update!(**args)
1245
+ end
1246
+
1247
+ # Update properties of this object
1248
+ def update!(**args)
1249
+ @errors = args[:errors] if args.key?(:errors)
1250
+ end
1251
+
1252
+ #
1253
+ class Error
1254
+ include Google::Apis::Core::Hashable
1255
+
1256
+ # [Output Only] The error type identifier for this error.
1257
+ # Corresponds to the JSON property `code`
1258
+ # @return [String]
1259
+ attr_accessor :code
1260
+
1261
+ # [Output Only] Indicates the field in the request that caused the error. This
1262
+ # property is optional.
1263
+ # Corresponds to the JSON property `location`
1264
+ # @return [String]
1265
+ attr_accessor :location
1266
+
1267
+ # [Output Only] An optional, human-readable error message.
1268
+ # Corresponds to the JSON property `message`
1269
+ # @return [String]
1270
+ attr_accessor :message
1271
+
1272
+ def initialize(**args)
1273
+ update!(**args)
1274
+ end
1275
+
1276
+ # Update properties of this object
1277
+ def update!(**args)
1278
+ @code = args[:code] if args.key?(:code)
1279
+ @location = args[:location] if args.key?(:location)
1280
+ @message = args[:message] if args.key?(:message)
1281
+ end
1282
+ end
1283
+ end
1284
+
1285
+ #
1286
+ class Warning
1287
+ include Google::Apis::Core::Hashable
1288
+
1289
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
1290
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
1291
+ # Corresponds to the JSON property `code`
1292
+ # @return [String]
1293
+ attr_accessor :code
1294
+
1295
+ # [Output Only] Metadata about this warning in key: value format. For example:
1296
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1297
+ # Corresponds to the JSON property `data`
1298
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::Operation::Warning::Datum>]
1299
+ attr_accessor :data
1300
+
1301
+ # [Output Only] A human-readable description of the warning code.
1302
+ # Corresponds to the JSON property `message`
1303
+ # @return [String]
1304
+ attr_accessor :message
1305
+
1306
+ def initialize(**args)
1307
+ update!(**args)
1308
+ end
1309
+
1310
+ # Update properties of this object
1311
+ def update!(**args)
1312
+ @code = args[:code] if args.key?(:code)
1313
+ @data = args[:data] if args.key?(:data)
1314
+ @message = args[:message] if args.key?(:message)
1315
+ end
1316
+
1317
+ #
1318
+ class Datum
1319
+ include Google::Apis::Core::Hashable
1320
+
1321
+ # [Output Only] A key that provides more detail on the warning being returned.
1322
+ # For example, for warnings where there are no results in a list request for a
1323
+ # particular zone, this key might be scope and the key value might be the zone
1324
+ # name. Other examples might be a key indicating a deprecated resource and a
1325
+ # suggested replacement, or a warning about invalid network settings (for
1326
+ # example, if an instance attempts to perform IP forwarding but is not enabled
1327
+ # for IP forwarding).
1328
+ # Corresponds to the JSON property `key`
1329
+ # @return [String]
1330
+ attr_accessor :key
1331
+
1332
+ # [Output Only] A warning data value corresponding to the key.
1333
+ # Corresponds to the JSON property `value`
1334
+ # @return [String]
1335
+ attr_accessor :value
1336
+
1337
+ def initialize(**args)
1338
+ update!(**args)
1339
+ end
1340
+
1341
+ # Update properties of this object
1342
+ def update!(**args)
1343
+ @key = args[:key] if args.key?(:key)
1344
+ @value = args[:value] if args.key?(:value)
1345
+ end
1346
+ end
1347
+ end
1348
+ end
1349
+
1350
+ # A response containing a partial list of operations and a page token used to
1351
+ # build the next request if the request has been truncated.
1352
+ class OperationsListResponse
1353
+ include Google::Apis::Core::Hashable
1354
+
1355
+ # [Output Only] A token used to continue a truncated list request.
1356
+ # Corresponds to the JSON property `nextPageToken`
1357
+ # @return [String]
1358
+ attr_accessor :next_page_token
1359
+
1360
+ # [Output Only] Operations contained in this list response.
1361
+ # Corresponds to the JSON property `operations`
1362
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::Operation>]
1363
+ attr_accessor :operations
1364
+
1365
+ def initialize(**args)
1366
+ update!(**args)
1367
+ end
1368
+
1369
+ # Update properties of this object
1370
+ def update!(**args)
1371
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1372
+ @operations = args[:operations] if args.key?(:operations)
1373
+ end
1374
+ end
1375
+
1376
+ # Options allows customized resource handling by Deployment Manager.
1377
+ class Options
1378
+ include Google::Apis::Core::Hashable
1379
+
1380
+ # The mappings that apply for requests.
1381
+ # Corresponds to the JSON property `inputMappings`
1382
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::InputMapping>]
1383
+ attr_accessor :input_mappings
1384
+
1385
+ # Options for how to validate and process properties on a resource.
1386
+ # Corresponds to the JSON property `validationOptions`
1387
+ # @return [Google::Apis::DeploymentmanagerV2beta::ValidationOptions]
1388
+ attr_accessor :validation_options
1389
+
1390
+ # Additional properties block described as a jsonSchema, these properties will
1391
+ # never be part of the json payload, but they can be consumed by InputMappings,
1392
+ # this must be a valid json schema draft-04. The properties specified here will
1393
+ # be decouple in a different section. This schema will be merged to the schema
1394
+ # validation, and properties here will be extracted From the payload and
1395
+ # consumed explicitly by InputMappings. ex: field1: type: string field2: type:
1396
+ # number
1397
+ # Corresponds to the JSON property `virtualProperties`
1398
+ # @return [String]
1399
+ attr_accessor :virtual_properties
1400
+
1401
+ def initialize(**args)
1402
+ update!(**args)
1403
+ end
1404
+
1405
+ # Update properties of this object
1406
+ def update!(**args)
1407
+ @input_mappings = args[:input_mappings] if args.key?(:input_mappings)
1408
+ @validation_options = args[:validation_options] if args.key?(:validation_options)
1409
+ @virtual_properties = args[:virtual_properties] if args.key?(:virtual_properties)
1410
+ end
1411
+ end
1412
+
1413
+ # Defines an Identity and Access Management (IAM) policy. It is used to specify
1414
+ # access control policies for Cloud Platform resources.
1415
+ # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `
1416
+ # members` to a `role`, where the members can be user accounts, Google groups,
1417
+ # Google domains, and service accounts. A `role` is a named list of permissions
1418
+ # defined by IAM.
1419
+ # **Example**
1420
+ # ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
1421
+ # "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
1422
+ # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
1423
+ # sean@example.com"] ` ] `
1424
+ # For a description of IAM and its features, see the [IAM developer's guide](
1425
+ # https://cloud.google.com/iam).
1426
+ class Policy
1427
+ include Google::Apis::Core::Hashable
1428
+
1429
+ # Specifies cloud audit logging configuration for this policy.
1430
+ # Corresponds to the JSON property `auditConfigs`
1431
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::AuditConfig>]
1432
+ attr_accessor :audit_configs
1433
+
1434
+ # Associates a list of `members` to a `role`. `bindings` with no members will
1435
+ # result in an error.
1436
+ # Corresponds to the JSON property `bindings`
1437
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::Binding>]
1438
+ attr_accessor :bindings
1439
+
1440
+ # `etag` is used for optimistic concurrency control as a way to help prevent
1441
+ # simultaneous updates of a policy from overwriting each other. It is strongly
1442
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
1443
+ # to perform policy updates in order to avoid race conditions: An `etag` is
1444
+ # returned in the response to `getIamPolicy`, and systems are expected to put
1445
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
1446
+ # applied to the same version of the policy.
1447
+ # If no `etag` is provided in the call to `setIamPolicy`, then the existing
1448
+ # policy is overwritten blindly.
1449
+ # Corresponds to the JSON property `etag`
1450
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1451
+ # @return [String]
1452
+ attr_accessor :etag
1453
+
1454
+ #
1455
+ # Corresponds to the JSON property `iamOwned`
1456
+ # @return [Boolean]
1457
+ attr_accessor :iam_owned
1458
+ alias_method :iam_owned?, :iam_owned
1459
+
1460
+ # If more than one rule is specified, the rules are applied in the following
1461
+ # manner: - All matching LOG rules are always applied. - If any DENY/
1462
+ # DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if
1463
+ # one or more matching rule requires logging. - Otherwise, if any ALLOW/
1464
+ # ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if
1465
+ # one or more matching rule requires logging. - Otherwise, if no rule applies,
1466
+ # permission is denied.
1467
+ # Corresponds to the JSON property `rules`
1468
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::Rule>]
1469
+ attr_accessor :rules
1470
+
1471
+ # Version of the `Policy`. The default version is 0.
1472
+ # Corresponds to the JSON property `version`
1473
+ # @return [Fixnum]
1474
+ attr_accessor :version
1475
+
1476
+ def initialize(**args)
1477
+ update!(**args)
1478
+ end
1479
+
1480
+ # Update properties of this object
1481
+ def update!(**args)
1482
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
1483
+ @bindings = args[:bindings] if args.key?(:bindings)
1484
+ @etag = args[:etag] if args.key?(:etag)
1485
+ @iam_owned = args[:iam_owned] if args.key?(:iam_owned)
1486
+ @rules = args[:rules] if args.key?(:rules)
1487
+ @version = args[:version] if args.key?(:version)
1488
+ end
1489
+ end
1490
+
1491
+ #
1492
+ class Resource
1493
+ include Google::Apis::Core::Hashable
1494
+
1495
+ # The access controls set on the resource.
1496
+ # Corresponds to the JSON property `accessControl`
1497
+ # @return [Google::Apis::DeploymentmanagerV2beta::ResourceAccessControl]
1498
+ attr_accessor :access_control
1499
+
1500
+ # [Output Only] The evaluated properties of the resource with references
1501
+ # expanded. Returned as serialized YAML.
1502
+ # Corresponds to the JSON property `finalProperties`
1503
+ # @return [String]
1504
+ attr_accessor :final_properties
1505
+
1506
+ # [Output Only] Unique identifier for the resource; defined by the server.
1507
+ # Corresponds to the JSON property `id`
1508
+ # @return [Fixnum]
1509
+ attr_accessor :id
1510
+
1511
+ # [Output Only] Timestamp when the resource was created or acquired, in RFC3339
1512
+ # text format .
1513
+ # Corresponds to the JSON property `insertTime`
1514
+ # @return [String]
1515
+ attr_accessor :insert_time
1516
+
1517
+ # [Output Only] URL of the manifest representing the current configuration of
1518
+ # this resource.
1519
+ # Corresponds to the JSON property `manifest`
1520
+ # @return [String]
1521
+ attr_accessor :manifest
1522
+
1523
+ # [Output Only] The name of the resource as it appears in the YAML config.
1524
+ # Corresponds to the JSON property `name`
1525
+ # @return [String]
1526
+ attr_accessor :name
1527
+
1528
+ # [Output Only] The current properties of the resource before any references
1529
+ # have been filled in. Returned as serialized YAML.
1530
+ # Corresponds to the JSON property `properties`
1531
+ # @return [String]
1532
+ attr_accessor :properties
1533
+
1534
+ # [Output Only] The type of the resource, for example compute.v1.instance, or
1535
+ # cloudfunctions.v1beta1.function.
1536
+ # Corresponds to the JSON property `type`
1537
+ # @return [String]
1538
+ attr_accessor :type
1539
+
1540
+ #
1541
+ # Corresponds to the JSON property `update`
1542
+ # @return [Google::Apis::DeploymentmanagerV2beta::ResourceUpdate]
1543
+ attr_accessor :update
1544
+
1545
+ # [Output Only] Timestamp when the resource was updated, in RFC3339 text format .
1546
+ # Corresponds to the JSON property `updateTime`
1547
+ # @return [String]
1548
+ attr_accessor :update_time
1549
+
1550
+ # [Output Only] The URL of the actual resource.
1551
+ # Corresponds to the JSON property `url`
1552
+ # @return [String]
1553
+ attr_accessor :url
1554
+
1555
+ # [Output Only] If warning messages are generated during processing of this
1556
+ # resource, this field will be populated.
1557
+ # Corresponds to the JSON property `warnings`
1558
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::Resource::Warning>]
1559
+ attr_accessor :warnings
1560
+
1561
+ def initialize(**args)
1562
+ update!(**args)
1563
+ end
1564
+
1565
+ # Update properties of this object
1566
+ def update!(**args)
1567
+ @access_control = args[:access_control] if args.key?(:access_control)
1568
+ @final_properties = args[:final_properties] if args.key?(:final_properties)
1569
+ @id = args[:id] if args.key?(:id)
1570
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
1571
+ @manifest = args[:manifest] if args.key?(:manifest)
1572
+ @name = args[:name] if args.key?(:name)
1573
+ @properties = args[:properties] if args.key?(:properties)
1574
+ @type = args[:type] if args.key?(:type)
1575
+ @update = args[:update] if args.key?(:update)
1576
+ @update_time = args[:update_time] if args.key?(:update_time)
1577
+ @url = args[:url] if args.key?(:url)
1578
+ @warnings = args[:warnings] if args.key?(:warnings)
1579
+ end
1580
+
1581
+ #
1582
+ class Warning
1583
+ include Google::Apis::Core::Hashable
1584
+
1585
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
1586
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
1587
+ # Corresponds to the JSON property `code`
1588
+ # @return [String]
1589
+ attr_accessor :code
1590
+
1591
+ # [Output Only] Metadata about this warning in key: value format. For example:
1592
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1593
+ # Corresponds to the JSON property `data`
1594
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::Resource::Warning::Datum>]
1595
+ attr_accessor :data
1596
+
1597
+ # [Output Only] A human-readable description of the warning code.
1598
+ # Corresponds to the JSON property `message`
1599
+ # @return [String]
1600
+ attr_accessor :message
1601
+
1602
+ def initialize(**args)
1603
+ update!(**args)
1604
+ end
1605
+
1606
+ # Update properties of this object
1607
+ def update!(**args)
1608
+ @code = args[:code] if args.key?(:code)
1609
+ @data = args[:data] if args.key?(:data)
1610
+ @message = args[:message] if args.key?(:message)
1611
+ end
1612
+
1613
+ #
1614
+ class Datum
1615
+ include Google::Apis::Core::Hashable
1616
+
1617
+ # [Output Only] A key that provides more detail on the warning being returned.
1618
+ # For example, for warnings where there are no results in a list request for a
1619
+ # particular zone, this key might be scope and the key value might be the zone
1620
+ # name. Other examples might be a key indicating a deprecated resource and a
1621
+ # suggested replacement, or a warning about invalid network settings (for
1622
+ # example, if an instance attempts to perform IP forwarding but is not enabled
1623
+ # for IP forwarding).
1624
+ # Corresponds to the JSON property `key`
1625
+ # @return [String]
1626
+ attr_accessor :key
1627
+
1628
+ # [Output Only] A warning data value corresponding to the key.
1629
+ # Corresponds to the JSON property `value`
1630
+ # @return [String]
1631
+ attr_accessor :value
1632
+
1633
+ def initialize(**args)
1634
+ update!(**args)
1635
+ end
1636
+
1637
+ # Update properties of this object
1638
+ def update!(**args)
1639
+ @key = args[:key] if args.key?(:key)
1640
+ @value = args[:value] if args.key?(:value)
1641
+ end
1642
+ end
1643
+ end
1644
+ end
1645
+
1646
+ # The access controls set on the resource.
1647
+ class ResourceAccessControl
1648
+ include Google::Apis::Core::Hashable
1649
+
1650
+ # The GCP IAM Policy to set on the resource.
1651
+ # Corresponds to the JSON property `gcpIamPolicy`
1652
+ # @return [String]
1653
+ attr_accessor :gcp_iam_policy
1654
+
1655
+ def initialize(**args)
1656
+ update!(**args)
1657
+ end
1658
+
1659
+ # Update properties of this object
1660
+ def update!(**args)
1661
+ @gcp_iam_policy = args[:gcp_iam_policy] if args.key?(:gcp_iam_policy)
1662
+ end
1663
+ end
1664
+
1665
+ #
1666
+ class ResourceUpdate
1667
+ include Google::Apis::Core::Hashable
1668
+
1669
+ # The access controls set on the resource.
1670
+ # Corresponds to the JSON property `accessControl`
1671
+ # @return [Google::Apis::DeploymentmanagerV2beta::ResourceAccessControl]
1672
+ attr_accessor :access_control
1673
+
1674
+ # [Output Only] If errors are generated during update of the resource, this
1675
+ # field will be populated.
1676
+ # Corresponds to the JSON property `error`
1677
+ # @return [Google::Apis::DeploymentmanagerV2beta::ResourceUpdate::Error]
1678
+ attr_accessor :error
1679
+
1680
+ # [Output Only] The expanded properties of the resource with reference values
1681
+ # expanded. Returned as serialized YAML.
1682
+ # Corresponds to the JSON property `finalProperties`
1683
+ # @return [String]
1684
+ attr_accessor :final_properties
1685
+
1686
+ # [Output Only] The intent of the resource: PREVIEW, UPDATE, or CANCEL.
1687
+ # Corresponds to the JSON property `intent`
1688
+ # @return [String]
1689
+ attr_accessor :intent
1690
+
1691
+ # [Output Only] URL of the manifest representing the update configuration of
1692
+ # this resource.
1693
+ # Corresponds to the JSON property `manifest`
1694
+ # @return [String]
1695
+ attr_accessor :manifest
1696
+
1697
+ # [Output Only] The set of updated properties for this resource, before
1698
+ # references are expanded. Returned as serialized YAML.
1699
+ # Corresponds to the JSON property `properties`
1700
+ # @return [String]
1701
+ attr_accessor :properties
1702
+
1703
+ # [Output Only] The state of the resource.
1704
+ # Corresponds to the JSON property `state`
1705
+ # @return [String]
1706
+ attr_accessor :state
1707
+
1708
+ # [Output Only] If warning messages are generated during processing of this
1709
+ # resource, this field will be populated.
1710
+ # Corresponds to the JSON property `warnings`
1711
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::ResourceUpdate::Warning>]
1712
+ attr_accessor :warnings
1713
+
1714
+ def initialize(**args)
1715
+ update!(**args)
1716
+ end
1717
+
1718
+ # Update properties of this object
1719
+ def update!(**args)
1720
+ @access_control = args[:access_control] if args.key?(:access_control)
1721
+ @error = args[:error] if args.key?(:error)
1722
+ @final_properties = args[:final_properties] if args.key?(:final_properties)
1723
+ @intent = args[:intent] if args.key?(:intent)
1724
+ @manifest = args[:manifest] if args.key?(:manifest)
1725
+ @properties = args[:properties] if args.key?(:properties)
1726
+ @state = args[:state] if args.key?(:state)
1727
+ @warnings = args[:warnings] if args.key?(:warnings)
1728
+ end
1729
+
1730
+ # [Output Only] If errors are generated during update of the resource, this
1731
+ # field will be populated.
1732
+ class Error
1733
+ include Google::Apis::Core::Hashable
1734
+
1735
+ # [Output Only] The array of errors encountered while processing this operation.
1736
+ # Corresponds to the JSON property `errors`
1737
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::ResourceUpdate::Error::Error>]
1738
+ attr_accessor :errors
1739
+
1740
+ def initialize(**args)
1741
+ update!(**args)
1742
+ end
1743
+
1744
+ # Update properties of this object
1745
+ def update!(**args)
1746
+ @errors = args[:errors] if args.key?(:errors)
1747
+ end
1748
+
1749
+ #
1750
+ class Error
1751
+ include Google::Apis::Core::Hashable
1752
+
1753
+ # [Output Only] The error type identifier for this error.
1754
+ # Corresponds to the JSON property `code`
1755
+ # @return [String]
1756
+ attr_accessor :code
1757
+
1758
+ # [Output Only] Indicates the field in the request that caused the error. This
1759
+ # property is optional.
1760
+ # Corresponds to the JSON property `location`
1761
+ # @return [String]
1762
+ attr_accessor :location
1763
+
1764
+ # [Output Only] An optional, human-readable error message.
1765
+ # Corresponds to the JSON property `message`
1766
+ # @return [String]
1767
+ attr_accessor :message
1768
+
1769
+ def initialize(**args)
1770
+ update!(**args)
1771
+ end
1772
+
1773
+ # Update properties of this object
1774
+ def update!(**args)
1775
+ @code = args[:code] if args.key?(:code)
1776
+ @location = args[:location] if args.key?(:location)
1777
+ @message = args[:message] if args.key?(:message)
1778
+ end
1779
+ end
1780
+ end
1781
+
1782
+ #
1783
+ class Warning
1784
+ include Google::Apis::Core::Hashable
1785
+
1786
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
1787
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
1788
+ # Corresponds to the JSON property `code`
1789
+ # @return [String]
1790
+ attr_accessor :code
1791
+
1792
+ # [Output Only] Metadata about this warning in key: value format. For example:
1793
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1794
+ # Corresponds to the JSON property `data`
1795
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::ResourceUpdate::Warning::Datum>]
1796
+ attr_accessor :data
1797
+
1798
+ # [Output Only] A human-readable description of the warning code.
1799
+ # Corresponds to the JSON property `message`
1800
+ # @return [String]
1801
+ attr_accessor :message
1802
+
1803
+ def initialize(**args)
1804
+ update!(**args)
1805
+ end
1806
+
1807
+ # Update properties of this object
1808
+ def update!(**args)
1809
+ @code = args[:code] if args.key?(:code)
1810
+ @data = args[:data] if args.key?(:data)
1811
+ @message = args[:message] if args.key?(:message)
1812
+ end
1813
+
1814
+ #
1815
+ class Datum
1816
+ include Google::Apis::Core::Hashable
1817
+
1818
+ # [Output Only] A key that provides more detail on the warning being returned.
1819
+ # For example, for warnings where there are no results in a list request for a
1820
+ # particular zone, this key might be scope and the key value might be the zone
1821
+ # name. Other examples might be a key indicating a deprecated resource and a
1822
+ # suggested replacement, or a warning about invalid network settings (for
1823
+ # example, if an instance attempts to perform IP forwarding but is not enabled
1824
+ # for IP forwarding).
1825
+ # Corresponds to the JSON property `key`
1826
+ # @return [String]
1827
+ attr_accessor :key
1828
+
1829
+ # [Output Only] A warning data value corresponding to the key.
1830
+ # Corresponds to the JSON property `value`
1831
+ # @return [String]
1832
+ attr_accessor :value
1833
+
1834
+ def initialize(**args)
1835
+ update!(**args)
1836
+ end
1837
+
1838
+ # Update properties of this object
1839
+ def update!(**args)
1840
+ @key = args[:key] if args.key?(:key)
1841
+ @value = args[:value] if args.key?(:value)
1842
+ end
1843
+ end
1844
+ end
1845
+ end
1846
+
1847
+ # A response containing a partial list of resources and a page token used to
1848
+ # build the next request if the request has been truncated.
1849
+ class ResourcesListResponse
1850
+ include Google::Apis::Core::Hashable
1851
+
1852
+ # A token used to continue a truncated list request.
1853
+ # Corresponds to the JSON property `nextPageToken`
1854
+ # @return [String]
1855
+ attr_accessor :next_page_token
1856
+
1857
+ # Resources contained in this list response.
1858
+ # Corresponds to the JSON property `resources`
1859
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::Resource>]
1860
+ attr_accessor :resources
1861
+
1862
+ def initialize(**args)
1863
+ update!(**args)
1864
+ end
1865
+
1866
+ # Update properties of this object
1867
+ def update!(**args)
1868
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1869
+ @resources = args[:resources] if args.key?(:resources)
1870
+ end
1871
+ end
1872
+
1873
+ # A rule to be applied in a Policy.
1874
+ class Rule
1875
+ include Google::Apis::Core::Hashable
1876
+
1877
+ # Required
1878
+ # Corresponds to the JSON property `action`
1879
+ # @return [String]
1880
+ attr_accessor :action
1881
+
1882
+ # Additional restrictions that must be met
1883
+ # Corresponds to the JSON property `conditions`
1884
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::Condition>]
1885
+ attr_accessor :conditions
1886
+
1887
+ # Human-readable description of the rule.
1888
+ # Corresponds to the JSON property `description`
1889
+ # @return [String]
1890
+ attr_accessor :description
1891
+
1892
+ # If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/
1893
+ # AUTHORITY_SELECTOR is in at least one of these entries.
1894
+ # Corresponds to the JSON property `ins`
1895
+ # @return [Array<String>]
1896
+ attr_accessor :ins
1897
+
1898
+ # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
1899
+ # that match the LOG action.
1900
+ # Corresponds to the JSON property `logConfigs`
1901
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::LogConfig>]
1902
+ attr_accessor :log_configs
1903
+
1904
+ # If one or more 'not_in' clauses are specified, the rule matches if the
1905
+ # PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
1906
+ # Corresponds to the JSON property `notIns`
1907
+ # @return [Array<String>]
1908
+ attr_accessor :not_ins
1909
+
1910
+ # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value
1911
+ # of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.
1912
+ # *') matches all verbs.
1913
+ # Corresponds to the JSON property `permissions`
1914
+ # @return [Array<String>]
1915
+ attr_accessor :permissions
1916
+
1917
+ def initialize(**args)
1918
+ update!(**args)
1919
+ end
1920
+
1921
+ # Update properties of this object
1922
+ def update!(**args)
1923
+ @action = args[:action] if args.key?(:action)
1924
+ @conditions = args[:conditions] if args.key?(:conditions)
1925
+ @description = args[:description] if args.key?(:description)
1926
+ @ins = args[:ins] if args.key?(:ins)
1927
+ @log_configs = args[:log_configs] if args.key?(:log_configs)
1928
+ @not_ins = args[:not_ins] if args.key?(:not_ins)
1929
+ @permissions = args[:permissions] if args.key?(:permissions)
1930
+ end
1931
+ end
1932
+
1933
+ #
1934
+ class TargetConfiguration
1935
+ include Google::Apis::Core::Hashable
1936
+
1937
+ #
1938
+ # Corresponds to the JSON property `config`
1939
+ # @return [Google::Apis::DeploymentmanagerV2beta::ConfigFile]
1940
+ attr_accessor :config
1941
+
1942
+ # Specifies any files to import for this configuration. This can be used to
1943
+ # import templates or other files. For example, you might import a text file in
1944
+ # order to use the file in a template.
1945
+ # Corresponds to the JSON property `imports`
1946
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::ImportFile>]
1947
+ attr_accessor :imports
1948
+
1949
+ def initialize(**args)
1950
+ update!(**args)
1951
+ end
1952
+
1953
+ # Update properties of this object
1954
+ def update!(**args)
1955
+ @config = args[:config] if args.key?(:config)
1956
+ @imports = args[:imports] if args.key?(:imports)
1957
+ end
1958
+ end
1959
+
1960
+ # Files that make up the template contents of a template type.
1961
+ class TemplateContents
1962
+ include Google::Apis::Core::Hashable
1963
+
1964
+ # Import files referenced by the main template.
1965
+ # Corresponds to the JSON property `imports`
1966
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::ImportFile>]
1967
+ attr_accessor :imports
1968
+
1969
+ # Which interpreter (python or jinja) should be used during expansion.
1970
+ # Corresponds to the JSON property `interpreter`
1971
+ # @return [String]
1972
+ attr_accessor :interpreter
1973
+
1974
+ # The contents of the template schema.
1975
+ # Corresponds to the JSON property `schema`
1976
+ # @return [String]
1977
+ attr_accessor :schema
1978
+
1979
+ # The contents of the main template file.
1980
+ # Corresponds to the JSON property `template`
1981
+ # @return [String]
1982
+ attr_accessor :template
1983
+
1984
+ def initialize(**args)
1985
+ update!(**args)
1986
+ end
1987
+
1988
+ # Update properties of this object
1989
+ def update!(**args)
1990
+ @imports = args[:imports] if args.key?(:imports)
1991
+ @interpreter = args[:interpreter] if args.key?(:interpreter)
1992
+ @schema = args[:schema] if args.key?(:schema)
1993
+ @template = args[:template] if args.key?(:template)
1994
+ end
1995
+ end
1996
+
1997
+ #
1998
+ class TestPermissionsRequest
1999
+ include Google::Apis::Core::Hashable
2000
+
2001
+ # The set of permissions to check for the 'resource'. Permissions with wildcards
2002
+ # (such as '*' or 'storage.*') are not allowed.
2003
+ # Corresponds to the JSON property `permissions`
2004
+ # @return [Array<String>]
2005
+ attr_accessor :permissions
2006
+
2007
+ def initialize(**args)
2008
+ update!(**args)
2009
+ end
2010
+
2011
+ # Update properties of this object
2012
+ def update!(**args)
2013
+ @permissions = args[:permissions] if args.key?(:permissions)
2014
+ end
2015
+ end
2016
+
2017
+ #
2018
+ class TestPermissionsResponse
2019
+ include Google::Apis::Core::Hashable
2020
+
2021
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
2022
+ # Corresponds to the JSON property `permissions`
2023
+ # @return [Array<String>]
2024
+ attr_accessor :permissions
2025
+
2026
+ def initialize(**args)
2027
+ update!(**args)
2028
+ end
2029
+
2030
+ # Update properties of this object
2031
+ def update!(**args)
2032
+ @permissions = args[:permissions] if args.key?(:permissions)
2033
+ end
2034
+ end
2035
+
2036
+ # A resource type supported by Deployment Manager.
2037
+ class Type
2038
+ include Google::Apis::Core::Hashable
2039
+
2040
+ # BaseType that describes a service-backed Type.
2041
+ # Corresponds to the JSON property `base`
2042
+ # @return [Google::Apis::DeploymentmanagerV2beta::BaseType]
2043
+ attr_accessor :base
2044
+
2045
+ # An optional textual description of the resource; provided by the client when
2046
+ # the resource is created.
2047
+ # Corresponds to the JSON property `description`
2048
+ # @return [String]
2049
+ attr_accessor :description
2050
+
2051
+ # [Output Only] Unique identifier for the resource; defined by the server.
2052
+ # Corresponds to the JSON property `id`
2053
+ # @return [Fixnum]
2054
+ attr_accessor :id
2055
+
2056
+ # [Output Only] Timestamp when the type was created, in RFC3339 text format.
2057
+ # Corresponds to the JSON property `insertTime`
2058
+ # @return [String]
2059
+ attr_accessor :insert_time
2060
+
2061
+ # Map of labels; provided by the client when the resource is created or updated.
2062
+ # Specifically: Label keys must be between 1 and 63 characters long and must
2063
+ # conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
2064
+ # values must be between 0 and 63 characters long and must conform to the
2065
+ # regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
2066
+ # Corresponds to the JSON property `labels`
2067
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::TypeLabelEntry>]
2068
+ attr_accessor :labels
2069
+
2070
+ # Name of the type.
2071
+ # Corresponds to the JSON property `name`
2072
+ # @return [String]
2073
+ attr_accessor :name
2074
+
2075
+ # An Operation resource, used to manage asynchronous API requests.
2076
+ # Corresponds to the JSON property `operation`
2077
+ # @return [Google::Apis::DeploymentmanagerV2beta::Operation]
2078
+ attr_accessor :operation
2079
+
2080
+ # [Output Only] Self link for the type.
2081
+ # Corresponds to the JSON property `selfLink`
2082
+ # @return [String]
2083
+ attr_accessor :self_link
2084
+
2085
+ def initialize(**args)
2086
+ update!(**args)
2087
+ end
2088
+
2089
+ # Update properties of this object
2090
+ def update!(**args)
2091
+ @base = args[:base] if args.key?(:base)
2092
+ @description = args[:description] if args.key?(:description)
2093
+ @id = args[:id] if args.key?(:id)
2094
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
2095
+ @labels = args[:labels] if args.key?(:labels)
2096
+ @name = args[:name] if args.key?(:name)
2097
+ @operation = args[:operation] if args.key?(:operation)
2098
+ @self_link = args[:self_link] if args.key?(:self_link)
2099
+ end
2100
+ end
2101
+
2102
+ # Contains detailed information about a composite type, base type, or base type
2103
+ # with specific collection.
2104
+ class TypeInfo
2105
+ include Google::Apis::Core::Hashable
2106
+
2107
+ # The description of the type.
2108
+ # Corresponds to the JSON property `description`
2109
+ # @return [String]
2110
+ attr_accessor :description
2111
+
2112
+ # For swagger 2.0 externalDocs field will be used. For swagger 1.2 this field
2113
+ # will be empty.
2114
+ # Corresponds to the JSON property `documentationLink`
2115
+ # @return [String]
2116
+ attr_accessor :documentation_link
2117
+
2118
+ # [Output Only] Type of the output. Always deploymentManager#TypeInfo for
2119
+ # TypeInfo.
2120
+ # Corresponds to the JSON property `kind`
2121
+ # @return [String]
2122
+ attr_accessor :kind
2123
+
2124
+ # The base type or composite type name.
2125
+ # Corresponds to the JSON property `name`
2126
+ # @return [String]
2127
+ attr_accessor :name
2128
+
2129
+ #
2130
+ # Corresponds to the JSON property `schema`
2131
+ # @return [Google::Apis::DeploymentmanagerV2beta::TypeInfoSchemaInfo]
2132
+ attr_accessor :schema
2133
+
2134
+ # [Output Only] Server-defined URL for the resource.
2135
+ # Corresponds to the JSON property `selfLink`
2136
+ # @return [String]
2137
+ attr_accessor :self_link
2138
+
2139
+ # The title on the API descriptor URL provided.
2140
+ # Corresponds to the JSON property `title`
2141
+ # @return [String]
2142
+ attr_accessor :title
2143
+
2144
+ def initialize(**args)
2145
+ update!(**args)
2146
+ end
2147
+
2148
+ # Update properties of this object
2149
+ def update!(**args)
2150
+ @description = args[:description] if args.key?(:description)
2151
+ @documentation_link = args[:documentation_link] if args.key?(:documentation_link)
2152
+ @kind = args[:kind] if args.key?(:kind)
2153
+ @name = args[:name] if args.key?(:name)
2154
+ @schema = args[:schema] if args.key?(:schema)
2155
+ @self_link = args[:self_link] if args.key?(:self_link)
2156
+ @title = args[:title] if args.key?(:title)
2157
+ end
2158
+ end
2159
+
2160
+ #
2161
+ class TypeInfoSchemaInfo
2162
+ include Google::Apis::Core::Hashable
2163
+
2164
+ # The properties that this composite type or base type collection accept as
2165
+ # input, represented as a json blob, format is: JSON Schema Draft V4
2166
+ # Corresponds to the JSON property `input`
2167
+ # @return [String]
2168
+ attr_accessor :input
2169
+
2170
+ # The properties that this composite type or base type collection exposes as
2171
+ # output, these properties can be used for references, represented as json blob,
2172
+ # format is: JSON Schema Draft V4
2173
+ # Corresponds to the JSON property `output`
2174
+ # @return [String]
2175
+ attr_accessor :output
2176
+
2177
+ def initialize(**args)
2178
+ update!(**args)
2179
+ end
2180
+
2181
+ # Update properties of this object
2182
+ def update!(**args)
2183
+ @input = args[:input] if args.key?(:input)
2184
+ @output = args[:output] if args.key?(:output)
2185
+ end
2186
+ end
2187
+
2188
+ #
2189
+ class TypeLabelEntry
2190
+ include Google::Apis::Core::Hashable
2191
+
2192
+ #
2193
+ # Corresponds to the JSON property `key`
2194
+ # @return [String]
2195
+ attr_accessor :key
2196
+
2197
+ #
2198
+ # Corresponds to the JSON property `value`
2199
+ # @return [String]
2200
+ attr_accessor :value
2201
+
2202
+ def initialize(**args)
2203
+ update!(**args)
2204
+ end
2205
+
2206
+ # Update properties of this object
2207
+ def update!(**args)
2208
+ @key = args[:key] if args.key?(:key)
2209
+ @value = args[:value] if args.key?(:value)
2210
+ end
2211
+ end
2212
+
2213
+ # A type provider that describes a service-backed Type.
2214
+ class TypeProvider
2215
+ include Google::Apis::Core::Hashable
2216
+
2217
+ # Allows resource handling overrides for specific collections
2218
+ # Corresponds to the JSON property `collectionOverrides`
2219
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::CollectionOverride>]
2220
+ attr_accessor :collection_overrides
2221
+
2222
+ # Credential used by ConfigurableResourceTypes.
2223
+ # Corresponds to the JSON property `credential`
2224
+ # @return [Google::Apis::DeploymentmanagerV2beta::Credential]
2225
+ attr_accessor :credential
2226
+
2227
+ # An optional textual description of the resource; provided by the client when
2228
+ # the resource is created.
2229
+ # Corresponds to the JSON property `description`
2230
+ # @return [String]
2231
+ attr_accessor :description
2232
+
2233
+ # Descriptor Url for the this type provider.
2234
+ # Corresponds to the JSON property `descriptorUrl`
2235
+ # @return [String]
2236
+ attr_accessor :descriptor_url
2237
+
2238
+ # [Output Only] Unique identifier for the resource; defined by the server.
2239
+ # Corresponds to the JSON property `id`
2240
+ # @return [Fixnum]
2241
+ attr_accessor :id
2242
+
2243
+ # [Output Only] Timestamp when the type provider was created, in RFC3339 text
2244
+ # format.
2245
+ # Corresponds to the JSON property `insertTime`
2246
+ # @return [String]
2247
+ attr_accessor :insert_time
2248
+
2249
+ # Map of labels; provided by the client when the resource is created or updated.
2250
+ # Specifically: Label keys must be between 1 and 63 characters long and must
2251
+ # conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
2252
+ # values must be between 0 and 63 characters long and must conform to the
2253
+ # regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
2254
+ # Corresponds to the JSON property `labels`
2255
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::TypeProviderLabelEntry>]
2256
+ attr_accessor :labels
2257
+
2258
+ # Name of the type provider.
2259
+ # Corresponds to the JSON property `name`
2260
+ # @return [String]
2261
+ attr_accessor :name
2262
+
2263
+ # An Operation resource, used to manage asynchronous API requests.
2264
+ # Corresponds to the JSON property `operation`
2265
+ # @return [Google::Apis::DeploymentmanagerV2beta::Operation]
2266
+ attr_accessor :operation
2267
+
2268
+ # Options allows customized resource handling by Deployment Manager.
2269
+ # Corresponds to the JSON property `options`
2270
+ # @return [Google::Apis::DeploymentmanagerV2beta::Options]
2271
+ attr_accessor :options
2272
+
2273
+ # [Output Only] Self link for the type provider.
2274
+ # Corresponds to the JSON property `selfLink`
2275
+ # @return [String]
2276
+ attr_accessor :self_link
2277
+
2278
+ def initialize(**args)
2279
+ update!(**args)
2280
+ end
2281
+
2282
+ # Update properties of this object
2283
+ def update!(**args)
2284
+ @collection_overrides = args[:collection_overrides] if args.key?(:collection_overrides)
2285
+ @credential = args[:credential] if args.key?(:credential)
2286
+ @description = args[:description] if args.key?(:description)
2287
+ @descriptor_url = args[:descriptor_url] if args.key?(:descriptor_url)
2288
+ @id = args[:id] if args.key?(:id)
2289
+ @insert_time = args[:insert_time] if args.key?(:insert_time)
2290
+ @labels = args[:labels] if args.key?(:labels)
2291
+ @name = args[:name] if args.key?(:name)
2292
+ @operation = args[:operation] if args.key?(:operation)
2293
+ @options = args[:options] if args.key?(:options)
2294
+ @self_link = args[:self_link] if args.key?(:self_link)
2295
+ end
2296
+ end
2297
+
2298
+ #
2299
+ class TypeProviderLabelEntry
2300
+ include Google::Apis::Core::Hashable
2301
+
2302
+ #
2303
+ # Corresponds to the JSON property `key`
2304
+ # @return [String]
2305
+ attr_accessor :key
2306
+
2307
+ #
2308
+ # Corresponds to the JSON property `value`
2309
+ # @return [String]
2310
+ attr_accessor :value
2311
+
2312
+ def initialize(**args)
2313
+ update!(**args)
2314
+ end
2315
+
2316
+ # Update properties of this object
2317
+ def update!(**args)
2318
+ @key = args[:key] if args.key?(:key)
2319
+ @value = args[:value] if args.key?(:value)
2320
+ end
2321
+ end
2322
+
2323
+ # A response that returns all Type Providers supported by Deployment Manager
2324
+ class TypeProvidersListResponse
2325
+ include Google::Apis::Core::Hashable
2326
+
2327
+ # A token used to continue a truncated list request.
2328
+ # Corresponds to the JSON property `nextPageToken`
2329
+ # @return [String]
2330
+ attr_accessor :next_page_token
2331
+
2332
+ # [Output Only] A list of resource type providers supported by Deployment
2333
+ # Manager.
2334
+ # Corresponds to the JSON property `typeProviders`
2335
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::TypeProvider>]
2336
+ attr_accessor :type_providers
2337
+
2338
+ def initialize(**args)
2339
+ update!(**args)
2340
+ end
2341
+
2342
+ # Update properties of this object
2343
+ def update!(**args)
2344
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2345
+ @type_providers = args[:type_providers] if args.key?(:type_providers)
2346
+ end
2347
+ end
2348
+
2349
+ #
2350
+ class TypeProvidersListTypesResponse
2351
+ include Google::Apis::Core::Hashable
2352
+
2353
+ # A token used to continue a truncated list request.
2354
+ # Corresponds to the JSON property `nextPageToken`
2355
+ # @return [String]
2356
+ attr_accessor :next_page_token
2357
+
2358
+ # [Output Only] A list of resource type info.
2359
+ # Corresponds to the JSON property `types`
2360
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::TypeInfo>]
2361
+ attr_accessor :types
2362
+
2363
+ def initialize(**args)
2364
+ update!(**args)
2365
+ end
2366
+
2367
+ # Update properties of this object
2368
+ def update!(**args)
2369
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2370
+ @types = args[:types] if args.key?(:types)
2371
+ end
2372
+ end
2373
+
2374
+ # A response that returns all Types supported by Deployment Manager
2375
+ class TypesListResponse
2376
+ include Google::Apis::Core::Hashable
2377
+
2378
+ # A token used to continue a truncated list request.
2379
+ # Corresponds to the JSON property `nextPageToken`
2380
+ # @return [String]
2381
+ attr_accessor :next_page_token
2382
+
2383
+ # [Output Only] A list of resource types supported by Deployment Manager.
2384
+ # Corresponds to the JSON property `types`
2385
+ # @return [Array<Google::Apis::DeploymentmanagerV2beta::Type>]
2386
+ attr_accessor :types
2387
+
2388
+ def initialize(**args)
2389
+ update!(**args)
2390
+ end
2391
+
2392
+ # Update properties of this object
2393
+ def update!(**args)
2394
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2395
+ @types = args[:types] if args.key?(:types)
2396
+ end
2397
+ end
2398
+
2399
+ # Options for how to validate and process properties on a resource.
2400
+ class ValidationOptions
2401
+ include Google::Apis::Core::Hashable
2402
+
2403
+ # Customize how deployment manager will validate the resource against schema
2404
+ # errors.
2405
+ # Corresponds to the JSON property `schemaValidation`
2406
+ # @return [String]
2407
+ attr_accessor :schema_validation
2408
+
2409
+ # Specify what to do with extra properties when executing a request.
2410
+ # Corresponds to the JSON property `undeclaredProperties`
2411
+ # @return [String]
2412
+ attr_accessor :undeclared_properties
2413
+
2414
+ def initialize(**args)
2415
+ update!(**args)
2416
+ end
2417
+
2418
+ # Update properties of this object
2419
+ def update!(**args)
2420
+ @schema_validation = args[:schema_validation] if args.key?(:schema_validation)
2421
+ @undeclared_properties = args[:undeclared_properties] if args.key?(:undeclared_properties)
2422
+ end
2423
+ end
2424
+ end
2425
+ end
2426
+ end