google-api-client 0.12.0 → 0.13.0

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 (315) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/api_names.yaml +945 -41609
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
  10. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  11. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  12. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  13. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  14. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  17. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  18. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  19. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  21. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  22. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  23. data/generated/google/apis/analytics_v3/service.rb +82 -82
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
  25. data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
  26. data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  30. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  32. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  33. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  34. data/generated/google/apis/appengine_v1.rb +4 -4
  35. data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
  36. data/generated/google/apis/appengine_v1/representations.rb +362 -343
  37. data/generated/google/apis/appengine_v1/service.rb +220 -220
  38. data/generated/google/apis/appstate_v1.rb +1 -1
  39. data/generated/google/apis/bigquery_v2.rb +1 -1
  40. data/generated/google/apis/bigquery_v2/classes.rb +5 -5
  41. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  42. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  43. data/generated/google/apis/blogger_v3/service.rb +3 -3
  44. data/generated/google/apis/books_v1/classes.rb +55 -55
  45. data/generated/google/apis/books_v1/representations.rb +67 -67
  46. data/generated/google/apis/books_v1/service.rb +82 -82
  47. data/generated/google/apis/calendar_v3.rb +1 -1
  48. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  49. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  50. data/generated/google/apis/calendar_v3/service.rb +2 -2
  51. data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
  52. data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
  53. data/generated/google/apis/civicinfo_v2/service.rb +12 -12
  54. data/generated/google/apis/classroom_v1.rb +7 -7
  55. data/generated/google/apis/classroom_v1/classes.rb +1013 -991
  56. data/generated/google/apis/classroom_v1/representations.rb +207 -204
  57. data/generated/google/apis/classroom_v1/service.rb +709 -709
  58. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  59. data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
  60. data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
  61. data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
  62. data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
  63. data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
  64. data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
  65. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  66. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
  67. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
  68. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
  69. data/generated/google/apis/cloudkms_v1.rb +1 -1
  70. data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
  71. data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
  72. data/generated/google/apis/cloudkms_v1/service.rb +267 -267
  73. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  74. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
  75. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
  76. data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
  77. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
  79. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
  80. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
  81. data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +163 -15
  84. data/generated/google/apis/compute_beta/representations.rb +54 -14
  85. data/generated/google/apis/compute_beta/service.rb +2258 -482
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +465 -13
  88. data/generated/google/apis/compute_v1/representations.rb +202 -16
  89. data/generated/google/apis/compute_v1/service.rb +573 -309
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +635 -589
  92. data/generated/google/apis/container_v1/representations.rb +139 -111
  93. data/generated/google/apis/container_v1/service.rb +272 -227
  94. data/generated/google/apis/content_v2.rb +1 -1
  95. data/generated/google/apis/content_v2/classes.rb +86 -74
  96. data/generated/google/apis/content_v2/representations.rb +107 -105
  97. data/generated/google/apis/content_v2/service.rb +131 -130
  98. data/generated/google/apis/customsearch_v1.rb +2 -2
  99. data/generated/google/apis/customsearch_v1/classes.rb +0 -6
  100. data/generated/google/apis/customsearch_v1/representations.rb +0 -1
  101. data/generated/google/apis/customsearch_v1/service.rb +2 -5
  102. data/generated/google/apis/dataflow_v1b3.rb +7 -4
  103. data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
  104. data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
  105. data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +543 -691
  108. data/generated/google/apis/dataproc_v1/representations.rb +129 -185
  109. data/generated/google/apis/dataproc_v1/service.rb +347 -347
  110. data/generated/google/apis/datastore_v1.rb +4 -4
  111. data/generated/google/apis/datastore_v1/classes.rb +833 -833
  112. data/generated/google/apis/datastore_v1/representations.rb +182 -182
  113. data/generated/google/apis/datastore_v1/service.rb +45 -45
  114. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  115. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  116. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  117. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  118. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  119. data/generated/google/apis/discovery_v1/service.rb +1 -1
  120. data/generated/google/apis/dns_v1.rb +1 -1
  121. data/generated/google/apis/dns_v1/classes.rb +3 -3
  122. data/generated/google/apis/dns_v1/representations.rb +6 -6
  123. data/generated/google/apis/dns_v1/service.rb +12 -12
  124. data/generated/google/apis/dns_v2beta1.rb +1 -1
  125. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  126. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  127. data/generated/google/apis/drive_v2.rb +1 -1
  128. data/generated/google/apis/drive_v2/classes.rb +1 -1
  129. data/generated/google/apis/drive_v2/service.rb +1 -1
  130. data/generated/google/apis/drive_v3.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
  136. data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
  137. data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
  138. data/generated/google/apis/firebaserules_v1/service.rb +103 -103
  139. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  140. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  141. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  142. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  143. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  144. data/generated/google/apis/games_management_v1management.rb +1 -1
  145. data/generated/google/apis/games_v1.rb +1 -1
  146. data/generated/google/apis/games_v1/classes.rb +23 -23
  147. data/generated/google/apis/games_v1/representations.rb +43 -43
  148. data/generated/google/apis/games_v1/service.rb +72 -72
  149. data/generated/google/apis/genomics_v1.rb +1 -1
  150. data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
  151. data/generated/google/apis/genomics_v1/representations.rb +291 -291
  152. data/generated/google/apis/genomics_v1/service.rb +821 -821
  153. data/generated/google/apis/gmail_v1.rb +1 -1
  154. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  155. data/generated/google/apis/groupssettings_v1.rb +1 -1
  156. data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
  157. data/generated/google/apis/groupssettings_v1/service.rb +3 -0
  158. data/generated/google/apis/iam_v1/classes.rb +338 -338
  159. data/generated/google/apis/iam_v1/representations.rb +98 -98
  160. data/generated/google/apis/iam_v1/service.rb +35 -35
  161. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  162. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  163. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  164. data/generated/google/apis/kgsearch_v1/service.rb +13 -13
  165. data/generated/google/apis/language_v1.rb +1 -1
  166. data/generated/google/apis/language_v1/classes.rb +374 -374
  167. data/generated/google/apis/language_v1/representations.rb +97 -97
  168. data/generated/google/apis/language_v1/service.rb +16 -16
  169. data/generated/google/apis/language_v1beta1.rb +1 -1
  170. data/generated/google/apis/language_v1beta1/classes.rb +441 -441
  171. data/generated/google/apis/language_v1beta1/representations.rb +108 -108
  172. data/generated/google/apis/language_v1beta1/service.rb +30 -30
  173. data/generated/google/apis/licensing_v1/service.rb +2 -2
  174. data/generated/google/apis/logging_v2.rb +1 -1
  175. data/generated/google/apis/logging_v2/classes.rb +712 -712
  176. data/generated/google/apis/logging_v2/representations.rb +109 -109
  177. data/generated/google/apis/logging_v2/service.rb +543 -539
  178. data/generated/google/apis/logging_v2beta1.rb +1 -1
  179. data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
  180. data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
  181. data/generated/google/apis/logging_v2beta1/service.rb +257 -256
  182. data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
  183. data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
  184. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  185. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  186. data/generated/google/apis/mirror_v1/service.rb +20 -20
  187. data/generated/google/apis/ml_v1.rb +1 -1
  188. data/generated/google/apis/ml_v1/classes.rb +1830 -1210
  189. data/generated/google/apis/ml_v1/representations.rb +342 -120
  190. data/generated/google/apis/ml_v1/service.rb +365 -258
  191. data/generated/google/apis/monitoring_v3.rb +4 -4
  192. data/generated/google/apis/monitoring_v3/classes.rb +889 -889
  193. data/generated/google/apis/monitoring_v3/representations.rb +174 -174
  194. data/generated/google/apis/monitoring_v3/service.rb +119 -119
  195. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  196. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  197. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  198. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  199. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  200. data/generated/google/apis/partners_v2.rb +1 -1
  201. data/generated/google/apis/partners_v2/classes.rb +550 -536
  202. data/generated/google/apis/partners_v2/representations.rb +118 -116
  203. data/generated/google/apis/partners_v2/service.rb +439 -439
  204. data/generated/google/apis/people_v1.rb +4 -4
  205. data/generated/google/apis/people_v1/classes.rb +414 -413
  206. data/generated/google/apis/people_v1/representations.rb +85 -85
  207. data/generated/google/apis/people_v1/service.rb +111 -18
  208. data/generated/google/apis/plus_domains_v1.rb +1 -1
  209. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  210. data/generated/google/apis/plus_v1.rb +1 -1
  211. data/generated/google/apis/plus_v1/service.rb +1 -1
  212. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  213. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  214. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
  215. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
  216. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
  217. data/generated/google/apis/pubsub_v1/classes.rb +249 -249
  218. data/generated/google/apis/pubsub_v1/representations.rb +80 -80
  219. data/generated/google/apis/pubsub_v1/service.rb +415 -415
  220. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  221. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  222. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  223. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  226. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  227. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  228. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  229. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  230. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  231. data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
  232. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  233. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  234. data/generated/google/apis/script_v1.rb +17 -17
  235. data/generated/google/apis/script_v1/classes.rb +27 -27
  236. data/generated/google/apis/script_v1/representations.rb +5 -5
  237. data/generated/google/apis/script_v1/service.rb +4 -4
  238. data/generated/google/apis/searchconsole_v1.rb +1 -1
  239. data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
  240. data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
  241. data/generated/google/apis/searchconsole_v1/service.rb +4 -4
  242. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  243. data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
  244. data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
  245. data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
  246. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  247. data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
  248. data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
  249. data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
  250. data/generated/google/apis/serviceuser_v1.rb +1 -1
  251. data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
  252. data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
  253. data/generated/google/apis/serviceuser_v1/service.rb +37 -37
  254. data/generated/google/apis/sheets_v4.rb +1 -1
  255. data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
  256. data/generated/google/apis/sheets_v4/representations.rb +994 -824
  257. data/generated/google/apis/sheets_v4/service.rb +80 -80
  258. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  259. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  260. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  261. data/generated/google/apis/slides_v1.rb +1 -1
  262. data/generated/google/apis/slides_v1/classes.rb +2885 -2885
  263. data/generated/google/apis/slides_v1/representations.rb +310 -310
  264. data/generated/google/apis/slides_v1/service.rb +54 -54
  265. data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
  266. data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
  267. data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
  268. data/generated/google/apis/spanner_v1.rb +1 -1
  269. data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
  270. data/generated/google/apis/spanner_v1/representations.rb +174 -174
  271. data/generated/google/apis/spanner_v1/service.rb +497 -497
  272. data/generated/google/apis/speech_v1beta1.rb +1 -1
  273. data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
  274. data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
  275. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  276. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  277. data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
  278. data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
  279. data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
  280. data/generated/google/apis/storage_v1.rb +1 -1
  281. data/generated/google/apis/storage_v1/classes.rb +40 -6
  282. data/generated/google/apis/storage_v1/representations.rb +20 -4
  283. data/generated/google/apis/storage_v1/service.rb +61 -46
  284. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  285. data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
  286. data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
  287. data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
  288. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  289. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  290. data/generated/google/apis/translate_v2/classes.rb +12 -12
  291. data/generated/google/apis/translate_v2/representations.rb +10 -10
  292. data/generated/google/apis/translate_v2/service.rb +62 -62
  293. data/generated/google/apis/vision_v1.rb +1 -1
  294. data/generated/google/apis/vision_v1/classes.rb +1267 -1267
  295. data/generated/google/apis/vision_v1/representations.rb +200 -200
  296. data/generated/google/apis/vision_v1/service.rb +10 -10
  297. data/generated/google/apis/webmasters_v3.rb +1 -1
  298. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  299. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  300. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  301. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  302. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  303. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  304. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  305. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  306. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  307. data/generated/google/apis/youtube_v3/service.rb +80 -80
  308. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  309. data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
  310. data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
  311. data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
  312. data/lib/google/apis/generator/annotator.rb +2 -2
  313. data/lib/google/apis/generator/model.rb +2 -2
  314. data/lib/google/apis/version.rb +1 -1
  315. metadata +2 -2
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20170524'
29
+ REVISION = '20170607'
30
30
 
31
31
  # View your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
@@ -22,119 +22,87 @@ module Google
22
22
  module Apis
23
23
  module CloudresourcemanagerV1beta1
24
24
 
25
- # Specifies the audit configuration for a service.
26
- # The configuration determines which permission types are logged, and what
27
- # identities, if any, are exempted from logging.
28
- # An AuditConfig must have one or more AuditLogConfigs.
29
- # If there are AuditConfigs for both `allServices` and a specific service,
30
- # the union of the two AuditConfigs is used for that service: the log_types
31
- # specified in each AuditConfig are enabled, and the exempted_members in each
32
- # AuditConfig are exempted.
33
- # Example Policy with multiple AuditConfigs:
34
- # `
35
- # "audit_configs": [
36
- # `
37
- # "service": "allServices"
38
- # "audit_log_configs": [
39
- # `
40
- # "log_type": "DATA_READ",
41
- # "exempted_members": [
42
- # "user:foo@gmail.com"
43
- # ]
44
- # `,
45
- # `
46
- # "log_type": "DATA_WRITE",
47
- # `,
48
- # `
49
- # "log_type": "ADMIN_READ",
50
- # `
51
- # ]
52
- # `,
53
- # `
54
- # "service": "fooservice.googleapis.com"
55
- # "audit_log_configs": [
56
- # `
57
- # "log_type": "DATA_READ",
58
- # `,
59
- # `
60
- # "log_type": "DATA_WRITE",
61
- # "exempted_members": [
62
- # "user:bar@gmail.com"
63
- # ]
64
- # `
65
- # ]
66
- # `
67
- # ]
68
- # `
69
- # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
70
- # logging. It also exempts foo@gmail.com from DATA_READ logging, and
71
- # bar@gmail.com from DATA_WRITE logging.
72
- class AuditConfig
25
+ # The request sent to the
26
+ # GetAncestry
27
+ # method.
28
+ class GetAncestryRequest
73
29
  include Google::Apis::Core::Hashable
74
30
 
75
- # The configuration for logging of each type of permission.
76
- # Next ID: 4
77
- # Corresponds to the JSON property `auditLogConfigs`
78
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig>]
79
- attr_accessor :audit_log_configs
80
-
81
- # Specifies a service that will be enabled for audit logging.
82
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
83
- # `allServices` is a special value that covers all services.
84
- # Corresponds to the JSON property `service`
85
- # @return [String]
86
- attr_accessor :service
87
-
88
31
  def initialize(**args)
89
32
  update!(**args)
90
33
  end
91
34
 
92
35
  # Update properties of this object
93
36
  def update!(**args)
94
- @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
95
- @service = args[:service] if args.key?(:service)
96
37
  end
97
38
  end
98
39
 
99
- # Identifying information for a single ancestor of a project.
100
- class Ancestor
40
+ # A Project is a high-level Google Cloud Platform entity. It is a
41
+ # container for ACLs, APIs, App Engine Apps, VMs, and other
42
+ # Google Cloud Platform resources.
43
+ class Project
101
44
  include Google::Apis::Core::Hashable
102
45
 
46
+ # The number uniquely identifying the project.
47
+ # Example: <code>415104041262</code>
48
+ # Read-only.
49
+ # Corresponds to the JSON property `projectNumber`
50
+ # @return [Fixnum]
51
+ attr_accessor :project_number
52
+
103
53
  # A container to reference an id for any resource type. A `resource` in Google
104
54
  # Cloud Platform is a generic term for something you (a developer) may want to
105
55
  # interact with through one of our API's. Some examples are an App Engine app,
106
56
  # a Compute Engine instance, a Cloud SQL database, and so on.
107
- # Corresponds to the JSON property `resourceId`
57
+ # Corresponds to the JSON property `parent`
108
58
  # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
109
- attr_accessor :resource_id
59
+ attr_accessor :parent
110
60
 
111
- def initialize(**args)
112
- update!(**args)
113
- end
61
+ # Creation time.
62
+ # Read-only.
63
+ # Corresponds to the JSON property `createTime`
64
+ # @return [String]
65
+ attr_accessor :create_time
114
66
 
115
- # Update properties of this object
116
- def update!(**args)
117
- @resource_id = args[:resource_id] if args.key?(:resource_id)
118
- end
119
- end
67
+ # The labels associated with this Project.
68
+ # Label keys must be between 1 and 63 characters long and must conform
69
+ # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
70
+ # Label values must be between 0 and 63 characters long and must conform
71
+ # to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
72
+ # No more than 256 labels can be associated with a given resource.
73
+ # Clients should store labels in a representation such as JSON that does not
74
+ # depend on specific characters being disallowed.
75
+ # Example: <code>"environment" : "dev"</code>
76
+ # Read-write.
77
+ # Corresponds to the JSON property `labels`
78
+ # @return [Hash<String,String>]
79
+ attr_accessor :labels
120
80
 
121
- # The response returned from the `ListOrganizations` method.
122
- class ListOrganizationsResponse
123
- include Google::Apis::Core::Hashable
81
+ # The user-assigned display name of the Project.
82
+ # It must be 4 to 30 characters.
83
+ # Allowed characters are: lowercase and uppercase letters, numbers,
84
+ # hyphen, single-quote, double-quote, space, and exclamation point.
85
+ # Example: <code>My Project</code>
86
+ # Read-write.
87
+ # Corresponds to the JSON property `name`
88
+ # @return [String]
89
+ attr_accessor :name
124
90
 
125
- # A pagination token to be used to retrieve the next page of results. If the
126
- # result is too large to fit within the page size specified in the request,
127
- # this field will be set with a token that can be used to fetch the next page
128
- # of results. If this field is empty, it indicates that this response
129
- # contains the last page of results.
130
- # Corresponds to the JSON property `nextPageToken`
91
+ # The unique, user-assigned ID of the Project.
92
+ # It must be 6 to 30 lowercase letters, digits, or hyphens.
93
+ # It must start with a letter.
94
+ # Trailing hyphens are prohibited.
95
+ # Example: <code>tokyo-rain-123</code>
96
+ # Read-only after creation.
97
+ # Corresponds to the JSON property `projectId`
131
98
  # @return [String]
132
- attr_accessor :next_page_token
99
+ attr_accessor :project_id
133
100
 
134
- # The list of Organizations that matched the list query, possibly paginated.
135
- # Corresponds to the JSON property `organizations`
136
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Organization>]
137
- attr_accessor :organizations
101
+ # The Project lifecycle state.
102
+ # Read-only.
103
+ # Corresponds to the JSON property `lifecycleState`
104
+ # @return [String]
105
+ attr_accessor :lifecycle_state
138
106
 
139
107
  def initialize(**args)
140
108
  update!(**args)
@@ -142,53 +110,27 @@ module Google
142
110
 
143
111
  # Update properties of this object
144
112
  def update!(**args)
145
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
146
- @organizations = args[:organizations] if args.key?(:organizations)
113
+ @project_number = args[:project_number] if args.key?(:project_number)
114
+ @parent = args[:parent] if args.key?(:parent)
115
+ @create_time = args[:create_time] if args.key?(:create_time)
116
+ @labels = args[:labels] if args.key?(:labels)
117
+ @name = args[:name] if args.key?(:name)
118
+ @project_id = args[:project_id] if args.key?(:project_id)
119
+ @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
147
120
  end
148
121
  end
149
122
 
150
- # Request message for `SetIamPolicy` method.
151
- class SetIamPolicyRequest
123
+ # Request message for `TestIamPermissions` method.
124
+ class TestIamPermissionsRequest
152
125
  include Google::Apis::Core::Hashable
153
126
 
154
- # Defines an Identity and Access Management (IAM) policy. It is used to
155
- # specify access control policies for Cloud Platform resources.
156
- # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
157
- # `members` to a `role`, where the members can be user accounts, Google groups,
158
- # Google domains, and service accounts. A `role` is a named list of permissions
159
- # defined by IAM.
160
- # **Example**
161
- # `
162
- # "bindings": [
163
- # `
164
- # "role": "roles/owner",
165
- # "members": [
166
- # "user:mike@example.com",
167
- # "group:admins@example.com",
168
- # "domain:google.com",
169
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
170
- # ]
171
- # `,
172
- # `
173
- # "role": "roles/viewer",
174
- # "members": ["user:sean@example.com"]
175
- # `
176
- # ]
177
- # `
178
- # For a description of IAM and its features, see the
179
- # [IAM developer's guide](https://cloud.google.com/iam).
180
- # Corresponds to the JSON property `policy`
181
- # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
182
- attr_accessor :policy
183
-
184
- # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
185
- # the fields in the mask will be modified. If no mask is provided, the
186
- # following default mask is used:
187
- # paths: "bindings, etag"
188
- # This field is only used by Cloud IAM.
189
- # Corresponds to the JSON property `updateMask`
190
- # @return [String]
191
- attr_accessor :update_mask
127
+ # The set of permissions to check for the `resource`. Permissions with
128
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
129
+ # information see
130
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
131
+ # Corresponds to the JSON property `permissions`
132
+ # @return [Array<String>]
133
+ attr_accessor :permissions
192
134
 
193
135
  def initialize(**args)
194
136
  update!(**args)
@@ -196,60 +138,35 @@ module Google
196
138
 
197
139
  # Update properties of this object
198
140
  def update!(**args)
199
- @policy = args[:policy] if args.key?(:policy)
200
- @update_mask = args[:update_mask] if args.key?(:update_mask)
141
+ @permissions = args[:permissions] if args.key?(:permissions)
201
142
  end
202
143
  end
203
144
 
204
- # Associates `members` with a `role`.
205
- class Binding
145
+ # Metadata describing a long running folder operation
146
+ class FolderOperation
206
147
  include Google::Apis::Core::Hashable
207
148
 
208
- # Specifies the identities requesting access for a Cloud Platform resource.
209
- # `members` can have the following values:
210
- # * `allUsers`: A special identifier that represents anyone who is
211
- # on the internet; with or without a Google account.
212
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
213
- # who is authenticated with a Google account or a service account.
214
- # * `user:`emailid``: An email address that represents a specific Google
215
- # account. For example, `alice@gmail.com` or `joe@example.com`.
216
- # * `serviceAccount:`emailid``: An email address that represents a service
217
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
218
- # * `group:`emailid``: An email address that represents a Google group.
219
- # For example, `admins@example.com`.
220
- # * `domain:`domain``: A Google Apps domain name that represents all the
221
- # users of that domain. For example, `google.com` or `example.com`.
222
- # Corresponds to the JSON property `members`
223
- # @return [Array<String>]
224
- attr_accessor :members
225
-
226
- # Role that is assigned to `members`.
227
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
228
- # Required
229
- # Corresponds to the JSON property `role`
149
+ # The type of this operation.
150
+ # Corresponds to the JSON property `operationType`
230
151
  # @return [String]
231
- attr_accessor :role
152
+ attr_accessor :operation_type
232
153
 
233
- def initialize(**args)
234
- update!(**args)
235
- end
154
+ # The display name of the folder.
155
+ # Corresponds to the JSON property `displayName`
156
+ # @return [String]
157
+ attr_accessor :display_name
236
158
 
237
- # Update properties of this object
238
- def update!(**args)
239
- @members = args[:members] if args.key?(:members)
240
- @role = args[:role] if args.key?(:role)
241
- end
242
- end
159
+ # The resource name of the folder's parent.
160
+ # Only applicable when the operation_type is MOVE.
161
+ # Corresponds to the JSON property `sourceParent`
162
+ # @return [String]
163
+ attr_accessor :source_parent
243
164
 
244
- # A generic empty message that you can re-use to avoid defining duplicated
245
- # empty messages in your APIs. A typical example is to use it as the request
246
- # or the response type of an API method. For instance:
247
- # service Foo `
248
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
249
- # `
250
- # The JSON representation for `Empty` is empty JSON object ````.
251
- class Empty
252
- include Google::Apis::Core::Hashable
165
+ # The resource name of the folder or organization we are either creating
166
+ # the folder under or moving the folder to.
167
+ # Corresponds to the JSON property `destinationParent`
168
+ # @return [String]
169
+ attr_accessor :destination_parent
253
170
 
254
171
  def initialize(**args)
255
172
  update!(**args)
@@ -257,56 +174,71 @@ module Google
257
174
 
258
175
  # Update properties of this object
259
176
  def update!(**args)
177
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
178
+ @display_name = args[:display_name] if args.key?(:display_name)
179
+ @source_parent = args[:source_parent] if args.key?(:source_parent)
180
+ @destination_parent = args[:destination_parent] if args.key?(:destination_parent)
260
181
  end
261
182
  end
262
183
 
263
- # The root node in the resource hierarchy to which a particular entity's
264
- # (e.g., company) resources belong.
265
- class Organization
184
+ # Defines an Identity and Access Management (IAM) policy. It is used to
185
+ # specify access control policies for Cloud Platform resources.
186
+ # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
187
+ # `members` to a `role`, where the members can be user accounts, Google groups,
188
+ # Google domains, and service accounts. A `role` is a named list of permissions
189
+ # defined by IAM.
190
+ # **Example**
191
+ # `
192
+ # "bindings": [
193
+ # `
194
+ # "role": "roles/owner",
195
+ # "members": [
196
+ # "user:mike@example.com",
197
+ # "group:admins@example.com",
198
+ # "domain:google.com",
199
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
200
+ # ]
201
+ # `,
202
+ # `
203
+ # "role": "roles/viewer",
204
+ # "members": ["user:sean@example.com"]
205
+ # `
206
+ # ]
207
+ # `
208
+ # For a description of IAM and its features, see the
209
+ # [IAM developer's guide](https://cloud.google.com/iam).
210
+ class Policy
266
211
  include Google::Apis::Core::Hashable
267
212
 
268
- # Timestamp when the Organization was created. Assigned by the server.
269
- # @OutputOnly
270
- # Corresponds to the JSON property `creationTime`
271
- # @return [String]
272
- attr_accessor :creation_time
273
-
274
- # The entity that owns an Organization. The lifetime of the Organization and
275
- # all of its descendants are bound to the `OrganizationOwner`. If the
276
- # `OrganizationOwner` is deleted, the Organization and all its descendants will
277
- # be deleted.
278
- # Corresponds to the JSON property `owner`
279
- # @return [Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner]
280
- attr_accessor :owner
281
-
282
- # Output Only. The resource name of the organization. This is the
283
- # organization's relative path in the API. Its format is
284
- # "organizations/[organization_id]". For example, "organizations/1234".
285
- # Corresponds to the JSON property `name`
213
+ # `etag` is used for optimistic concurrency control as a way to help
214
+ # prevent simultaneous updates of a policy from overwriting each other.
215
+ # It is strongly suggested that systems make use of the `etag` in the
216
+ # read-modify-write cycle to perform policy updates in order to avoid race
217
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
218
+ # systems are expected to put that etag in the request to `setIamPolicy` to
219
+ # ensure that their change will be applied to the same version of the policy.
220
+ # If no `etag` is provided in the call to `setIamPolicy`, then the existing
221
+ # policy is overwritten blindly.
222
+ # Corresponds to the JSON property `etag`
223
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
286
224
  # @return [String]
287
- attr_accessor :name
225
+ attr_accessor :etag
288
226
 
289
- # An immutable id for the Organization that is assigned on creation. This
290
- # should be omitted when creating a new Organization.
291
- # This field is read-only.
292
- # This field is deprecated and will be removed in v1. Use name instead.
293
- # Corresponds to the JSON property `organizationId`
294
- # @return [String]
295
- attr_accessor :organization_id
227
+ # Version of the `Policy`. The default version is 0.
228
+ # Corresponds to the JSON property `version`
229
+ # @return [Fixnum]
230
+ attr_accessor :version
296
231
 
297
- # The organization's current lifecycle state. Assigned by the server.
298
- # @OutputOnly
299
- # Corresponds to the JSON property `lifecycleState`
300
- # @return [String]
301
- attr_accessor :lifecycle_state
232
+ # Specifies cloud audit logging configuration for this policy.
233
+ # Corresponds to the JSON property `auditConfigs`
234
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
235
+ attr_accessor :audit_configs
302
236
 
303
- # A friendly string to be used to refer to the Organization in the UI.
304
- # Assigned by the server, set to the primary domain of the G Suite
305
- # customer that owns the organization.
306
- # @OutputOnly
307
- # Corresponds to the JSON property `displayName`
308
- # @return [String]
309
- attr_accessor :display_name
237
+ # Associates a list of `members` to a `role`.
238
+ # `bindings` with no members will result in an error.
239
+ # Corresponds to the JSON property `bindings`
240
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
241
+ attr_accessor :bindings
310
242
 
311
243
  def initialize(**args)
312
244
  update!(**args)
@@ -314,53 +246,50 @@ module Google
314
246
 
315
247
  # Update properties of this object
316
248
  def update!(**args)
317
- @creation_time = args[:creation_time] if args.key?(:creation_time)
318
- @owner = args[:owner] if args.key?(:owner)
319
- @name = args[:name] if args.key?(:name)
320
- @organization_id = args[:organization_id] if args.key?(:organization_id)
321
- @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
322
- @display_name = args[:display_name] if args.key?(:display_name)
249
+ @etag = args[:etag] if args.key?(:etag)
250
+ @version = args[:version] if args.key?(:version)
251
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
252
+ @bindings = args[:bindings] if args.key?(:bindings)
323
253
  end
324
254
  end
325
255
 
326
- # The request sent to the UndeleteProject
327
- # method.
328
- class UndeleteProjectRequest
256
+ # A classification of the Folder Operation error.
257
+ class FolderOperationError
329
258
  include Google::Apis::Core::Hashable
330
259
 
260
+ # The type of operation error experienced.
261
+ # Corresponds to the JSON property `errorMessageId`
262
+ # @return [String]
263
+ attr_accessor :error_message_id
264
+
331
265
  def initialize(**args)
332
266
  update!(**args)
333
267
  end
334
268
 
335
269
  # Update properties of this object
336
270
  def update!(**args)
271
+ @error_message_id = args[:error_message_id] if args.key?(:error_message_id)
337
272
  end
338
273
  end
339
274
 
340
- # A status object which is used as the `metadata` field for the Operation
341
- # returned by CreateProject. It provides insight for when significant phases of
342
- # Project creation have completed.
343
- class ProjectCreationStatus
275
+ # A container to reference an id for any resource type. A `resource` in Google
276
+ # Cloud Platform is a generic term for something you (a developer) may want to
277
+ # interact with through one of our API's. Some examples are an App Engine app,
278
+ # a Compute Engine instance, a Cloud SQL database, and so on.
279
+ class ResourceId
344
280
  include Google::Apis::Core::Hashable
345
281
 
346
- # True if the project creation process is complete.
347
- # Corresponds to the JSON property `ready`
348
- # @return [Boolean]
349
- attr_accessor :ready
350
- alias_method :ready?, :ready
351
-
352
- # Creation time of the project creation workflow.
353
- # Corresponds to the JSON property `createTime`
282
+ # Required field representing the resource type this id is for.
283
+ # At present, the valid types are "project" and "organization".
284
+ # Corresponds to the JSON property `type`
354
285
  # @return [String]
355
- attr_accessor :create_time
286
+ attr_accessor :type
356
287
 
357
- # True if the project can be retrieved using GetProject. No other operations
358
- # on the project are guaranteed to work until the project creation is
359
- # complete.
360
- # Corresponds to the JSON property `gettable`
361
- # @return [Boolean]
362
- attr_accessor :gettable
363
- alias_method :gettable?, :gettable
288
+ # Required field for the type-specific id. This should correspond to the id
289
+ # used in the type-specific API's.
290
+ # Corresponds to the JSON property `id`
291
+ # @return [String]
292
+ attr_accessor :id
364
293
 
365
294
  def initialize(**args)
366
295
  update!(**args)
@@ -368,21 +297,73 @@ module Google
368
297
 
369
298
  # Update properties of this object
370
299
  def update!(**args)
371
- @ready = args[:ready] if args.key?(:ready)
372
- @create_time = args[:create_time] if args.key?(:create_time)
373
- @gettable = args[:gettable] if args.key?(:gettable)
300
+ @type = args[:type] if args.key?(:type)
301
+ @id = args[:id] if args.key?(:id)
374
302
  end
375
303
  end
376
304
 
377
- # Response message for `TestIamPermissions` method.
378
- class TestIamPermissionsResponse
305
+ # Specifies the audit configuration for a service.
306
+ # The configuration determines which permission types are logged, and what
307
+ # identities, if any, are exempted from logging.
308
+ # An AuditConfig must have one or more AuditLogConfigs.
309
+ # If there are AuditConfigs for both `allServices` and a specific service,
310
+ # the union of the two AuditConfigs is used for that service: the log_types
311
+ # specified in each AuditConfig are enabled, and the exempted_members in each
312
+ # AuditConfig are exempted.
313
+ # Example Policy with multiple AuditConfigs:
314
+ # `
315
+ # "audit_configs": [
316
+ # `
317
+ # "service": "allServices"
318
+ # "audit_log_configs": [
319
+ # `
320
+ # "log_type": "DATA_READ",
321
+ # "exempted_members": [
322
+ # "user:foo@gmail.com"
323
+ # ]
324
+ # `,
325
+ # `
326
+ # "log_type": "DATA_WRITE",
327
+ # `,
328
+ # `
329
+ # "log_type": "ADMIN_READ",
330
+ # `
331
+ # ]
332
+ # `,
333
+ # `
334
+ # "service": "fooservice.googleapis.com"
335
+ # "audit_log_configs": [
336
+ # `
337
+ # "log_type": "DATA_READ",
338
+ # `,
339
+ # `
340
+ # "log_type": "DATA_WRITE",
341
+ # "exempted_members": [
342
+ # "user:bar@gmail.com"
343
+ # ]
344
+ # `
345
+ # ]
346
+ # `
347
+ # ]
348
+ # `
349
+ # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
350
+ # logging. It also exempts foo@gmail.com from DATA_READ logging, and
351
+ # bar@gmail.com from DATA_WRITE logging.
352
+ class AuditConfig
379
353
  include Google::Apis::Core::Hashable
380
354
 
381
- # A subset of `TestPermissionsRequest.permissions` that the caller is
382
- # allowed.
383
- # Corresponds to the JSON property `permissions`
384
- # @return [Array<String>]
385
- attr_accessor :permissions
355
+ # Specifies a service that will be enabled for audit logging.
356
+ # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
357
+ # `allServices` is a special value that covers all services.
358
+ # Corresponds to the JSON property `service`
359
+ # @return [String]
360
+ attr_accessor :service
361
+
362
+ # The configuration for logging of each type of permission.
363
+ # Next ID: 4
364
+ # Corresponds to the JSON property `auditLogConfigs`
365
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig>]
366
+ attr_accessor :audit_log_configs
386
367
 
387
368
  def initialize(**args)
388
369
  update!(**args)
@@ -390,33 +371,75 @@ module Google
390
371
 
391
372
  # Update properties of this object
392
373
  def update!(**args)
393
- @permissions = args[:permissions] if args.key?(:permissions)
374
+ @service = args[:service] if args.key?(:service)
375
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
394
376
  end
395
377
  end
396
378
 
397
- # Request message for `GetIamPolicy` method.
398
- class GetIamPolicyRequest
379
+ # Identifying information for a single ancestor of a project.
380
+ class Ancestor
399
381
  include Google::Apis::Core::Hashable
400
382
 
383
+ # A container to reference an id for any resource type. A `resource` in Google
384
+ # Cloud Platform is a generic term for something you (a developer) may want to
385
+ # interact with through one of our API's. Some examples are an App Engine app,
386
+ # a Compute Engine instance, a Cloud SQL database, and so on.
387
+ # Corresponds to the JSON property `resourceId`
388
+ # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
389
+ attr_accessor :resource_id
390
+
401
391
  def initialize(**args)
402
392
  update!(**args)
403
393
  end
404
394
 
405
395
  # Update properties of this object
406
396
  def update!(**args)
397
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
407
398
  end
408
399
  end
409
400
 
410
- # Response from the GetAncestry method.
411
- class GetAncestryResponse
401
+ # Request message for `SetIamPolicy` method.
402
+ class SetIamPolicyRequest
412
403
  include Google::Apis::Core::Hashable
413
404
 
414
- # Ancestors are ordered from bottom to top of the resource hierarchy. The
415
- # first ancestor is the project itself, followed by the project's parent,
416
- # etc.
417
- # Corresponds to the JSON property `ancestor`
418
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Ancestor>]
419
- attr_accessor :ancestor
405
+ # Defines an Identity and Access Management (IAM) policy. It is used to
406
+ # specify access control policies for Cloud Platform resources.
407
+ # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
408
+ # `members` to a `role`, where the members can be user accounts, Google groups,
409
+ # Google domains, and service accounts. A `role` is a named list of permissions
410
+ # defined by IAM.
411
+ # **Example**
412
+ # `
413
+ # "bindings": [
414
+ # `
415
+ # "role": "roles/owner",
416
+ # "members": [
417
+ # "user:mike@example.com",
418
+ # "group:admins@example.com",
419
+ # "domain:google.com",
420
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
421
+ # ]
422
+ # `,
423
+ # `
424
+ # "role": "roles/viewer",
425
+ # "members": ["user:sean@example.com"]
426
+ # `
427
+ # ]
428
+ # `
429
+ # For a description of IAM and its features, see the
430
+ # [IAM developer's guide](https://cloud.google.com/iam).
431
+ # Corresponds to the JSON property `policy`
432
+ # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
433
+ attr_accessor :policy
434
+
435
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
436
+ # the fields in the mask will be modified. If no mask is provided, the
437
+ # following default mask is used:
438
+ # paths: "bindings, etag"
439
+ # This field is only used by Cloud IAM.
440
+ # Corresponds to the JSON property `updateMask`
441
+ # @return [String]
442
+ attr_accessor :update_mask
420
443
 
421
444
  def initialize(**args)
422
445
  update!(**args)
@@ -424,21 +447,28 @@ module Google
424
447
 
425
448
  # Update properties of this object
426
449
  def update!(**args)
427
- @ancestor = args[:ancestor] if args.key?(:ancestor)
450
+ @policy = args[:policy] if args.key?(:policy)
451
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
428
452
  end
429
453
  end
430
454
 
431
- # The entity that owns an Organization. The lifetime of the Organization and
432
- # all of its descendants are bound to the `OrganizationOwner`. If the
433
- # `OrganizationOwner` is deleted, the Organization and all its descendants will
434
- # be deleted.
435
- class OrganizationOwner
455
+ # The response returned from the `ListOrganizations` method.
456
+ class ListOrganizationsResponse
436
457
  include Google::Apis::Core::Hashable
437
458
 
438
- # The Google for Work customer id used in the Directory API.
439
- # Corresponds to the JSON property `directoryCustomerId`
459
+ # A pagination token to be used to retrieve the next page of results. If the
460
+ # result is too large to fit within the page size specified in the request,
461
+ # this field will be set with a token that can be used to fetch the next page
462
+ # of results. If this field is empty, it indicates that this response
463
+ # contains the last page of results.
464
+ # Corresponds to the JSON property `nextPageToken`
440
465
  # @return [String]
441
- attr_accessor :directory_customer_id
466
+ attr_accessor :next_page_token
467
+
468
+ # The list of Organizations that matched the list query, possibly paginated.
469
+ # Corresponds to the JSON property `organizations`
470
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Organization>]
471
+ attr_accessor :organizations
442
472
 
443
473
  def initialize(**args)
444
474
  update!(**args)
@@ -446,41 +476,39 @@ module Google
446
476
 
447
477
  # Update properties of this object
448
478
  def update!(**args)
449
- @directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
479
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
480
+ @organizations = args[:organizations] if args.key?(:organizations)
450
481
  end
451
482
  end
452
483
 
453
- # Provides the configuration for logging a type of permissions.
454
- # Example:
455
- # `
456
- # "audit_log_configs": [
457
- # `
458
- # "log_type": "DATA_READ",
459
- # "exempted_members": [
460
- # "user:foo@gmail.com"
461
- # ]
462
- # `,
463
- # `
464
- # "log_type": "DATA_WRITE",
465
- # `
466
- # ]
467
- # `
468
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
469
- # foo@gmail.com from DATA_READ logging.
470
- class AuditLogConfig
484
+ # Associates `members` with a `role`.
485
+ class Binding
471
486
  include Google::Apis::Core::Hashable
472
487
 
473
- # Specifies the identities that do not cause logging for this type of
474
- # permission.
475
- # Follows the same format of Binding.members.
476
- # Corresponds to the JSON property `exemptedMembers`
488
+ # Specifies the identities requesting access for a Cloud Platform resource.
489
+ # `members` can have the following values:
490
+ # * `allUsers`: A special identifier that represents anyone who is
491
+ # on the internet; with or without a Google account.
492
+ # * `allAuthenticatedUsers`: A special identifier that represents anyone
493
+ # who is authenticated with a Google account or a service account.
494
+ # * `user:`emailid``: An email address that represents a specific Google
495
+ # account. For example, `alice@gmail.com` or `joe@example.com`.
496
+ # * `serviceAccount:`emailid``: An email address that represents a service
497
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`.
498
+ # * `group:`emailid``: An email address that represents a Google group.
499
+ # For example, `admins@example.com`.
500
+ # * `domain:`domain``: A Google Apps domain name that represents all the
501
+ # users of that domain. For example, `google.com` or `example.com`.
502
+ # Corresponds to the JSON property `members`
477
503
  # @return [Array<String>]
478
- attr_accessor :exempted_members
504
+ attr_accessor :members
479
505
 
480
- # The log type that this config enables.
481
- # Corresponds to the JSON property `logType`
506
+ # Role that is assigned to `members`.
507
+ # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
508
+ # Required
509
+ # Corresponds to the JSON property `role`
482
510
  # @return [String]
483
- attr_accessor :log_type
511
+ attr_accessor :role
484
512
 
485
513
  def initialize(**args)
486
514
  update!(**args)
@@ -488,53 +516,33 @@ module Google
488
516
 
489
517
  # Update properties of this object
490
518
  def update!(**args)
491
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
492
- @log_type = args[:log_type] if args.key?(:log_type)
519
+ @members = args[:members] if args.key?(:members)
520
+ @role = args[:role] if args.key?(:role)
493
521
  end
494
522
  end
495
523
 
496
- # A page of the response received from the
497
- # ListProjects
498
- # method.
499
- # A paginated response where more pages are available has
500
- # `next_page_token` set. This token can be used in a subsequent request to
501
- # retrieve the next request page.
502
- class ListProjectsResponse
524
+ # A generic empty message that you can re-use to avoid defining duplicated
525
+ # empty messages in your APIs. A typical example is to use it as the request
526
+ # or the response type of an API method. For instance:
527
+ # service Foo `
528
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
529
+ # `
530
+ # The JSON representation for `Empty` is empty JSON object ````.
531
+ class Empty
503
532
  include Google::Apis::Core::Hashable
504
533
 
505
- # The list of Projects that matched the list filter. This list can
506
- # be paginated.
507
- # Corresponds to the JSON property `projects`
508
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Project>]
509
- attr_accessor :projects
510
-
511
- # Pagination token.
512
- # If the result set is too large to fit in a single response, this token
513
- # is returned. It encodes the position of the current result cursor.
514
- # Feeding this value into a new list request with the `page_token` parameter
515
- # gives the next page of the results.
516
- # When `next_page_token` is not filled in, there is no next page and
517
- # the list returned is the last page in the result set.
518
- # Pagination tokens have a limited lifetime.
519
- # Corresponds to the JSON property `nextPageToken`
520
- # @return [String]
521
- attr_accessor :next_page_token
522
-
523
534
  def initialize(**args)
524
535
  update!(**args)
525
536
  end
526
537
 
527
538
  # Update properties of this object
528
539
  def update!(**args)
529
- @projects = args[:projects] if args.key?(:projects)
530
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
531
540
  end
532
541
  end
533
542
 
534
- # The request sent to the
535
- # GetAncestry
543
+ # The request sent to the UndeleteProject
536
544
  # method.
537
- class GetAncestryRequest
545
+ class UndeleteProjectRequest
538
546
  include Google::Apis::Core::Hashable
539
547
 
540
548
  def initialize(**args)
@@ -546,72 +554,93 @@ module Google
546
554
  end
547
555
  end
548
556
 
549
- # A Project is a high-level Google Cloud Platform entity. It is a
550
- # container for ACLs, APIs, App Engine Apps, VMs, and other
551
- # Google Cloud Platform resources.
552
- class Project
557
+ # The root node in the resource hierarchy to which a particular entity's
558
+ # (e.g., company) resources belong.
559
+ class Organization
553
560
  include Google::Apis::Core::Hashable
554
561
 
555
- # The Project lifecycle state.
556
- # Read-only.
562
+ # The entity that owns an Organization. The lifetime of the Organization and
563
+ # all of its descendants are bound to the `OrganizationOwner`. If the
564
+ # `OrganizationOwner` is deleted, the Organization and all its descendants will
565
+ # be deleted.
566
+ # Corresponds to the JSON property `owner`
567
+ # @return [Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner]
568
+ attr_accessor :owner
569
+
570
+ # Output Only. The resource name of the organization. This is the
571
+ # organization's relative path in the API. Its format is
572
+ # "organizations/[organization_id]". For example, "organizations/1234".
573
+ # Corresponds to the JSON property `name`
574
+ # @return [String]
575
+ attr_accessor :name
576
+
577
+ # An immutable id for the Organization that is assigned on creation. This
578
+ # should be omitted when creating a new Organization.
579
+ # This field is read-only.
580
+ # This field is deprecated and will be removed in v1. Use name instead.
581
+ # Corresponds to the JSON property `organizationId`
582
+ # @return [String]
583
+ attr_accessor :organization_id
584
+
585
+ # The organization's current lifecycle state. Assigned by the server.
586
+ # @OutputOnly
557
587
  # Corresponds to the JSON property `lifecycleState`
558
588
  # @return [String]
559
589
  attr_accessor :lifecycle_state
560
590
 
561
- # The number uniquely identifying the project.
562
- # Example: <code>415104041262</code>
563
- # Read-only.
564
- # Corresponds to the JSON property `projectNumber`
565
- # @return [Fixnum]
566
- attr_accessor :project_number
591
+ # A friendly string to be used to refer to the Organization in the UI.
592
+ # Assigned by the server, set to the primary domain of the G Suite
593
+ # customer that owns the organization.
594
+ # @OutputOnly
595
+ # Corresponds to the JSON property `displayName`
596
+ # @return [String]
597
+ attr_accessor :display_name
567
598
 
568
- # A container to reference an id for any resource type. A `resource` in Google
569
- # Cloud Platform is a generic term for something you (a developer) may want to
570
- # interact with through one of our API's. Some examples are an App Engine app,
571
- # a Compute Engine instance, a Cloud SQL database, and so on.
572
- # Corresponds to the JSON property `parent`
573
- # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
574
- attr_accessor :parent
599
+ # Timestamp when the Organization was created. Assigned by the server.
600
+ # @OutputOnly
601
+ # Corresponds to the JSON property `creationTime`
602
+ # @return [String]
603
+ attr_accessor :creation_time
575
604
 
576
- # Creation time.
577
- # Read-only.
605
+ def initialize(**args)
606
+ update!(**args)
607
+ end
608
+
609
+ # Update properties of this object
610
+ def update!(**args)
611
+ @owner = args[:owner] if args.key?(:owner)
612
+ @name = args[:name] if args.key?(:name)
613
+ @organization_id = args[:organization_id] if args.key?(:organization_id)
614
+ @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
615
+ @display_name = args[:display_name] if args.key?(:display_name)
616
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
617
+ end
618
+ end
619
+
620
+ # A status object which is used as the `metadata` field for the Operation
621
+ # returned by CreateProject. It provides insight for when significant phases of
622
+ # Project creation have completed.
623
+ class ProjectCreationStatus
624
+ include Google::Apis::Core::Hashable
625
+
626
+ # Creation time of the project creation workflow.
578
627
  # Corresponds to the JSON property `createTime`
579
628
  # @return [String]
580
629
  attr_accessor :create_time
581
630
 
582
- # The labels associated with this Project.
583
- # Label keys must be between 1 and 63 characters long and must conform
584
- # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
585
- # Label values must be between 0 and 63 characters long and must conform
586
- # to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
587
- # No more than 256 labels can be associated with a given resource.
588
- # Clients should store labels in a representation such as JSON that does not
589
- # depend on specific characters being disallowed.
590
- # Example: <code>"environment" : "dev"</code>
591
- # Read-write.
592
- # Corresponds to the JSON property `labels`
593
- # @return [Hash<String,String>]
594
- attr_accessor :labels
595
-
596
- # The user-assigned display name of the Project.
597
- # It must be 4 to 30 characters.
598
- # Allowed characters are: lowercase and uppercase letters, numbers,
599
- # hyphen, single-quote, double-quote, space, and exclamation point.
600
- # Example: <code>My Project</code>
601
- # Read-write.
602
- # Corresponds to the JSON property `name`
603
- # @return [String]
604
- attr_accessor :name
631
+ # True if the project can be retrieved using GetProject. No other operations
632
+ # on the project are guaranteed to work until the project creation is
633
+ # complete.
634
+ # Corresponds to the JSON property `gettable`
635
+ # @return [Boolean]
636
+ attr_accessor :gettable
637
+ alias_method :gettable?, :gettable
605
638
 
606
- # The unique, user-assigned ID of the Project.
607
- # It must be 6 to 30 lowercase letters, digits, or hyphens.
608
- # It must start with a letter.
609
- # Trailing hyphens are prohibited.
610
- # Example: <code>tokyo-rain-123</code>
611
- # Read-only after creation.
612
- # Corresponds to the JSON property `projectId`
613
- # @return [String]
614
- attr_accessor :project_id
639
+ # True if the project creation process is complete.
640
+ # Corresponds to the JSON property `ready`
641
+ # @return [Boolean]
642
+ attr_accessor :ready
643
+ alias_method :ready?, :ready
615
644
 
616
645
  def initialize(**args)
617
646
  update!(**args)
@@ -619,24 +648,31 @@ module Google
619
648
 
620
649
  # Update properties of this object
621
650
  def update!(**args)
622
- @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
623
- @project_number = args[:project_number] if args.key?(:project_number)
624
- @parent = args[:parent] if args.key?(:parent)
625
651
  @create_time = args[:create_time] if args.key?(:create_time)
626
- @labels = args[:labels] if args.key?(:labels)
627
- @name = args[:name] if args.key?(:name)
628
- @project_id = args[:project_id] if args.key?(:project_id)
652
+ @gettable = args[:gettable] if args.key?(:gettable)
653
+ @ready = args[:ready] if args.key?(:ready)
629
654
  end
630
655
  end
631
656
 
632
- # Request message for `TestIamPermissions` method.
633
- class TestIamPermissionsRequest
657
+ # Request message for `GetIamPolicy` method.
658
+ class GetIamPolicyRequest
634
659
  include Google::Apis::Core::Hashable
635
660
 
636
- # The set of permissions to check for the `resource`. Permissions with
637
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
638
- # information see
639
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
661
+ def initialize(**args)
662
+ update!(**args)
663
+ end
664
+
665
+ # Update properties of this object
666
+ def update!(**args)
667
+ end
668
+ end
669
+
670
+ # Response message for `TestIamPermissions` method.
671
+ class TestIamPermissionsResponse
672
+ include Google::Apis::Core::Hashable
673
+
674
+ # A subset of `TestPermissionsRequest.permissions` that the caller is
675
+ # allowed.
640
676
  # Corresponds to the JSON property `permissions`
641
677
  # @return [Array<String>]
642
678
  attr_accessor :permissions
@@ -651,65 +687,16 @@ module Google
651
687
  end
652
688
  end
653
689
 
654
- # Defines an Identity and Access Management (IAM) policy. It is used to
655
- # specify access control policies for Cloud Platform resources.
656
- # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
657
- # `members` to a `role`, where the members can be user accounts, Google groups,
658
- # Google domains, and service accounts. A `role` is a named list of permissions
659
- # defined by IAM.
660
- # **Example**
661
- # `
662
- # "bindings": [
663
- # `
664
- # "role": "roles/owner",
665
- # "members": [
666
- # "user:mike@example.com",
667
- # "group:admins@example.com",
668
- # "domain:google.com",
669
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
670
- # ]
671
- # `,
672
- # `
673
- # "role": "roles/viewer",
674
- # "members": ["user:sean@example.com"]
675
- # `
676
- # ]
677
- # `
678
- # For a description of IAM and its features, see the
679
- # [IAM developer's guide](https://cloud.google.com/iam).
680
- class Policy
690
+ # Response from the GetAncestry method.
691
+ class GetAncestryResponse
681
692
  include Google::Apis::Core::Hashable
682
693
 
683
- # Version of the `Policy`. The default version is 0.
684
- # Corresponds to the JSON property `version`
685
- # @return [Fixnum]
686
- attr_accessor :version
687
-
688
- # Specifies cloud audit logging configuration for this policy.
689
- # Corresponds to the JSON property `auditConfigs`
690
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
691
- attr_accessor :audit_configs
692
-
693
- # Associates a list of `members` to a `role`.
694
- # Multiple `bindings` must not be specified for the same `role`.
695
- # `bindings` with no members will result in an error.
696
- # Corresponds to the JSON property `bindings`
697
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
698
- attr_accessor :bindings
699
-
700
- # `etag` is used for optimistic concurrency control as a way to help
701
- # prevent simultaneous updates of a policy from overwriting each other.
702
- # It is strongly suggested that systems make use of the `etag` in the
703
- # read-modify-write cycle to perform policy updates in order to avoid race
704
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
705
- # systems are expected to put that etag in the request to `setIamPolicy` to
706
- # ensure that their change will be applied to the same version of the policy.
707
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
708
- # policy is overwritten blindly.
709
- # Corresponds to the JSON property `etag`
710
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
711
- # @return [String]
712
- attr_accessor :etag
694
+ # Ancestors are ordered from bottom to top of the resource hierarchy. The
695
+ # first ancestor is the project itself, followed by the project's parent,
696
+ # etc.
697
+ # Corresponds to the JSON property `ancestor`
698
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Ancestor>]
699
+ attr_accessor :ancestor
713
700
 
714
701
  def initialize(**args)
715
702
  update!(**args)
@@ -717,38 +704,21 @@ module Google
717
704
 
718
705
  # Update properties of this object
719
706
  def update!(**args)
720
- @version = args[:version] if args.key?(:version)
721
- @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
722
- @bindings = args[:bindings] if args.key?(:bindings)
723
- @etag = args[:etag] if args.key?(:etag)
707
+ @ancestor = args[:ancestor] if args.key?(:ancestor)
724
708
  end
725
709
  end
726
710
 
727
- # Metadata describing a long running folder operation
728
- class FolderOperation
711
+ # The entity that owns an Organization. The lifetime of the Organization and
712
+ # all of its descendants are bound to the `OrganizationOwner`. If the
713
+ # `OrganizationOwner` is deleted, the Organization and all its descendants will
714
+ # be deleted.
715
+ class OrganizationOwner
729
716
  include Google::Apis::Core::Hashable
730
717
 
731
- # The display name of the folder.
732
- # Corresponds to the JSON property `displayName`
733
- # @return [String]
734
- attr_accessor :display_name
735
-
736
- # The resource name of the folder's parent.
737
- # Only applicable when the operation_type is MOVE.
738
- # Corresponds to the JSON property `sourceParent`
739
- # @return [String]
740
- attr_accessor :source_parent
741
-
742
- # The resource name of the folder or organization we are either creating
743
- # the folder under or moving the folder to.
744
- # Corresponds to the JSON property `destinationParent`
745
- # @return [String]
746
- attr_accessor :destination_parent
747
-
748
- # The type of this operation.
749
- # Corresponds to the JSON property `operationType`
718
+ # The Google for Work customer id used in the Directory API.
719
+ # Corresponds to the JSON property `directoryCustomerId`
750
720
  # @return [String]
751
- attr_accessor :operation_type
721
+ attr_accessor :directory_customer_id
752
722
 
753
723
  def initialize(**args)
754
724
  update!(**args)
@@ -756,21 +726,41 @@ module Google
756
726
 
757
727
  # Update properties of this object
758
728
  def update!(**args)
759
- @display_name = args[:display_name] if args.key?(:display_name)
760
- @source_parent = args[:source_parent] if args.key?(:source_parent)
761
- @destination_parent = args[:destination_parent] if args.key?(:destination_parent)
762
- @operation_type = args[:operation_type] if args.key?(:operation_type)
729
+ @directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
763
730
  end
764
731
  end
765
732
 
766
- # A classification of the Folder Operation error.
767
- class FolderOperationError
733
+ # Provides the configuration for logging a type of permissions.
734
+ # Example:
735
+ # `
736
+ # "audit_log_configs": [
737
+ # `
738
+ # "log_type": "DATA_READ",
739
+ # "exempted_members": [
740
+ # "user:foo@gmail.com"
741
+ # ]
742
+ # `,
743
+ # `
744
+ # "log_type": "DATA_WRITE",
745
+ # `
746
+ # ]
747
+ # `
748
+ # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
749
+ # foo@gmail.com from DATA_READ logging.
750
+ class AuditLogConfig
768
751
  include Google::Apis::Core::Hashable
769
752
 
770
- # The type of operation error experienced.
771
- # Corresponds to the JSON property `errorMessageId`
753
+ # Specifies the identities that do not cause logging for this type of
754
+ # permission.
755
+ # Follows the same format of Binding.members.
756
+ # Corresponds to the JSON property `exemptedMembers`
757
+ # @return [Array<String>]
758
+ attr_accessor :exempted_members
759
+
760
+ # The log type that this config enables.
761
+ # Corresponds to the JSON property `logType`
772
762
  # @return [String]
773
- attr_accessor :error_message_id
763
+ attr_accessor :log_type
774
764
 
775
765
  def initialize(**args)
776
766
  update!(**args)
@@ -778,28 +768,37 @@ module Google
778
768
 
779
769
  # Update properties of this object
780
770
  def update!(**args)
781
- @error_message_id = args[:error_message_id] if args.key?(:error_message_id)
771
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
772
+ @log_type = args[:log_type] if args.key?(:log_type)
782
773
  end
783
774
  end
784
775
 
785
- # A container to reference an id for any resource type. A `resource` in Google
786
- # Cloud Platform is a generic term for something you (a developer) may want to
787
- # interact with through one of our API's. Some examples are an App Engine app,
788
- # a Compute Engine instance, a Cloud SQL database, and so on.
789
- class ResourceId
776
+ # A page of the response received from the
777
+ # ListProjects
778
+ # method.
779
+ # A paginated response where more pages are available has
780
+ # `next_page_token` set. This token can be used in a subsequent request to
781
+ # retrieve the next request page.
782
+ class ListProjectsResponse
790
783
  include Google::Apis::Core::Hashable
791
784
 
792
- # Required field representing the resource type this id is for.
793
- # At present, the valid types are "project" and "organization".
794
- # Corresponds to the JSON property `type`
795
- # @return [String]
796
- attr_accessor :type
785
+ # The list of Projects that matched the list filter. This list can
786
+ # be paginated.
787
+ # Corresponds to the JSON property `projects`
788
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Project>]
789
+ attr_accessor :projects
797
790
 
798
- # Required field for the type-specific id. This should correspond to the id
799
- # used in the type-specific API's.
800
- # Corresponds to the JSON property `id`
791
+ # Pagination token.
792
+ # If the result set is too large to fit in a single response, this token
793
+ # is returned. It encodes the position of the current result cursor.
794
+ # Feeding this value into a new list request with the `page_token` parameter
795
+ # gives the next page of the results.
796
+ # When `next_page_token` is not filled in, there is no next page and
797
+ # the list returned is the last page in the result set.
798
+ # Pagination tokens have a limited lifetime.
799
+ # Corresponds to the JSON property `nextPageToken`
801
800
  # @return [String]
802
- attr_accessor :id
801
+ attr_accessor :next_page_token
803
802
 
804
803
  def initialize(**args)
805
804
  update!(**args)
@@ -807,8 +806,8 @@ module Google
807
806
 
808
807
  # Update properties of this object
809
808
  def update!(**args)
810
- @type = args[:type] if args.key?(:type)
811
- @id = args[:id] if args.key?(:id)
809
+ @projects = args[:projects] if args.key?(:projects)
810
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
812
811
  end
813
812
  end
814
813
  end