google-api-client 0.43.0 → 0.44.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (696) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +218 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
  6. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  7. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  9. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  10. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  12. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  16. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  17. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  18. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  19. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  20. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  21. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  22. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  23. data/generated/google/apis/admin_directory_v1.rb +6 -8
  24. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  25. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  26. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  27. data/generated/google/apis/admin_reports_v1.rb +6 -5
  28. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  29. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  30. data/generated/google/apis/admob_v1.rb +1 -1
  31. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  34. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  35. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  36. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  38. data/generated/google/apis/apigee_v1.rb +6 -7
  39. data/generated/google/apis/apigee_v1/classes.rb +205 -75
  40. data/generated/google/apis/apigee_v1/representations.rb +51 -0
  41. data/generated/google/apis/apigee_v1/service.rb +133 -34
  42. data/generated/google/apis/appengine_v1.rb +1 -1
  43. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  44. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  45. data/generated/google/apis/appengine_v1/service.rb +38 -47
  46. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  47. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  48. data/generated/google/apis/appengine_v1beta.rb +1 -1
  49. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  50. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  51. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  52. data/generated/google/apis/appsmarket_v2.rb +1 -1
  53. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  54. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  55. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  56. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  57. data/generated/google/apis/bigquery_v2.rb +1 -1
  58. data/generated/google/apis/bigquery_v2/classes.rb +355 -553
  59. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  60. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  61. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  62. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  63. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  64. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  65. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  66. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  67. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  68. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  69. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  70. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  71. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  72. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  73. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  74. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  75. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  76. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  77. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  78. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  79. data/generated/google/apis/bigtableadmin_v1/classes.rb +50 -0
  80. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  81. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  82. data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
  83. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  84. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  85. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  86. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  87. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  88. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  89. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  90. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  91. data/generated/google/apis/calendar_v3.rb +1 -1
  92. data/generated/google/apis/chat_v1.rb +1 -1
  93. data/generated/google/apis/chat_v1/classes.rb +90 -115
  94. data/generated/google/apis/chat_v1/service.rb +30 -42
  95. data/generated/google/apis/civicinfo_v2.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
  98. data/generated/google/apis/cloudasset_v1/service.rb +125 -167
  99. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  100. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  101. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  102. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  103. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  104. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  105. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  106. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  107. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  108. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  109. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  110. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  111. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  112. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  113. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  114. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  115. data/generated/google/apis/cloudbuild_v1/classes.rb +291 -343
  116. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  117. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  118. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  119. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  120. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  121. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  122. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  123. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  124. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  125. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  126. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  127. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  128. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  129. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  130. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  131. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  132. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  133. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  135. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  136. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  137. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  138. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  139. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  140. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
  141. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
  142. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  143. data/generated/google/apis/cloudiot_v1.rb +1 -1
  144. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  145. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  146. data/generated/google/apis/cloudkms_v1.rb +1 -1
  147. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  148. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  149. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  150. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  151. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  152. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  153. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  154. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1 -1
  155. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  156. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  157. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  158. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  159. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  160. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  161. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  162. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  163. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  164. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  165. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  166. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
  167. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  168. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  169. data/generated/google/apis/cloudshell_v1.rb +1 -1
  170. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  171. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  172. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  173. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  174. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  175. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  176. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  177. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  178. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  179. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  180. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  181. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  182. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  183. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  184. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  185. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  186. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  187. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  188. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  189. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  190. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  191. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  192. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  193. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  194. data/generated/google/apis/composer_v1.rb +1 -1
  195. data/generated/google/apis/composer_v1/classes.rb +190 -242
  196. data/generated/google/apis/composer_v1/service.rb +79 -150
  197. data/generated/google/apis/composer_v1beta1.rb +1 -1
  198. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  199. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  200. data/generated/google/apis/compute_alpha.rb +1 -1
  201. data/generated/google/apis/compute_alpha/classes.rb +681 -127
  202. data/generated/google/apis/compute_alpha/representations.rb +110 -6
  203. data/generated/google/apis/compute_alpha/service.rb +695 -692
  204. data/generated/google/apis/compute_beta.rb +1 -1
  205. data/generated/google/apis/compute_beta/classes.rb +570 -70
  206. data/generated/google/apis/compute_beta/representations.rb +112 -1
  207. data/generated/google/apis/compute_beta/service.rb +608 -605
  208. data/generated/google/apis/compute_v1.rb +1 -1
  209. data/generated/google/apis/compute_v1/classes.rb +977 -85
  210. data/generated/google/apis/compute_v1/representations.rb +372 -0
  211. data/generated/google/apis/compute_v1/service.rb +747 -15
  212. data/generated/google/apis/container_v1.rb +1 -1
  213. data/generated/google/apis/container_v1/classes.rb +915 -965
  214. data/generated/google/apis/container_v1/representations.rb +53 -0
  215. data/generated/google/apis/container_v1/service.rb +435 -502
  216. data/generated/google/apis/container_v1beta1.rb +1 -1
  217. data/generated/google/apis/container_v1beta1/classes.rb +1021 -1043
  218. data/generated/google/apis/container_v1beta1/representations.rb +70 -0
  219. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  220. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  221. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  222. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  223. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  224. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  225. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  226. data/generated/google/apis/content_v2.rb +1 -1
  227. data/generated/google/apis/content_v2/classes.rb +3 -1
  228. data/generated/google/apis/content_v2_1.rb +1 -1
  229. data/generated/google/apis/content_v2_1/classes.rb +93 -2
  230. data/generated/google/apis/content_v2_1/representations.rb +34 -0
  231. data/generated/google/apis/content_v2_1/service.rb +53 -2
  232. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  233. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
  234. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  235. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  236. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -973
  237. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  238. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  239. data/generated/google/apis/datafusion_v1.rb +5 -8
  240. data/generated/google/apis/datafusion_v1/classes.rb +268 -397
  241. data/generated/google/apis/datafusion_v1/representations.rb +3 -0
  242. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  243. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  244. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  245. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  246. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  247. data/generated/google/apis/dataproc_v1.rb +1 -1
  248. data/generated/google/apis/dataproc_v1/classes.rb +37 -4
  249. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  250. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  251. data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
  252. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  253. data/generated/google/apis/datastore_v1.rb +1 -1
  254. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  255. data/generated/google/apis/datastore_v1/service.rb +52 -63
  256. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  257. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  258. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  259. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  260. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  261. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  262. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  263. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  264. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  265. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  266. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  267. data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
  268. data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
  269. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  270. data/generated/google/apis/dialogflow_v2.rb +1 -1
  271. data/generated/google/apis/dialogflow_v2/classes.rb +84 -44
  272. data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
  273. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  274. data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
  275. data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
  276. data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
  277. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
  278. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  279. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  280. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  281. data/generated/google/apis/displayvideo_v1.rb +1 -1
  282. data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
  283. data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
  284. data/generated/google/apis/displayvideo_v1/service.rb +48 -36
  285. data/generated/google/apis/dlp_v2.rb +1 -1
  286. data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
  287. data/generated/google/apis/dlp_v2/service.rb +962 -905
  288. data/generated/google/apis/dns_v1.rb +1 -1
  289. data/generated/google/apis/dns_v1/classes.rb +175 -198
  290. data/generated/google/apis/dns_v1/service.rb +82 -97
  291. data/generated/google/apis/dns_v1beta2.rb +1 -1
  292. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  293. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  294. data/generated/google/apis/docs_v1.rb +1 -1
  295. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  296. data/generated/google/apis/docs_v1/service.rb +17 -22
  297. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  298. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  299. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  300. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  301. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  302. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  303. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  304. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  305. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
  306. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  307. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  308. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  309. data/generated/google/apis/drive_v2.rb +1 -1
  310. data/generated/google/apis/drive_v2/classes.rb +14 -6
  311. data/generated/google/apis/drive_v2/representations.rb +1 -0
  312. data/generated/google/apis/drive_v2/service.rb +79 -15
  313. data/generated/google/apis/drive_v3.rb +1 -1
  314. data/generated/google/apis/drive_v3/classes.rb +14 -6
  315. data/generated/google/apis/drive_v3/representations.rb +1 -0
  316. data/generated/google/apis/drive_v3/service.rb +59 -11
  317. data/generated/google/apis/file_v1.rb +1 -1
  318. data/generated/google/apis/file_v1/classes.rb +154 -173
  319. data/generated/google/apis/file_v1/service.rb +43 -52
  320. data/generated/google/apis/file_v1beta1.rb +1 -1
  321. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  322. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  323. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  324. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  325. data/generated/google/apis/firebase_v1beta1/classes.rb +25 -47
  326. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  327. data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
  328. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  329. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
  330. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  331. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  332. data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
  333. data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
  334. data/generated/google/apis/firebaserules_v1.rb +1 -1
  335. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  336. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  337. data/generated/google/apis/firestore_v1.rb +1 -1
  338. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  339. data/generated/google/apis/firestore_v1/service.rb +165 -201
  340. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  341. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  342. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  343. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  344. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  345. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  346. data/generated/google/apis/fitness_v1.rb +85 -0
  347. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  348. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  349. data/generated/google/apis/fitness_v1/service.rb +626 -0
  350. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  351. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  352. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  353. data/generated/google/apis/games_management_v1management.rb +2 -3
  354. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  355. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  356. data/generated/google/apis/games_v1.rb +2 -3
  357. data/generated/google/apis/games_v1/classes.rb +76 -83
  358. data/generated/google/apis/games_v1/representations.rb +2 -0
  359. data/generated/google/apis/games_v1/service.rb +84 -90
  360. data/generated/google/apis/genomics_v1.rb +1 -1
  361. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  362. data/generated/google/apis/genomics_v1/service.rb +28 -43
  363. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  364. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  365. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  366. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  367. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
  368. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  369. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  370. data/generated/google/apis/gmail_v1.rb +1 -1
  371. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  372. data/generated/google/apis/gmail_v1/service.rb +4 -3
  373. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  374. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
  375. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  376. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  377. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  378. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  379. data/generated/google/apis/healthcare_v1.rb +1 -1
  380. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  381. data/generated/google/apis/healthcare_v1/service.rb +675 -853
  382. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  383. data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
  384. data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
  385. data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
  386. data/generated/google/apis/homegraph_v1.rb +1 -1
  387. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  388. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  389. data/generated/google/apis/iam_v1.rb +5 -2
  390. data/generated/google/apis/iam_v1/classes.rb +388 -592
  391. data/generated/google/apis/iam_v1/service.rb +429 -555
  392. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  393. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  394. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  395. data/generated/google/apis/iap_v1.rb +1 -1
  396. data/generated/google/apis/iap_v1/classes.rb +246 -355
  397. data/generated/google/apis/iap_v1/service.rb +61 -71
  398. data/generated/google/apis/iap_v1beta1.rb +1 -1
  399. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  400. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  401. data/generated/google/apis/indexing_v3.rb +1 -1
  402. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  403. data/generated/google/apis/kgsearch_v1.rb +1 -1
  404. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  405. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  406. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  407. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  408. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  409. data/generated/google/apis/localservices_v1.rb +31 -0
  410. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  411. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  412. data/generated/google/apis/localservices_v1/service.rb +199 -0
  413. data/generated/google/apis/logging_v2.rb +1 -1
  414. data/generated/google/apis/logging_v2/classes.rb +174 -214
  415. data/generated/google/apis/logging_v2/representations.rb +15 -0
  416. data/generated/google/apis/logging_v2/service.rb +1017 -584
  417. data/generated/google/apis/manufacturers_v1.rb +1 -1
  418. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  419. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  420. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  421. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
  422. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  423. data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
  424. data/generated/google/apis/ml_v1.rb +1 -1
  425. data/generated/google/apis/ml_v1/classes.rb +949 -1144
  426. data/generated/google/apis/ml_v1/representations.rb +64 -0
  427. data/generated/google/apis/ml_v1/service.rb +194 -253
  428. data/generated/google/apis/monitoring_v1.rb +1 -1
  429. data/generated/google/apis/monitoring_v1/classes.rb +103 -26
  430. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  431. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  432. data/generated/google/apis/monitoring_v3.rb +1 -1
  433. data/generated/google/apis/monitoring_v3/classes.rb +220 -322
  434. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  435. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  436. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  437. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  438. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  439. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  440. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  441. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  442. data/generated/google/apis/osconfig_v1.rb +1 -1
  443. data/generated/google/apis/osconfig_v1/classes.rb +226 -270
  444. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  445. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  446. data/generated/google/apis/osconfig_v1beta/classes.rb +1031 -411
  447. data/generated/google/apis/osconfig_v1beta/representations.rb +337 -0
  448. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  449. data/generated/google/apis/oslogin_v1.rb +1 -1
  450. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  451. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  452. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  453. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  454. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  455. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  456. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  457. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  458. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  459. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  460. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  461. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  462. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  463. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  464. data/generated/google/apis/people_v1.rb +1 -1
  465. data/generated/google/apis/people_v1/classes.rb +121 -12
  466. data/generated/google/apis/people_v1/representations.rb +41 -0
  467. data/generated/google/apis/people_v1/service.rb +39 -39
  468. data/generated/google/apis/playablelocations_v3.rb +1 -1
  469. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  470. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  471. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  472. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
  473. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
  474. data/generated/google/apis/pubsub_v1.rb +1 -1
  475. data/generated/google/apis/pubsub_v1/classes.rb +392 -518
  476. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  477. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  478. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  479. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  480. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  481. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  482. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  483. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  484. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  485. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  486. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  487. data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
  488. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  489. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  490. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
  491. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  492. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  493. data/generated/google/apis/redis_v1.rb +1 -1
  494. data/generated/google/apis/redis_v1/classes.rb +172 -208
  495. data/generated/google/apis/redis_v1/service.rb +93 -110
  496. data/generated/google/apis/redis_v1beta1.rb +1 -1
  497. data/generated/google/apis/redis_v1beta1/classes.rb +176 -212
  498. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  499. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  500. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  501. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  502. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  503. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  504. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  505. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  506. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  507. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  508. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  509. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  510. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  511. data/generated/google/apis/run_v1.rb +1 -1
  512. data/generated/google/apis/run_v1/classes.rb +4 -3
  513. data/generated/google/apis/run_v1/representations.rb +1 -1
  514. data/generated/google/apis/run_v1alpha1.rb +1 -1
  515. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  516. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  517. data/generated/google/apis/run_v1beta1.rb +1 -1
  518. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  519. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  520. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  521. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  522. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  523. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  524. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  525. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  526. data/generated/google/apis/sasportal_v1alpha1/classes.rb +6 -0
  527. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
  528. data/generated/google/apis/script_v1.rb +1 -1
  529. data/generated/google/apis/script_v1/classes.rb +88 -111
  530. data/generated/google/apis/script_v1/service.rb +63 -69
  531. data/generated/google/apis/secretmanager_v1.rb +1 -1
  532. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  533. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  534. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  535. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  536. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  537. data/generated/google/apis/securitycenter_v1.rb +1 -1
  538. data/generated/google/apis/securitycenter_v1/classes.rb +16 -6
  539. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  540. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  541. data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
  542. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  543. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  544. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
  545. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  546. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  547. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  548. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +18 -48
  549. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  550. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
  551. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  552. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  553. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  554. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  555. data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
  556. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  557. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  558. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  559. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  560. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  561. data/generated/google/apis/servicemanagement_v1/classes.rb +1266 -2116
  562. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  563. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  564. data/generated/google/apis/servicenetworking_v1/classes.rb +93 -48
  565. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  566. data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
  567. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  568. data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
  569. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  570. data/generated/google/apis/serviceusage_v1.rb +1 -1
  571. data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
  572. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  573. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  574. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  575. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
  576. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  577. data/generated/google/apis/sheets_v4.rb +1 -1
  578. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  579. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  580. data/generated/google/apis/sheets_v4/service.rb +113 -149
  581. data/generated/google/apis/site_verification_v1.rb +1 -1
  582. data/generated/google/apis/slides_v1.rb +1 -1
  583. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  584. data/generated/google/apis/slides_v1/service.rb +23 -30
  585. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  586. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  587. data/generated/google/apis/spanner_v1.rb +1 -1
  588. data/generated/google/apis/spanner_v1/classes.rb +1546 -2157
  589. data/generated/google/apis/spanner_v1/service.rb +443 -618
  590. data/generated/google/apis/speech_v1.rb +1 -1
  591. data/generated/google/apis/speech_v1/classes.rb +174 -220
  592. data/generated/google/apis/speech_v1/service.rb +27 -32
  593. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  594. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  595. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  596. data/generated/google/apis/speech_v2beta1.rb +1 -1
  597. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  598. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  599. data/generated/google/apis/sql_v1beta4.rb +1 -1
  600. data/generated/google/apis/sql_v1beta4/classes.rb +311 -370
  601. data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
  602. data/generated/google/apis/sql_v1beta4/service.rb +51 -56
  603. data/generated/google/apis/storage_v1.rb +1 -1
  604. data/generated/google/apis/storage_v1/classes.rb +8 -7
  605. data/generated/google/apis/storage_v1/representations.rb +2 -2
  606. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  607. data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
  608. data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
  609. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  610. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  611. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  612. data/generated/google/apis/tagmanager_v1.rb +1 -1
  613. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  614. data/generated/google/apis/tagmanager_v2.rb +1 -1
  615. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  616. data/generated/google/apis/tasks_v1.rb +1 -1
  617. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  618. data/generated/google/apis/tasks_v1/service.rb +16 -17
  619. data/generated/google/apis/testing_v1.rb +1 -1
  620. data/generated/google/apis/testing_v1/classes.rb +317 -382
  621. data/generated/google/apis/testing_v1/representations.rb +2 -0
  622. data/generated/google/apis/testing_v1/service.rb +22 -28
  623. data/generated/google/apis/texttospeech_v1.rb +1 -1
  624. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  625. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  626. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  627. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  628. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  629. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  630. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  631. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
  632. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  633. data/generated/google/apis/tpu_v1.rb +1 -1
  634. data/generated/google/apis/tpu_v1/classes.rb +11 -0
  635. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  636. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  637. data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
  638. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  639. data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
  640. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  641. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  642. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  643. data/generated/google/apis/translate_v3.rb +1 -1
  644. data/generated/google/apis/translate_v3/classes.rb +148 -175
  645. data/generated/google/apis/translate_v3/service.rb +122 -151
  646. data/generated/google/apis/translate_v3beta1.rb +1 -1
  647. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  648. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  649. data/generated/google/apis/vectortile_v1.rb +1 -1
  650. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  651. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  652. data/generated/google/apis/videointelligence_v1.rb +1 -1
  653. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  654. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  655. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  656. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  657. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  658. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  659. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  660. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  661. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  662. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  663. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  664. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  665. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  666. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  667. data/generated/google/apis/webfonts_v1.rb +2 -3
  668. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  669. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  670. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  671. data/generated/google/apis/youtube_v3.rb +1 -1
  672. data/generated/google/apis/youtube_v3/classes.rb +347 -0
  673. data/generated/google/apis/youtube_v3/representations.rb +176 -0
  674. data/generated/google/apis/youtube_v3/service.rb +78 -0
  675. data/lib/google/apis/version.rb +1 -1
  676. metadata +31 -31
  677. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  678. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  679. data/generated/google/apis/dns_v2beta1.rb +0 -43
  680. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  681. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  682. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  683. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  684. data/generated/google/apis/memcache_v1/representations.rb +0 -471
  685. data/generated/google/apis/oauth2_v2.rb +0 -40
  686. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  687. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  688. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  689. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
  690. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  691. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  692. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  693. data/generated/google/apis/storage_v1beta2.rb +0 -40
  694. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  695. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  696. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -47,102 +47,86 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Analyzes IAM policies to answer which identities have what accesses on
51
- # which resources.
50
+ # Analyzes IAM policies to answer which identities have what accesses on which
51
+ # resources.
52
52
  # @param [String] parent
53
53
  # Required. The relative name of the root asset. Only resources and IAM policies
54
- # within
55
- # the parent will be analyzed. This can only be an organization number (such
56
- # as "organizations/123") or a folder number (such as "folders/123").
57
- # To know how to get organization id, visit [here
58
- # ](https://cloud.google.com/resource-manager/docs/creating-managing-
59
- # organization#retrieving_your_organization_id).
60
- # To know how to get folder id, visit [here
61
- # ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#
62
- # viewing_or_listing_folders_and_projects).
54
+ # within the parent will be analyzed. This can only be an organization number (
55
+ # such as "organizations/123"), a folder number (such as "folders/123"), a
56
+ # project ID (such as "projects/my-project-id"), or a project number (such as "
57
+ # projects/12345"). To know how to get organization id, visit [here ](https://
58
+ # cloud.google.com/resource-manager/docs/creating-managing-organization#
59
+ # retrieving_your_organization_id). To know how to get folder or project id,
60
+ # visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-
61
+ # folders#viewing_or_listing_folders_and_projects).
63
62
  # @param [Array<String>, String] analysis_query_access_selector_permissions
64
63
  # Optional. The permissions to appear in result.
65
64
  # @param [Array<String>, String] analysis_query_access_selector_roles
66
65
  # Optional. The roles to appear in result.
67
66
  # @param [String] analysis_query_identity_selector_identity
68
- # Required. The identity appear in the form of members in
69
- # [IAM policy
70
- # binding](https://cloud.google.com/iam/reference/rest/v1/Binding).
71
- # The examples of supported forms are:
72
- # "user:mike@example.com",
73
- # "group:admins@example.com",
74
- # "domain:google.com",
75
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com".
76
- # Notice that wildcard characters (such as * and ?) are not supported.
77
- # You must give a specific identity.
67
+ # Required. The identity appear in the form of members in [IAM policy binding](
68
+ # https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of
69
+ # supported forms are: "user:mike@example.com", "group:admins@example.com", "
70
+ # domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com".
71
+ # Notice that wildcard characters (such as * and ?) are not supported. You must
72
+ # give a specific identity.
78
73
  # @param [String] analysis_query_resource_selector_full_resource_name
79
- # Required. The [full resource
80
- # name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
81
- # of a resource of [supported resource
82
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#
74
+ # Required. The [full resource name](https://cloud.google.com/asset-inventory/
75
+ # docs/resource-name-format) of a resource of [supported resource types](https://
76
+ # cloud.google.com/asset-inventory/docs/supported-asset-types#
83
77
  # analyzable_asset_types).
84
78
  # @param [Boolean] options_analyze_service_account_impersonation
85
79
  # Optional. If true, the response will include access analysis from identities
86
- # to
87
- # resources via service account impersonation. This is a very expensive
88
- # operation, because many derived queries will be executed. We highly
89
- # recommend you use AssetService.ExportIamPolicyAnalysis rpc instead.
90
- # For example, if the request analyzes for which resources user A has
91
- # permission P, and there's an IAM policy states user A has
92
- # iam.serviceAccounts.getAccessToken permission to a service account SA,
93
- # and there's another IAM policy states service account SA has permission P
94
- # to a GCP folder F, then user A potentially has access to the GCP folder
95
- # F. And those advanced analysis results will be included in
96
- # AnalyzeIamPolicyResponse.service_account_impersonation_analysis.
97
- # Another example, if the request analyzes for who has
98
- # permission P to a GCP folder F, and there's an IAM policy states user A
99
- # has iam.serviceAccounts.actAs permission to a service account SA, and
100
- # there's another IAM policy states service account SA has permission P to
101
- # the GCP folder F, then user A potentially has access to the GCP folder
102
- # F. And those advanced analysis results will be included in
103
- # AnalyzeIamPolicyResponse.service_account_impersonation_analysis.
104
- # Default is false.
80
+ # to resources via service account impersonation. This is a very expensive
81
+ # operation, because many derived queries will be executed. We highly recommend
82
+ # you use AssetService.ExportIamPolicyAnalysis rpc instead. For example, if the
83
+ # request analyzes for which resources user A has permission P, and there's an
84
+ # IAM policy states user A has iam.serviceAccounts.getAccessToken permission to
85
+ # a service account SA, and there's another IAM policy states service account SA
86
+ # has permission P to a GCP folder F, then user A potentially has access to the
87
+ # GCP folder F. And those advanced analysis results will be included in
88
+ # AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another
89
+ # example, if the request analyzes for who has permission P to a GCP folder F,
90
+ # and there's an IAM policy states user A has iam.serviceAccounts.actAs
91
+ # permission to a service account SA, and there's another IAM policy states
92
+ # service account SA has permission P to the GCP folder F, then user A
93
+ # potentially has access to the GCP folder F. And those advanced analysis
94
+ # results will be included in AnalyzeIamPolicyResponse.
95
+ # service_account_impersonation_analysis. Default is false.
105
96
  # @param [String] options_execution_timeout
106
- # Optional. Amount of time executable has to complete. See JSON representation
107
- # of
108
- # [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
97
+ # Optional. Amount of time executable has to complete. See JSON representation
98
+ # of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
109
99
  # If this field is set with a value less than the RPC deadline, and the
110
- # execution of your query hasn't finished in the specified
111
- # execution timeout, you will get a response with partial result.
112
- # Otherwise, your query's execution will continue until the RPC deadline.
113
- # If it's not finished until then, you will get a DEADLINE_EXCEEDED error.
114
- # Default is empty.
100
+ # execution of your query hasn't finished in the specified execution timeout,
101
+ # you will get a response with partial result. Otherwise, your query's execution
102
+ # will continue until the RPC deadline. If it's not finished until then, you
103
+ # will get a DEADLINE_EXCEEDED error. Default is empty.
115
104
  # @param [Boolean] options_expand_groups
116
- # Optional. If true, the identities section of the result will expand any
117
- # Google groups appearing in an IAM policy binding.
118
- # If identity_selector is specified, the identity in the result will
119
- # be determined by the selector, and this flag will have no effect.
120
- # Default is false.
105
+ # Optional. If true, the identities section of the result will expand any Google
106
+ # groups appearing in an IAM policy binding. If identity_selector is specified,
107
+ # the identity in the result will be determined by the selector, and this flag
108
+ # will have no effect. Default is false.
121
109
  # @param [Boolean] options_expand_resources
122
- # Optional. If true, the resource section of the result will expand any
123
- # resource attached to an IAM policy to include resources lower in the
124
- # resource hierarchy.
110
+ # Optional. If true, the resource section of the result will expand any resource
111
+ # attached to an IAM policy to include resources lower in the resource hierarchy.
125
112
  # For example, if the request analyzes for which resources user A has
126
- # permission P, and the results include an IAM policy with P on a GCP
127
- # folder, the results will also include resources in that folder with
128
- # permission P.
129
- # If resource_selector is specified, the resource section of the result
130
- # will be determined by the selector, and this flag will have no effect.
131
- # Default is false.
113
+ # permission P, and the results include an IAM policy with P on a GCP folder,
114
+ # the results will also include resources in that folder with permission P. If
115
+ # resource_selector is specified, the resource section of the result will be
116
+ # determined by the selector, and this flag will have no effect. Default is
117
+ # false.
132
118
  # @param [Boolean] options_expand_roles
133
119
  # Optional. If true, the access section of result will expand any roles
134
- # appearing in IAM policy bindings to include their permissions.
135
- # If access_selector is specified, the access section of the result
136
- # will be determined by the selector, and this flag will have no effect.
137
- # Default is false.
120
+ # appearing in IAM policy bindings to include their permissions. If
121
+ # access_selector is specified, the access section of the result will be
122
+ # determined by the selector, and this flag will have no effect. Default is
123
+ # false.
138
124
  # @param [Boolean] options_output_group_edges
139
- # Optional. If true, the result will output group identity edges, starting
140
- # from the binding's group members, to any expanded identities.
141
- # Default is false.
125
+ # Optional. If true, the result will output group identity edges, starting from
126
+ # the binding's group members, to any expanded identities. Default is false.
142
127
  # @param [Boolean] options_output_resource_edges
143
- # Optional. If true, the result will output resource edges, starting
144
- # from the policy attached resource, to any expanded resources.
145
- # Default is false.
128
+ # Optional. If true, the result will output resource edges, starting from the
129
+ # policy attached resource, to any expanded resources. Default is false.
146
130
  # @param [String] fields
147
131
  # Selector specifying which fields to include in a partial response.
148
132
  # @param [String] quota_user
@@ -181,25 +165,23 @@ module Google
181
165
  execute_or_queue_command(command, &block)
182
166
  end
183
167
 
184
- # Exports the answers of which identities have what accesses on which
185
- # resources to a Google Cloud Storage destination. The output format is
186
- # the JSON format that represents a AnalyzeIamPolicyResponse
187
- # in the JSON format.
188
- # This method implements the google.longrunning.Operation, which allows
189
- # you to keep track of the export. We recommend intervals of at least 2
190
- # seconds with exponential retry to poll the export operation result. The
191
- # metadata contains the request to help callers to map responses to requests.
168
+ # Exports the answers of which identities have what accesses on which resources
169
+ # to a Google Cloud Storage destination. The output format is the JSON format
170
+ # that represents a AnalyzeIamPolicyResponse in the JSON format. This method
171
+ # implements the google.longrunning.Operation, which allows you to keep track of
172
+ # the export. We recommend intervals of at least 2 seconds with exponential
173
+ # retry to poll the export operation result. The metadata contains the request
174
+ # to help callers to map responses to requests.
192
175
  # @param [String] parent
193
176
  # Required. The relative name of the root asset. Only resources and IAM policies
194
- # within
195
- # the parent will be analyzed. This can only be an organization number (such
196
- # as "organizations/123") or a folder number (such as "folders/123").
197
- # To know how to get organization id, visit [here
198
- # ](https://cloud.google.com/resource-manager/docs/creating-managing-
199
- # organization#retrieving_your_organization_id).
200
- # To know how to get folder id, visit [here
201
- # ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#
202
- # viewing_or_listing_folders_and_projects).
177
+ # within the parent will be analyzed. This can only be an organization number (
178
+ # such as "organizations/123"), a folder number (such as "folders/123"), a
179
+ # project ID (such as "projects/my-project-id"), or a project number (such as "
180
+ # projects/12345"). To know how to get organization id, visit [here ](https://
181
+ # cloud.google.com/resource-manager/docs/creating-managing-organization#
182
+ # retrieving_your_organization_id). To know how to get folder or project id,
183
+ # visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-
184
+ # folders#viewing_or_listing_folders_and_projects).
203
185
  # @param [Google::Apis::CloudassetV1p4beta1::ExportIamPolicyAnalysisRequest] export_iam_policy_analysis_request_object
204
186
  # @param [String] fields
205
187
  # Selector specifying which fields to include in a partial response.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/asset-inventory/docs/quickstart
26
26
  module CloudassetV1p5beta1
27
27
  VERSION = 'V1p5beta1'
28
- REVISION = '20200731'
28
+ REVISION = '20200810'
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'
@@ -22,15 +22,12 @@ module Google
22
22
  module Apis
23
23
  module CloudassetV1p5beta1
24
24
 
25
- # An asset in Google Cloud. An asset can be any resource in the Google Cloud
26
- # [resource
27
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
28
- # resource-hierarchy),
29
- # a resource outside the Google Cloud resource hierarchy (such as Google
30
- # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
31
- # See [Supported asset
32
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
33
- # for more information.
25
+ # An asset in Google Cloud. An asset can be any resource in the Google Cloud [
26
+ # resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
27
+ # platform-resource-hierarchy), a resource outside the Google Cloud resource
28
+ # hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
29
+ # (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
30
+ # asset-inventory/docs/supported-asset-types) for more information.
34
31
  class Asset
35
32
  include Google::Apis::Core::Hashable
36
33
 
@@ -42,114 +39,74 @@ module Google
42
39
  attr_accessor :access_level
43
40
 
44
41
  # `AccessPolicy` is a container for `AccessLevels` (which define the necessary
45
- # attributes to use Google Cloud services) and `ServicePerimeters` (which
46
- # define regions of services able to freely pass data within a perimeter). An
47
- # access policy is globally visible within an organization, and the
48
- # restrictions it specifies apply to all projects within an organization.
42
+ # attributes to use Google Cloud services) and `ServicePerimeters` (which define
43
+ # regions of services able to freely pass data within a perimeter). An access
44
+ # policy is globally visible within an organization, and the restrictions it
45
+ # specifies apply to all projects within an organization.
49
46
  # Corresponds to the JSON property `accessPolicy`
50
47
  # @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1AccessPolicy]
51
48
  attr_accessor :access_policy
52
49
 
53
- # The ancestry path of an asset in Google Cloud [resource
54
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
55
- # resource-hierarchy),
56
- # represented as a list of relative resource names. An ancestry path starts
57
- # with the closest ancestor in the hierarchy and ends at root. If the asset
58
- # is a project, folder, or organization, the ancestry path starts from the
59
- # asset itself.
60
- # Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
50
+ # The ancestry path of an asset in Google Cloud [resource hierarchy](https://
51
+ # cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
52
+ # represented as a list of relative resource names. An ancestry path starts with
53
+ # the closest ancestor in the hierarchy and ends at root. If the asset is a
54
+ # project, folder, or organization, the ancestry path starts from the asset
55
+ # itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
61
56
  # Corresponds to the JSON property `ancestors`
62
57
  # @return [Array<String>]
63
58
  attr_accessor :ancestors
64
59
 
65
- # The type of the asset. Example: `compute.googleapis.com/Disk`
66
- # See [Supported asset
67
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
68
- # for more information.
60
+ # The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported
61
+ # asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-
62
+ # types) for more information.
69
63
  # Corresponds to the JSON property `assetType`
70
64
  # @return [String]
71
65
  attr_accessor :asset_type
72
66
 
73
67
  # An Identity and Access Management (IAM) policy, which specifies access
74
- # controls for Google Cloud resources.
75
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
76
- # `members` to a single `role`. Members can be user accounts, service accounts,
77
- # Google groups, and domains (such as G Suite). A `role` is a named list of
78
- # permissions; each `role` can be an IAM predefined role or a user-created
79
- # custom role.
80
- # For some types of Google Cloud resources, a `binding` can also specify a
81
- # `condition`, which is a logical expression that allows access to a resource
82
- # only if the expression evaluates to `true`. A condition can add constraints
83
- # based on attributes of the request, the resource, or both. To learn which
84
- # resources support conditions in their IAM policies, see the
85
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
86
- # policies).
87
- # **JSON example:**
88
- # `
89
- # "bindings": [
90
- # `
91
- # "role": "roles/resourcemanager.organizationAdmin",
92
- # "members": [
93
- # "user:mike@example.com",
94
- # "group:admins@example.com",
95
- # "domain:google.com",
96
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
97
- # ]
98
- # `,
99
- # `
100
- # "role": "roles/resourcemanager.organizationViewer",
101
- # "members": [
102
- # "user:eve@example.com"
103
- # ],
104
- # "condition": `
105
- # "title": "expirable access",
106
- # "description": "Does not grant access after Sep 2020",
107
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
108
- # ",
109
- # `
110
- # `
111
- # ],
112
- # "etag": "BwWWja0YfJA=",
113
- # "version": 3
114
- # `
115
- # **YAML example:**
116
- # bindings:
117
- # - members:
118
- # - user:mike@example.com
119
- # - group:admins@example.com
120
- # - domain:google.com
121
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
122
- # role: roles/resourcemanager.organizationAdmin
123
- # - members:
124
- # - user:eve@example.com
125
- # role: roles/resourcemanager.organizationViewer
126
- # condition:
127
- # title: expirable access
128
- # description: Does not grant access after Sep 2020
129
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
130
- # - etag: BwWWja0YfJA=
131
- # - version: 3
132
- # For a description of IAM and its features, see the
133
- # [IAM documentation](https://cloud.google.com/iam/docs/).
68
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
69
+ # A `binding` binds one or more `members` to a single `role`. Members can be
70
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
71
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
72
+ # role or a user-created custom role. For some types of Google Cloud resources,
73
+ # a `binding` can also specify a `condition`, which is a logical expression that
74
+ # allows access to a resource only if the expression evaluates to `true`. A
75
+ # condition can add constraints based on attributes of the request, the resource,
76
+ # or both. To learn which resources support conditions in their IAM policies,
77
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
78
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
79
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
80
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
81
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
82
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
83
+ # title": "expirable access", "description": "Does not grant access after Sep
84
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
85
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
86
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
87
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
88
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
89
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
90
+ # description: Does not grant access after Sep 2020 expression: request.time <
91
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
92
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
93
+ # google.com/iam/docs/).
134
94
  # Corresponds to the JSON property `iamPolicy`
135
95
  # @return [Google::Apis::CloudassetV1p5beta1::Policy]
136
96
  attr_accessor :iam_policy
137
97
 
138
- # The full name of the asset. Example:
139
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
140
- # instance1`
141
- # See [Resource
142
- # names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
143
- # for more information.
98
+ # The full name of the asset. Example: `//compute.googleapis.com/projects/
99
+ # my_project_123/zones/zone1/instances/instance1` See [Resource names](https://
100
+ # cloud.google.com/apis/design/resource_names#full_resource_name) for more
101
+ # information.
144
102
  # Corresponds to the JSON property `name`
145
103
  # @return [String]
146
104
  attr_accessor :name
147
105
 
148
- # A representation of an [organization
149
- # policy](https://cloud.google.com/resource-manager/docs/organization-policy/
150
- # overview#organization_policy).
151
- # There can be more than one organization policy with different constraints
152
- # set on a given resource.
106
+ # A representation of an [organization policy](https://cloud.google.com/resource-
107
+ # manager/docs/organization-policy/overview#organization_policy). There can be
108
+ # more than one organization policy with different constraints set on a given
109
+ # resource.
153
110
  # Corresponds to the JSON property `orgPolicy`
154
111
  # @return [Array<Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1Policy>]
155
112
  attr_accessor :org_policy
@@ -160,15 +117,14 @@ module Google
160
117
  attr_accessor :resource
161
118
 
162
119
  # `ServicePerimeter` describes a set of Google Cloud resources which can freely
163
- # import and export data amongst themselves, but not export outside of the
164
- # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
120
+ # import and export data amongst themselves, but not export outside of the `
121
+ # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
165
122
  # has a target outside of the `ServicePerimeter`, the request will be blocked.
166
123
  # Otherwise the request is allowed. There are two types of Service Perimeter -
167
- # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
168
- # Google Cloud project can only belong to a single regular Service Perimeter.
169
- # Service Perimeter Bridges can contain only Google Cloud projects as members,
170
- # a single Google Cloud project may belong to multiple Service Perimeter
171
- # Bridges.
124
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
125
+ # Cloud project can only belong to a single regular Service Perimeter. Service
126
+ # Perimeter Bridges can contain only Google Cloud projects as members, a single
127
+ # Google Cloud project may belong to multiple Service Perimeter Bridges.
172
128
  # Corresponds to the JSON property `servicePerimeter`
173
129
  # @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter]
174
130
  attr_accessor :service_perimeter
@@ -191,53 +147,21 @@ module Google
191
147
  end
192
148
  end
193
149
 
194
- # Specifies the audit configuration for a service.
195
- # The configuration determines which permission types are logged, and what
196
- # identities, if any, are exempted from logging.
197
- # An AuditConfig must have one or more AuditLogConfigs.
198
- # If there are AuditConfigs for both `allServices` and a specific service,
199
- # the union of the two AuditConfigs is used for that service: the log_types
200
- # specified in each AuditConfig are enabled, and the exempted_members in each
201
- # AuditLogConfig are exempted.
202
- # Example Policy with multiple AuditConfigs:
203
- # `
204
- # "audit_configs": [
205
- # `
206
- # "service": "allServices",
207
- # "audit_log_configs": [
208
- # `
209
- # "log_type": "DATA_READ",
210
- # "exempted_members": [
211
- # "user:jose@example.com"
212
- # ]
213
- # `,
214
- # `
215
- # "log_type": "DATA_WRITE"
216
- # `,
217
- # `
218
- # "log_type": "ADMIN_READ"
219
- # `
220
- # ]
221
- # `,
222
- # `
223
- # "service": "sampleservice.googleapis.com",
224
- # "audit_log_configs": [
225
- # `
226
- # "log_type": "DATA_READ"
227
- # `,
228
- # `
229
- # "log_type": "DATA_WRITE",
230
- # "exempted_members": [
231
- # "user:aliya@example.com"
232
- # ]
233
- # `
234
- # ]
235
- # `
236
- # ]
237
- # `
238
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
239
- # logging. It also exempts jose@example.com from DATA_READ logging, and
240
- # aliya@example.com from DATA_WRITE logging.
150
+ # Specifies the audit configuration for a service. The configuration determines
151
+ # which permission types are logged, and what identities, if any, are exempted
152
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
153
+ # are AuditConfigs for both `allServices` and a specific service, the union of
154
+ # the two AuditConfigs is used for that service: the log_types specified in each
155
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
156
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
157
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
158
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
159
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
160
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
161
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
162
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
163
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
164
+ # DATA_WRITE logging.
241
165
  class AuditConfig
242
166
  include Google::Apis::Core::Hashable
243
167
 
@@ -246,9 +170,9 @@ module Google
246
170
  # @return [Array<Google::Apis::CloudassetV1p5beta1::AuditLogConfig>]
247
171
  attr_accessor :audit_log_configs
248
172
 
249
- # Specifies a service that will be enabled for audit logging.
250
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
251
- # `allServices` is a special value that covers all services.
173
+ # Specifies a service that will be enabled for audit logging. For example, `
174
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
175
+ # value that covers all services.
252
176
  # Corresponds to the JSON property `service`
253
177
  # @return [String]
254
178
  attr_accessor :service
@@ -264,28 +188,15 @@ module Google
264
188
  end
265
189
  end
266
190
 
267
- # Provides the configuration for logging a type of permissions.
268
- # Example:
269
- # `
270
- # "audit_log_configs": [
271
- # `
272
- # "log_type": "DATA_READ",
273
- # "exempted_members": [
274
- # "user:jose@example.com"
275
- # ]
276
- # `,
277
- # `
278
- # "log_type": "DATA_WRITE"
279
- # `
280
- # ]
281
- # `
282
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
283
- # jose@example.com from DATA_READ logging.
191
+ # Provides the configuration for logging a type of permissions. Example: ` "
192
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
193
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
194
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
195
+ # DATA_READ logging.
284
196
  class AuditLogConfig
285
197
  include Google::Apis::Core::Hashable
286
198
 
287
- # Specifies the identities that do not cause logging for this type of
288
- # permission.
199
+ # Specifies the identities that do not cause logging for this type of permission.
289
200
  # Follows the same format of Binding.members.
290
201
  # Corresponds to the JSON property `exemptedMembers`
291
202
  # @return [Array<String>]
@@ -311,69 +222,57 @@ module Google
311
222
  class Binding
312
223
  include Google::Apis::Core::Hashable
313
224
 
314
- # Represents a textual expression in the Common Expression Language (CEL)
315
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
316
- # are documented at https://github.com/google/cel-spec.
317
- # Example (Comparison):
318
- # title: "Summary size limit"
319
- # description: "Determines if a summary is less than 100 chars"
320
- # expression: "document.summary.size() < 100"
321
- # Example (Equality):
322
- # title: "Requestor is owner"
323
- # description: "Determines if requestor is the document owner"
324
- # expression: "document.owner == request.auth.claims.email"
325
- # Example (Logic):
326
- # title: "Public documents"
327
- # description: "Determine whether the document should be publicly visible"
328
- # expression: "document.type != 'private' && document.type != 'internal'"
329
- # Example (Data Manipulation):
330
- # title: "Notification string"
331
- # description: "Create a notification string with a timestamp."
332
- # expression: "'New message received at ' + string(document.create_time)"
333
- # The exact variables and functions that may be referenced within an expression
334
- # are determined by the service that evaluates it. See the service
335
- # documentation for additional information.
225
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
226
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
227
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
228
+ # "Summary size limit" description: "Determines if a summary is less than 100
229
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
230
+ # Requestor is owner" description: "Determines if requestor is the document
231
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
232
+ # Logic): title: "Public documents" description: "Determine whether the document
233
+ # should be publicly visible" expression: "document.type != 'private' &&
234
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
235
+ # string" description: "Create a notification string with a timestamp."
236
+ # expression: "'New message received at ' + string(document.create_time)" The
237
+ # exact variables and functions that may be referenced within an expression are
238
+ # determined by the service that evaluates it. See the service documentation for
239
+ # additional information.
336
240
  # Corresponds to the JSON property `condition`
337
241
  # @return [Google::Apis::CloudassetV1p5beta1::Expr]
338
242
  attr_accessor :condition
339
243
 
340
- # Specifies the identities requesting access for a Cloud Platform resource.
341
- # `members` can have the following values:
342
- # * `allUsers`: A special identifier that represents anyone who is
343
- # on the internet; with or without a Google account.
344
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
345
- # who is authenticated with a Google account or a service account.
346
- # * `user:`emailid``: An email address that represents a specific Google
347
- # account. For example, `alice@example.com` .
348
- # * `serviceAccount:`emailid``: An email address that represents a service
349
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
350
- # * `group:`emailid``: An email address that represents a Google group.
351
- # For example, `admins@example.com`.
352
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
353
- # identifier) representing a user that has been recently deleted. For
354
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
355
- # recovered, this value reverts to `user:`emailid`` and the recovered user
356
- # retains the role in the binding.
357
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
358
- # unique identifier) representing a service account that has been recently
359
- # deleted. For example,
360
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
361
- # If the service account is undeleted, this value reverts to
362
- # `serviceAccount:`emailid`` and the undeleted service account retains the
363
- # role in the binding.
364
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
365
- # identifier) representing a Google group that has been recently
366
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
367
- # the group is recovered, this value reverts to `group:`emailid`` and the
368
- # recovered group retains the role in the binding.
369
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
370
- # users of that domain. For example, `google.com` or `example.com`.
244
+ # Specifies the identities requesting access for a Cloud Platform resource. `
245
+ # members` can have the following values: * `allUsers`: A special identifier
246
+ # that represents anyone who is on the internet; with or without a Google
247
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
248
+ # anyone who is authenticated with a Google account or a service account. * `
249
+ # user:`emailid``: An email address that represents a specific Google account.
250
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
251
+ # address that represents a service account. For example, `my-other-app@appspot.
252
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
253
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
254
+ # `uniqueid``: An email address (plus unique identifier) representing a user
255
+ # that has been recently deleted. For example, `alice@example.com?uid=
256
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
257
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
258
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
259
+ # identifier) representing a service account that has been recently deleted. For
260
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
261
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
262
+ # emailid`` and the undeleted service account retains the role in the binding. *
263
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
264
+ # identifier) representing a Google group that has been recently deleted. For
265
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
266
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
267
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
268
+ # primary) that represents all the users of that domain. For example, `google.
269
+ # com` or `example.com`.
371
270
  # Corresponds to the JSON property `members`
372
271
  # @return [Array<String>]
373
272
  attr_accessor :members
374
273
 
375
- # Role that is assigned to `members`.
376
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
274
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
275
+ # , or `roles/owner`.
377
276
  # Corresponds to the JSON property `role`
378
277
  # @return [String]
379
278
  attr_accessor :role
@@ -390,52 +289,43 @@ module Google
390
289
  end
391
290
  end
392
291
 
393
- # Represents a textual expression in the Common Expression Language (CEL)
394
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
395
- # are documented at https://github.com/google/cel-spec.
396
- # Example (Comparison):
397
- # title: "Summary size limit"
398
- # description: "Determines if a summary is less than 100 chars"
399
- # expression: "document.summary.size() < 100"
400
- # Example (Equality):
401
- # title: "Requestor is owner"
402
- # description: "Determines if requestor is the document owner"
403
- # expression: "document.owner == request.auth.claims.email"
404
- # Example (Logic):
405
- # title: "Public documents"
406
- # description: "Determine whether the document should be publicly visible"
407
- # expression: "document.type != 'private' && document.type != 'internal'"
408
- # Example (Data Manipulation):
409
- # title: "Notification string"
410
- # description: "Create a notification string with a timestamp."
411
- # expression: "'New message received at ' + string(document.create_time)"
412
- # The exact variables and functions that may be referenced within an expression
413
- # are determined by the service that evaluates it. See the service
414
- # documentation for additional information.
292
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
293
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
294
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
295
+ # "Summary size limit" description: "Determines if a summary is less than 100
296
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
297
+ # Requestor is owner" description: "Determines if requestor is the document
298
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
299
+ # Logic): title: "Public documents" description: "Determine whether the document
300
+ # should be publicly visible" expression: "document.type != 'private' &&
301
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
302
+ # string" description: "Create a notification string with a timestamp."
303
+ # expression: "'New message received at ' + string(document.create_time)" The
304
+ # exact variables and functions that may be referenced within an expression are
305
+ # determined by the service that evaluates it. See the service documentation for
306
+ # additional information.
415
307
  class Expr
416
308
  include Google::Apis::Core::Hashable
417
309
 
418
- # Optional. Description of the expression. This is a longer text which
419
- # describes the expression, e.g. when hovered over it in a UI.
310
+ # Optional. Description of the expression. This is a longer text which describes
311
+ # the expression, e.g. when hovered over it in a UI.
420
312
  # Corresponds to the JSON property `description`
421
313
  # @return [String]
422
314
  attr_accessor :description
423
315
 
424
- # Textual representation of an expression in Common Expression Language
425
- # syntax.
316
+ # Textual representation of an expression in Common Expression Language syntax.
426
317
  # Corresponds to the JSON property `expression`
427
318
  # @return [String]
428
319
  attr_accessor :expression
429
320
 
430
- # Optional. String indicating the location of the expression for error
431
- # reporting, e.g. a file name and a position in the file.
321
+ # Optional. String indicating the location of the expression for error reporting,
322
+ # e.g. a file name and a position in the file.
432
323
  # Corresponds to the JSON property `location`
433
324
  # @return [String]
434
325
  attr_accessor :location
435
326
 
436
- # Optional. Title for the expression, i.e. a short string describing
437
- # its purpose. This can be used e.g. in UIs which allow to enter the
438
- # expression.
327
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
328
+ # This can be used e.g. in UIs which allow to enter the expression.
439
329
  # Corresponds to the JSON property `title`
440
330
  # @return [String]
441
331
  attr_accessor :title
@@ -458,45 +348,29 @@ module Google
458
348
  class GoogleCloudOrgpolicyV1BooleanPolicy
459
349
  include Google::Apis::Core::Hashable
460
350
 
461
- # If `true`, then the `Policy` is enforced. If `false`, then any
462
- # configuration is acceptable.
463
- # Suppose you have a `Constraint`
464
- # `constraints/compute.disableSerialPortAccess` with `constraint_default`
465
- # set to `ALLOW`. A `Policy` for that `Constraint` exhibits the following
466
- # behavior:
467
- # - If the `Policy` at this resource has enforced set to `false`, serial
468
- # port connection attempts will be allowed.
469
- # - If the `Policy` at this resource has enforced set to `true`, serial
470
- # port connection attempts will be refused.
471
- # - If the `Policy` at this resource is `RestoreDefault`, serial port
472
- # connection attempts will be allowed.
473
- # - If no `Policy` is set at this resource or anywhere higher in the
474
- # resource hierarchy, serial port connection attempts will be allowed.
475
- # - If no `Policy` is set at this resource, but one exists higher in the
476
- # resource hierarchy, the behavior is as if the`Policy` were set at
477
- # this resource.
478
- # The following examples demonstrate the different possible layerings:
479
- # Example 1 (nearest `Constraint` wins):
480
- # `organizations/foo` has a `Policy` with:
481
- # `enforced: false`
482
- # `projects/bar` has no `Policy` set.
483
- # The constraint at `projects/bar` and `organizations/foo` will not be
484
- # enforced.
485
- # Example 2 (enforcement gets replaced):
486
- # `organizations/foo` has a `Policy` with:
487
- # `enforced: false`
488
- # `projects/bar` has a `Policy` with:
489
- # `enforced: true`
490
- # The constraint at `organizations/foo` is not enforced.
491
- # The constraint at `projects/bar` is enforced.
492
- # Example 3 (RestoreDefault):
493
- # `organizations/foo` has a `Policy` with:
494
- # `enforced: true`
495
- # `projects/bar` has a `Policy` with:
496
- # `RestoreDefault: ```
497
- # The constraint at `organizations/foo` is enforced.
498
- # The constraint at `projects/bar` is not enforced, because
499
- # `constraint_default` for the `Constraint` is `ALLOW`.
351
+ # If `true`, then the `Policy` is enforced. If `false`, then any configuration
352
+ # is acceptable. Suppose you have a `Constraint` `constraints/compute.
353
+ # disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy`
354
+ # for that `Constraint` exhibits the following behavior: - If the `Policy` at
355
+ # this resource has enforced set to `false`, serial port connection attempts
356
+ # will be allowed. - If the `Policy` at this resource has enforced set to `true`,
357
+ # serial port connection attempts will be refused. - If the `Policy` at this
358
+ # resource is `RestoreDefault`, serial port connection attempts will be allowed.
359
+ # - If no `Policy` is set at this resource or anywhere higher in the resource
360
+ # hierarchy, serial port connection attempts will be allowed. - If no `Policy`
361
+ # is set at this resource, but one exists higher in the resource hierarchy, the
362
+ # behavior is as if the`Policy` were set at this resource. The following
363
+ # examples demonstrate the different possible layerings: Example 1 (nearest `
364
+ # Constraint` wins): `organizations/foo` has a `Policy` with: `enforced: false` `
365
+ # projects/bar` has no `Policy` set. The constraint at `projects/bar` and `
366
+ # organizations/foo` will not be enforced. Example 2 (enforcement gets replaced):
367
+ # `organizations/foo` has a `Policy` with: `enforced: false` `projects/bar` has
368
+ # a `Policy` with: `enforced: true` The constraint at `organizations/foo` is not
369
+ # enforced. The constraint at `projects/bar` is enforced. Example 3 (
370
+ # RestoreDefault): `organizations/foo` has a `Policy` with: `enforced: true` `
371
+ # projects/bar` has a `Policy` with: `RestoreDefault: ``` The constraint at `
372
+ # organizations/foo` is enforced. The constraint at `projects/bar` is not
373
+ # enforced, because `constraint_default` for the `Constraint` is `ALLOW`.
500
374
  # Corresponds to the JSON property `enforced`
501
375
  # @return [Boolean]
502
376
  attr_accessor :enforced
@@ -512,26 +386,22 @@ module Google
512
386
  end
513
387
  end
514
388
 
515
- # Used in `policy_type` to specify how `list_policy` behaves at this
516
- # resource.
517
- # `ListPolicy` can define specific values and subtrees of Cloud Resource
518
- # Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that
519
- # are allowed or denied by setting the `allowed_values` and `denied_values`
520
- # fields. This is achieved by using the `under:` and optional `is:` prefixes.
521
- # The `under:` prefix is used to denote resource subtree values.
522
- # The `is:` prefix is used to denote specific values, and is required only
523
- # if the value contains a ":". Values prefixed with "is:" are treated the
524
- # same as values with no prefix.
525
- # Ancestry subtrees must be in one of the following formats:
526
- # - "projects/<project-id>", e.g. "projects/tokyo-rain-123"
527
- # - "folders/<folder-id>", e.g. "folders/1234"
528
- # - "organizations/<organization-id>", e.g. "organizations/1234"
529
- # The `supports_under` field of the associated `Constraint` defines whether
530
- # ancestry prefixes can be used. You can set `allowed_values` and
531
- # `denied_values` in the same `Policy` if `all_values` is
532
- # `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
533
- # values. If `all_values` is set to either `ALLOW` or `DENY`,
534
- # `allowed_values` and `denied_values` must be unset.
389
+ # Used in `policy_type` to specify how `list_policy` behaves at this resource. `
390
+ # ListPolicy` can define specific values and subtrees of Cloud Resource Manager
391
+ # resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
392
+ # or denied by setting the `allowed_values` and `denied_values` fields. This is
393
+ # achieved by using the `under:` and optional `is:` prefixes. The `under:`
394
+ # prefix is used to denote resource subtree values. The `is:` prefix is used to
395
+ # denote specific values, and is required only if the value contains a ":".
396
+ # Values prefixed with "is:" are treated the same as values with no prefix.
397
+ # Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
398
+ # "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
399
+ # e.g. "organizations/1234" The `supports_under` field of the associated `
400
+ # Constraint` defines whether ancestry prefixes can be used. You can set `
401
+ # allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
402
+ # ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
403
+ # values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
404
+ # and `denied_values` must be unset.
535
405
  class GoogleCloudOrgpolicyV1ListPolicy
536
406
  include Google::Apis::Core::Hashable
537
407
 
@@ -540,112 +410,83 @@ module Google
540
410
  # @return [String]
541
411
  attr_accessor :all_values
542
412
 
543
- # List of values allowed at this resource. Can only be set if `all_values`
544
- # is set to `ALL_VALUES_UNSPECIFIED`.
413
+ # List of values allowed at this resource. Can only be set if `all_values` is
414
+ # set to `ALL_VALUES_UNSPECIFIED`.
545
415
  # Corresponds to the JSON property `allowedValues`
546
416
  # @return [Array<String>]
547
417
  attr_accessor :allowed_values
548
418
 
549
- # List of values denied at this resource. Can only be set if `all_values`
550
- # is set to `ALL_VALUES_UNSPECIFIED`.
419
+ # List of values denied at this resource. Can only be set if `all_values` is set
420
+ # to `ALL_VALUES_UNSPECIFIED`.
551
421
  # Corresponds to the JSON property `deniedValues`
552
422
  # @return [Array<String>]
553
423
  attr_accessor :denied_values
554
424
 
555
- # Determines the inheritance behavior for this `Policy`.
556
- # By default, a `ListPolicy` set at a resource supersedes any `Policy` set
557
- # anywhere up the resource hierarchy. However, if `inherit_from_parent` is
558
- # set to `true`, then the values from the effective `Policy` of the parent
559
- # resource are inherited, meaning the values set in this `Policy` are
560
- # added to the values inherited up the hierarchy.
561
- # Setting `Policy` hierarchies that inherit both allowed values and denied
562
- # values isn't recommended in most circumstances to keep the configuration
563
- # simple and understandable. However, it is possible to set a `Policy` with
564
- # `allowed_values` set that inherits a `Policy` with `denied_values` set.
565
- # In this case, the values that are allowed must be in `allowed_values` and
566
- # not present in `denied_values`.
567
- # For example, suppose you have a `Constraint`
568
- # `constraints/serviceuser.services`, which has a `constraint_type` of
569
- # `list_constraint`, and with `constraint_default` set to `ALLOW`.
570
- # Suppose that at the Organization level, a `Policy` is applied that
571
- # restricts the allowed API activations to ``E1`, `E2``. Then, if a
572
- # `Policy` is applied to a project below the Organization that has
573
- # `inherit_from_parent` set to `false` and field all_values set to DENY,
574
- # then an attempt to activate any API will be denied.
575
- # The following examples demonstrate different possible layerings for
576
- # `projects/bar` parented by `organizations/foo`:
577
- # Example 1 (no inherited values):
578
- # `organizations/foo` has a `Policy` with values:
579
- # `allowed_values: "E1" allowed_values:"E2"`
580
- # `projects/bar` has `inherit_from_parent` `false` and values:
581
- # `allowed_values: "E3" allowed_values: "E4"`
582
- # The accepted values at `organizations/foo` are `E1`, `E2`.
583
- # The accepted values at `projects/bar` are `E3`, and `E4`.
584
- # Example 2 (inherited values):
585
- # `organizations/foo` has a `Policy` with values:
586
- # `allowed_values: "E1" allowed_values:"E2"`
587
- # `projects/bar` has a `Policy` with values:
588
- # `value: "E3" value: "E4" inherit_from_parent: true`
589
- # The accepted values at `organizations/foo` are `E1`, `E2`.
590
- # The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.
591
- # Example 3 (inheriting both allowed and denied values):
592
- # `organizations/foo` has a `Policy` with values:
593
- # `allowed_values: "E1" allowed_values: "E2"`
594
- # `projects/bar` has a `Policy` with:
595
- # `denied_values: "E1"`
596
- # The accepted values at `organizations/foo` are `E1`, `E2`.
597
- # The value accepted at `projects/bar` is `E2`.
598
- # Example 4 (RestoreDefault):
599
- # `organizations/foo` has a `Policy` with values:
600
- # `allowed_values: "E1" allowed_values:"E2"`
601
- # `projects/bar` has a `Policy` with values:
602
- # `RestoreDefault: ```
603
- # The accepted values at `organizations/foo` are `E1`, `E2`.
604
- # The accepted values at `projects/bar` are either all or none depending on
605
- # the value of `constraint_default` (if `ALLOW`, all; if
606
- # `DENY`, none).
607
- # Example 5 (no policy inherits parent policy):
608
- # `organizations/foo` has no `Policy` set.
609
- # `projects/bar` has no `Policy` set.
610
- # The accepted values at both levels are either all or none depending on
611
- # the value of `constraint_default` (if `ALLOW`, all; if
612
- # `DENY`, none).
613
- # Example 6 (ListConstraint allowing all):
614
- # `organizations/foo` has a `Policy` with values:
615
- # `allowed_values: "E1" allowed_values: "E2"`
616
- # `projects/bar` has a `Policy` with:
617
- # `all: ALLOW`
618
- # The accepted values at `organizations/foo` are `E1`, E2`.
619
- # Any value is accepted at `projects/bar`.
620
- # Example 7 (ListConstraint allowing none):
621
- # `organizations/foo` has a `Policy` with values:
622
- # `allowed_values: "E1" allowed_values: "E2"`
623
- # `projects/bar` has a `Policy` with:
624
- # `all: DENY`
625
- # The accepted values at `organizations/foo` are `E1`, E2`.
626
- # No value is accepted at `projects/bar`.
627
- # Example 10 (allowed and denied subtrees of Resource Manager hierarchy):
628
- # Given the following resource hierarchy
629
- # O1->`F1, F2`; F1->`P1`; F2->`P2, P3`,
630
- # `organizations/foo` has a `Policy` with values:
631
- # `allowed_values: "under:organizations/O1"`
632
- # `projects/bar` has a `Policy` with:
633
- # `allowed_values: "under:projects/P3"`
634
- # `denied_values: "under:folders/F2"`
635
- # The accepted values at `organizations/foo` are `organizations/O1`,
636
- # `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,
637
- # `projects/P3`.
638
- # The accepted values at `projects/bar` are `organizations/O1`,
639
- # `folders/F1`, `projects/P1`.
425
+ # Determines the inheritance behavior for this `Policy`. By default, a `
426
+ # ListPolicy` set at a resource supersedes any `Policy` set anywhere up the
427
+ # resource hierarchy. However, if `inherit_from_parent` is set to `true`, then
428
+ # the values from the effective `Policy` of the parent resource are inherited,
429
+ # meaning the values set in this `Policy` are added to the values inherited up
430
+ # the hierarchy. Setting `Policy` hierarchies that inherit both allowed values
431
+ # and denied values isn't recommended in most circumstances to keep the
432
+ # configuration simple and understandable. However, it is possible to set a `
433
+ # Policy` with `allowed_values` set that inherits a `Policy` with `denied_values`
434
+ # set. In this case, the values that are allowed must be in `allowed_values`
435
+ # and not present in `denied_values`. For example, suppose you have a `
436
+ # Constraint` `constraints/serviceuser.services`, which has a `constraint_type`
437
+ # of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose
438
+ # that at the Organization level, a `Policy` is applied that restricts the
439
+ # allowed API activations to ``E1`, `E2``. Then, if a `Policy` is applied to a
440
+ # project below the Organization that has `inherit_from_parent` set to `false`
441
+ # and field all_values set to DENY, then an attempt to activate any API will be
442
+ # denied. The following examples demonstrate different possible layerings for `
443
+ # projects/bar` parented by `organizations/foo`: Example 1 (no inherited values):
444
+ # `organizations/foo` has a `Policy` with values: `allowed_values: "E1"
445
+ # allowed_values:"E2"` `projects/bar` has `inherit_from_parent` `false` and
446
+ # values: `allowed_values: "E3" allowed_values: "E4"` The accepted values at `
447
+ # organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `
448
+ # E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy`
449
+ # with values: `allowed_values: "E1" allowed_values:"E2"` `projects/bar` has a `
450
+ # Policy` with values: `value: "E3" value: "E4" inherit_from_parent: true` The
451
+ # accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `
452
+ # projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both
453
+ # allowed and denied values): `organizations/foo` has a `Policy` with values: `
454
+ # allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `Policy` with:
455
+ # `denied_values: "E1"` The accepted values at `organizations/foo` are `E1`, `E2`
456
+ # . The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `
457
+ # organizations/foo` has a `Policy` with values: `allowed_values: "E1"
458
+ # allowed_values:"E2"` `projects/bar` has a `Policy` with values: `
459
+ # RestoreDefault: ``` The accepted values at `organizations/foo` are `E1`, `E2`.
460
+ # The accepted values at `projects/bar` are either all or none depending on the
461
+ # value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (
462
+ # no policy inherits parent policy): `organizations/foo` has no `Policy` set. `
463
+ # projects/bar` has no `Policy` set. The accepted values at both levels are
464
+ # either all or none depending on the value of `constraint_default` (if `ALLOW`,
465
+ # all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/
466
+ # foo` has a `Policy` with values: `allowed_values: "E1" allowed_values: "E2"` `
467
+ # projects/bar` has a `Policy` with: `all: ALLOW` The accepted values at `
468
+ # organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`.
469
+ # Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy`
470
+ # with values: `allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `
471
+ # Policy` with: `all: DENY` The accepted values at `organizations/foo` are `E1`,
472
+ # E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied
473
+ # subtrees of Resource Manager hierarchy): Given the following resource
474
+ # hierarchy O1->`F1, F2`; F1->`P1`; F2->`P2, P3`, `organizations/foo` has a `
475
+ # Policy` with values: `allowed_values: "under:organizations/O1"` `projects/bar`
476
+ # has a `Policy` with: `allowed_values: "under:projects/P3"` `denied_values: "
477
+ # under:folders/F2"` The accepted values at `organizations/foo` are `
478
+ # organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `
479
+ # projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `
480
+ # folders/F1`, `projects/P1`.
640
481
  # Corresponds to the JSON property `inheritFromParent`
641
482
  # @return [Boolean]
642
483
  attr_accessor :inherit_from_parent
643
484
  alias_method :inherit_from_parent?, :inherit_from_parent
644
485
 
645
- # Optional. The Google Cloud Console will try to default to a configuration
646
- # that matches the value specified in this `Policy`. If `suggested_value`
647
- # is not set, it will inherit the value specified higher in the hierarchy,
648
- # unless `inherit_from_parent` is `false`.
486
+ # Optional. The Google Cloud Console will try to default to a configuration that
487
+ # matches the value specified in this `Policy`. If `suggested_value` is not set,
488
+ # it will inherit the value specified higher in the hierarchy, unless `
489
+ # inherit_from_parent` is `false`.
649
490
  # Corresponds to the JSON property `suggestedValue`
650
491
  # @return [String]
651
492
  attr_accessor :suggested_value
@@ -675,76 +516,65 @@ module Google
675
516
  # @return [Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1BooleanPolicy]
676
517
  attr_accessor :boolean_policy
677
518
 
678
- # The name of the `Constraint` the `Policy` is configuring, for example,
679
- # `constraints/serviceuser.services`.
680
- # A [list of available
681
- # constraints](/resource-manager/docs/organization-policy/org-policy-constraints)
682
- # is available.
519
+ # The name of the `Constraint` the `Policy` is configuring, for example, `
520
+ # constraints/serviceuser.services`. A [list of available constraints](/resource-
521
+ # manager/docs/organization-policy/org-policy-constraints) is available.
683
522
  # Immutable after creation.
684
523
  # Corresponds to the JSON property `constraint`
685
524
  # @return [String]
686
525
  attr_accessor :constraint
687
526
 
688
527
  # An opaque tag indicating the current version of the `Policy`, used for
689
- # concurrency control.
690
- # When the `Policy` is returned from either a `GetPolicy` or a
691
- # `ListOrgPolicy` request, this `etag` indicates the version of the current
692
- # `Policy` to use when executing a read-modify-write loop.
693
- # When the `Policy` is returned from a `GetEffectivePolicy` request, the
694
- # `etag` will be unset.
695
- # When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value
696
- # that was returned from a `GetOrgPolicy` request as part of a
697
- # read-modify-write loop for concurrency control. Not setting the `etag`in a
698
- # `SetOrgPolicy` request will result in an unconditional write of the
699
- # `Policy`.
528
+ # concurrency control. When the `Policy` is returned from either a `GetPolicy`
529
+ # or a `ListOrgPolicy` request, this `etag` indicates the version of the current
530
+ # `Policy` to use when executing a read-modify-write loop. When the `Policy` is
531
+ # returned from a `GetEffectivePolicy` request, the `etag` will be unset. When
532
+ # the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was
533
+ # returned from a `GetOrgPolicy` request as part of a read-modify-write loop for
534
+ # concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will
535
+ # result in an unconditional write of the `Policy`.
700
536
  # Corresponds to the JSON property `etag`
701
537
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
702
538
  # @return [String]
703
539
  attr_accessor :etag
704
540
 
705
- # Used in `policy_type` to specify how `list_policy` behaves at this
706
- # resource.
707
- # `ListPolicy` can define specific values and subtrees of Cloud Resource
708
- # Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that
709
- # are allowed or denied by setting the `allowed_values` and `denied_values`
710
- # fields. This is achieved by using the `under:` and optional `is:` prefixes.
711
- # The `under:` prefix is used to denote resource subtree values.
712
- # The `is:` prefix is used to denote specific values, and is required only
713
- # if the value contains a ":". Values prefixed with "is:" are treated the
714
- # same as values with no prefix.
715
- # Ancestry subtrees must be in one of the following formats:
716
- # - "projects/<project-id>", e.g. "projects/tokyo-rain-123"
717
- # - "folders/<folder-id>", e.g. "folders/1234"
718
- # - "organizations/<organization-id>", e.g. "organizations/1234"
719
- # The `supports_under` field of the associated `Constraint` defines whether
720
- # ancestry prefixes can be used. You can set `allowed_values` and
721
- # `denied_values` in the same `Policy` if `all_values` is
722
- # `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
723
- # values. If `all_values` is set to either `ALLOW` or `DENY`,
724
- # `allowed_values` and `denied_values` must be unset.
541
+ # Used in `policy_type` to specify how `list_policy` behaves at this resource. `
542
+ # ListPolicy` can define specific values and subtrees of Cloud Resource Manager
543
+ # resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
544
+ # or denied by setting the `allowed_values` and `denied_values` fields. This is
545
+ # achieved by using the `under:` and optional `is:` prefixes. The `under:`
546
+ # prefix is used to denote resource subtree values. The `is:` prefix is used to
547
+ # denote specific values, and is required only if the value contains a ":".
548
+ # Values prefixed with "is:" are treated the same as values with no prefix.
549
+ # Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
550
+ # "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
551
+ # e.g. "organizations/1234" The `supports_under` field of the associated `
552
+ # Constraint` defines whether ancestry prefixes can be used. You can set `
553
+ # allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
554
+ # ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
555
+ # values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
556
+ # and `denied_values` must be unset.
725
557
  # Corresponds to the JSON property `listPolicy`
726
558
  # @return [Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1ListPolicy]
727
559
  attr_accessor :list_policy
728
560
 
729
- # Ignores policies set above this resource and restores the
730
- # `constraint_default` enforcement behavior of the specific `Constraint` at
731
- # this resource.
732
- # Suppose that `constraint_default` is set to `ALLOW` for the
733
- # `Constraint` `constraints/serviceuser.services`. Suppose that organization
734
- # foo.com sets a `Policy` at their Organization resource node that restricts
735
- # the allowed service activations to deny all service activations. They
736
- # could then set a `Policy` with the `policy_type` `restore_default` on
737
- # several experimental projects, restoring the `constraint_default`
738
- # enforcement of the `Constraint` for only those projects, allowing those
739
- # projects to have all services activated.
561
+ # Ignores policies set above this resource and restores the `constraint_default`
562
+ # enforcement behavior of the specific `Constraint` at this resource. Suppose
563
+ # that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
564
+ # serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
565
+ # their Organization resource node that restricts the allowed service
566
+ # activations to deny all service activations. They could then set a `Policy`
567
+ # with the `policy_type` `restore_default` on several experimental projects,
568
+ # restoring the `constraint_default` enforcement of the `Constraint` for only
569
+ # those projects, allowing those projects to have all services activated.
740
570
  # Corresponds to the JSON property `restoreDefault`
741
571
  # @return [Google::Apis::CloudassetV1p5beta1::GoogleCloudOrgpolicyV1RestoreDefault]
742
572
  attr_accessor :restore_default
743
573
 
744
- # The time stamp the `Policy` was previously updated. This is set by the
745
- # server, not specified by the caller, and represents the last time a call to
746
- # `SetOrgPolicy` was made for that `Policy`. Any value set by the client will
747
- # be ignored.
574
+ # The time stamp the `Policy` was previously updated. This is set by the server,
575
+ # not specified by the caller, and represents the last time a call to `
576
+ # SetOrgPolicy` was made for that `Policy`. Any value set by the client will be
577
+ # ignored.
748
578
  # Corresponds to the JSON property `updateTime`
749
579
  # @return [String]
750
580
  attr_accessor :update_time
@@ -770,17 +600,15 @@ module Google
770
600
  end
771
601
  end
772
602
 
773
- # Ignores policies set above this resource and restores the
774
- # `constraint_default` enforcement behavior of the specific `Constraint` at
775
- # this resource.
776
- # Suppose that `constraint_default` is set to `ALLOW` for the
777
- # `Constraint` `constraints/serviceuser.services`. Suppose that organization
778
- # foo.com sets a `Policy` at their Organization resource node that restricts
779
- # the allowed service activations to deny all service activations. They
780
- # could then set a `Policy` with the `policy_type` `restore_default` on
781
- # several experimental projects, restoring the `constraint_default`
782
- # enforcement of the `Constraint` for only those projects, allowing those
783
- # projects to have all services activated.
603
+ # Ignores policies set above this resource and restores the `constraint_default`
604
+ # enforcement behavior of the specific `Constraint` at this resource. Suppose
605
+ # that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
606
+ # serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
607
+ # their Organization resource node that restricts the allowed service
608
+ # activations to deny all service activations. They could then set a `Policy`
609
+ # with the `policy_type` `restore_default` on several experimental projects,
610
+ # restoring the `constraint_default` enforcement of the `Constraint` for only
611
+ # those projects, allowing those projects to have all services activated.
784
612
  class GoogleCloudOrgpolicyV1RestoreDefault
785
613
  include Google::Apis::Core::Hashable
786
614
 
@@ -805,8 +633,8 @@ module Google
805
633
  attr_accessor :basic
806
634
 
807
635
  # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
808
- # to represent the necessary conditions for the level to apply to a request.
809
- # See CEL spec at: https://github.com/google/cel-spec
636
+ # to represent the necessary conditions for the level to apply to a request. See
637
+ # CEL spec at: https://github.com/google/cel-spec
810
638
  # Corresponds to the JSON property `custom`
811
639
  # @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1CustomLevel]
812
640
  attr_accessor :custom
@@ -816,10 +644,10 @@ module Google
816
644
  # @return [String]
817
645
  attr_accessor :description
818
646
 
819
- # Required. Resource name for the Access Level. The `short_name` component
820
- # must begin with a letter and only include alphanumeric and '_'. Format:
821
- # `accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length
822
- # of the `short_name` component is 50 characters.
647
+ # Required. Resource name for the Access Level. The `short_name` component must
648
+ # begin with a letter and only include alphanumeric and '_'. Format: `
649
+ # accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length of
650
+ # the `short_name` component is 50 characters.
823
651
  # Corresponds to the JSON property `name`
824
652
  # @return [String]
825
653
  attr_accessor :name
@@ -844,30 +672,29 @@ module Google
844
672
  end
845
673
 
846
674
  # `AccessPolicy` is a container for `AccessLevels` (which define the necessary
847
- # attributes to use Google Cloud services) and `ServicePerimeters` (which
848
- # define regions of services able to freely pass data within a perimeter). An
849
- # access policy is globally visible within an organization, and the
850
- # restrictions it specifies apply to all projects within an organization.
675
+ # attributes to use Google Cloud services) and `ServicePerimeters` (which define
676
+ # regions of services able to freely pass data within a perimeter). An access
677
+ # policy is globally visible within an organization, and the restrictions it
678
+ # specifies apply to all projects within an organization.
851
679
  class GoogleIdentityAccesscontextmanagerV1AccessPolicy
852
680
  include Google::Apis::Core::Hashable
853
681
 
854
- # Output only. An opaque identifier for the current version of the
855
- # `AccessPolicy`. This will always be a strongly validated etag, meaning that
856
- # two Access Polices will be identical if and only if their etags are
857
- # identical. Clients should not expect this to be in any specific format.
682
+ # Output only. An opaque identifier for the current version of the `AccessPolicy`
683
+ # . This will always be a strongly validated etag, meaning that two Access
684
+ # Polices will be identical if and only if their etags are identical. Clients
685
+ # should not expect this to be in any specific format.
858
686
  # Corresponds to the JSON property `etag`
859
687
  # @return [String]
860
688
  attr_accessor :etag
861
689
 
862
- # Output only. Resource name of the `AccessPolicy`. Format:
863
- # `accessPolicies/`policy_id``
690
+ # Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/`
691
+ # policy_id``
864
692
  # Corresponds to the JSON property `name`
865
693
  # @return [String]
866
694
  attr_accessor :name
867
695
 
868
- # Required. The parent of this `AccessPolicy` in the Cloud Resource
869
- # Hierarchy. Currently immutable once created. Format:
870
- # `organizations/`organization_id``
696
+ # Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy.
697
+ # Currently immutable once created. Format: `organizations/`organization_id``
871
698
  # Corresponds to the JSON property `parent`
872
699
  # @return [String]
873
700
  attr_accessor :parent
@@ -895,10 +722,10 @@ module Google
895
722
  include Google::Apis::Core::Hashable
896
723
 
897
724
  # How the `conditions` list should be combined to determine if a request is
898
- # granted this `AccessLevel`. If AND is used, each `Condition` in
899
- # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
900
- # is used, at least one `Condition` in `conditions` must be satisfied for the
901
- # `AccessLevel` to be applied. Default behavior is AND.
725
+ # granted this `AccessLevel`. If AND is used, each `Condition` in `conditions`
726
+ # must be satisfied for the `AccessLevel` to be applied. If OR is used, at least
727
+ # one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be
728
+ # applied. Default behavior is AND.
902
729
  # Corresponds to the JSON property `combiningFunction`
903
730
  # @return [String]
904
731
  attr_accessor :combining_function
@@ -932,54 +759,48 @@ module Google
932
759
  # devices to be granted access levels, it does not do any enforcement on the
933
760
  # device. `DevicePolicy` acts as an AND over all specified fields, and each
934
761
  # repeated field is an OR over its elements. Any unset fields are ignored. For
935
- # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
936
- # DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
937
- # true for requests originating from encrypted Linux desktops and encrypted
938
- # Windows desktops.
762
+ # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
763
+ # encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
764
+ # originating from encrypted Linux desktops and encrypted Windows desktops.
939
765
  # Corresponds to the JSON property `devicePolicy`
940
766
  # @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1DevicePolicy]
941
767
  attr_accessor :device_policy
942
768
 
943
- # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
944
- # a CIDR IP address block, the specified IP address portion must be properly
769
+ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a
770
+ # CIDR IP address block, the specified IP address portion must be properly
945
771
  # truncated (i.e. all the host bits must be zero) or the input is considered
946
- # malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is
947
- # not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas
948
- # "2001:db8::1/32" is not. The originating IP of a request must be in one of
949
- # the listed subnets in order for this Condition to be true. If empty, all IP
950
- # addresses are allowed.
772
+ # malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not.
773
+ # Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is
774
+ # not. The originating IP of a request must be in one of the listed subnets in
775
+ # order for this Condition to be true. If empty, all IP addresses are allowed.
951
776
  # Corresponds to the JSON property `ipSubnetworks`
952
777
  # @return [Array<String>]
953
778
  attr_accessor :ip_subnetworks
954
779
 
955
- # The request must be made by one of the provided user or service
956
- # accounts. Groups are not supported.
957
- # Syntax:
958
- # `user:`emailid``
959
- # `serviceAccount:`emailid``
780
+ # The request must be made by one of the provided user or service accounts.
781
+ # Groups are not supported. Syntax: `user:`emailid`` `serviceAccount:`emailid``
960
782
  # If not specified, a request may come from any user.
961
783
  # Corresponds to the JSON property `members`
962
784
  # @return [Array<String>]
963
785
  attr_accessor :members
964
786
 
965
787
  # Whether to negate the Condition. If true, the Condition becomes a NAND over
966
- # its non-empty fields, each field must be false for the Condition overall to
967
- # be satisfied. Defaults to false.
788
+ # its non-empty fields, each field must be false for the Condition overall to be
789
+ # satisfied. Defaults to false.
968
790
  # Corresponds to the JSON property `negate`
969
791
  # @return [Boolean]
970
792
  attr_accessor :negate
971
793
  alias_method :negate?, :negate
972
794
 
973
- # The request must originate from one of the provided countries/regions.
974
- # Must be valid ISO 3166-1 alpha-2 codes.
795
+ # The request must originate from one of the provided countries/regions. Must be
796
+ # valid ISO 3166-1 alpha-2 codes.
975
797
  # Corresponds to the JSON property `regions`
976
798
  # @return [Array<String>]
977
799
  attr_accessor :regions
978
800
 
979
801
  # A list of other access levels defined in the same `Policy`, referenced by
980
- # resource name. Referencing an `AccessLevel` which does not exist is an
981
- # error. All access levels listed must be granted for the Condition
982
- # to be true. Example:
802
+ # resource name. Referencing an `AccessLevel` which does not exist is an error.
803
+ # All access levels listed must be granted for the Condition to be true. Example:
983
804
  # "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"`
984
805
  # Corresponds to the JSON property `requiredAccessLevels`
985
806
  # @return [Array<String>]
@@ -1001,33 +822,26 @@ module Google
1001
822
  end
1002
823
 
1003
824
  # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
1004
- # to represent the necessary conditions for the level to apply to a request.
1005
- # See CEL spec at: https://github.com/google/cel-spec
825
+ # to represent the necessary conditions for the level to apply to a request. See
826
+ # CEL spec at: https://github.com/google/cel-spec
1006
827
  class GoogleIdentityAccesscontextmanagerV1CustomLevel
1007
828
  include Google::Apis::Core::Hashable
1008
829
 
1009
- # Represents a textual expression in the Common Expression Language (CEL)
1010
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
1011
- # are documented at https://github.com/google/cel-spec.
1012
- # Example (Comparison):
1013
- # title: "Summary size limit"
1014
- # description: "Determines if a summary is less than 100 chars"
1015
- # expression: "document.summary.size() < 100"
1016
- # Example (Equality):
1017
- # title: "Requestor is owner"
1018
- # description: "Determines if requestor is the document owner"
1019
- # expression: "document.owner == request.auth.claims.email"
1020
- # Example (Logic):
1021
- # title: "Public documents"
1022
- # description: "Determine whether the document should be publicly visible"
1023
- # expression: "document.type != 'private' && document.type != 'internal'"
1024
- # Example (Data Manipulation):
1025
- # title: "Notification string"
1026
- # description: "Create a notification string with a timestamp."
1027
- # expression: "'New message received at ' + string(document.create_time)"
1028
- # The exact variables and functions that may be referenced within an expression
1029
- # are determined by the service that evaluates it. See the service
1030
- # documentation for additional information.
830
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
831
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
832
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
833
+ # "Summary size limit" description: "Determines if a summary is less than 100
834
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
835
+ # Requestor is owner" description: "Determines if requestor is the document
836
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
837
+ # Logic): title: "Public documents" description: "Determine whether the document
838
+ # should be publicly visible" expression: "document.type != 'private' &&
839
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
840
+ # string" description: "Create a notification string with a timestamp."
841
+ # expression: "'New message received at ' + string(document.create_time)" The
842
+ # exact variables and functions that may be referenced within an expression are
843
+ # determined by the service that evaluates it. See the service documentation for
844
+ # additional information.
1031
845
  # Corresponds to the JSON property `expr`
1032
846
  # @return [Google::Apis::CloudassetV1p5beta1::Expr]
1033
847
  attr_accessor :expr
@@ -1047,15 +861,13 @@ module Google
1047
861
  # devices to be granted access levels, it does not do any enforcement on the
1048
862
  # device. `DevicePolicy` acts as an AND over all specified fields, and each
1049
863
  # repeated field is an OR over its elements. Any unset fields are ignored. For
1050
- # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
1051
- # DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
1052
- # true for requests originating from encrypted Linux desktops and encrypted
1053
- # Windows desktops.
864
+ # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
865
+ # encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
866
+ # originating from encrypted Linux desktops and encrypted Windows desktops.
1054
867
  class GoogleIdentityAccesscontextmanagerV1DevicePolicy
1055
868
  include Google::Apis::Core::Hashable
1056
869
 
1057
- # Allowed device management levels, an empty list allows all management
1058
- # levels.
870
+ # Allowed device management levels, an empty list allows all management levels.
1059
871
  # Corresponds to the JSON property `allowedDeviceManagementLevels`
1060
872
  # @return [Array<String>]
1061
873
  attr_accessor :allowed_device_management_levels
@@ -1108,9 +920,9 @@ module Google
1108
920
  class GoogleIdentityAccesscontextmanagerV1OsConstraint
1109
921
  include Google::Apis::Core::Hashable
1110
922
 
1111
- # The minimum allowed OS version. If not set, any version of this OS
1112
- # satisfies the constraint. Format: `"major.minor.patch"`.
1113
- # Examples: `"10.5.301"`, `"9.2.1"`.
923
+ # The minimum allowed OS version. If not set, any version of this OS satisfies
924
+ # the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"
925
+ # `.
1114
926
  # Corresponds to the JSON property `minimumVersion`
1115
927
  # @return [String]
1116
928
  attr_accessor :minimum_version
@@ -1120,10 +932,10 @@ module Google
1120
932
  # @return [String]
1121
933
  attr_accessor :os_type
1122
934
 
1123
- # Only allows requests from devices with a verified Chrome OS.
1124
- # Verifications includes requirements that the device is enterprise-managed,
1125
- # conformant to domain policies, and the caller has permission to call
1126
- # the API targeted by the request.
935
+ # Only allows requests from devices with a verified Chrome OS. Verifications
936
+ # includes requirements that the device is enterprise-managed, conformant to
937
+ # domain policies, and the caller has permission to call the API targeted by the
938
+ # request.
1127
939
  # Corresponds to the JSON property `requireVerifiedChromeOs`
1128
940
  # @return [Boolean]
1129
941
  attr_accessor :require_verified_chrome_os
@@ -1142,37 +954,34 @@ module Google
1142
954
  end
1143
955
 
1144
956
  # `ServicePerimeter` describes a set of Google Cloud resources which can freely
1145
- # import and export data amongst themselves, but not export outside of the
1146
- # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
957
+ # import and export data amongst themselves, but not export outside of the `
958
+ # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
1147
959
  # has a target outside of the `ServicePerimeter`, the request will be blocked.
1148
960
  # Otherwise the request is allowed. There are two types of Service Perimeter -
1149
- # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
1150
- # Google Cloud project can only belong to a single regular Service Perimeter.
1151
- # Service Perimeter Bridges can contain only Google Cloud projects as members,
1152
- # a single Google Cloud project may belong to multiple Service Perimeter
1153
- # Bridges.
961
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
962
+ # Cloud project can only belong to a single regular Service Perimeter. Service
963
+ # Perimeter Bridges can contain only Google Cloud projects as members, a single
964
+ # Google Cloud project may belong to multiple Service Perimeter Bridges.
1154
965
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
1155
966
  include Google::Apis::Core::Hashable
1156
967
 
1157
- # Description of the `ServicePerimeter` and its use. Does not affect
1158
- # behavior.
968
+ # Description of the `ServicePerimeter` and its use. Does not affect behavior.
1159
969
  # Corresponds to the JSON property `description`
1160
970
  # @return [String]
1161
971
  attr_accessor :description
1162
972
 
1163
- # Required. Resource name for the ServicePerimeter. The `short_name`
1164
- # component must begin with a letter and only include alphanumeric and '_'.
1165
- # Format: `accessPolicies/`policy_id`/servicePerimeters/`short_name``
973
+ # Required. Resource name for the ServicePerimeter. The `short_name` component
974
+ # must begin with a letter and only include alphanumeric and '_'. Format: `
975
+ # accessPolicies/`policy_id`/servicePerimeters/`short_name``
1166
976
  # Corresponds to the JSON property `name`
1167
977
  # @return [String]
1168
978
  attr_accessor :name
1169
979
 
1170
- # Perimeter type indicator. A single project is
1171
- # allowed to be a member of single regular perimeter, but multiple service
1172
- # perimeter bridges. A project cannot be a included in a perimeter bridge
1173
- # without being included in regular perimeter. For perimeter bridges,
1174
- # the restricted service list as well as access level lists must be
1175
- # empty.
980
+ # Perimeter type indicator. A single project is allowed to be a member of single
981
+ # regular perimeter, but multiple service perimeter bridges. A project cannot be
982
+ # a included in a perimeter bridge without being included in regular perimeter.
983
+ # For perimeter bridges, the restricted service list as well as access level
984
+ # lists must be empty.
1176
985
  # Corresponds to the JSON property `perimeterType`
1177
986
  # @return [String]
1178
987
  attr_accessor :perimeter_type
@@ -1194,16 +1003,15 @@ module Google
1194
1003
  # @return [String]
1195
1004
  attr_accessor :title
1196
1005
 
1197
- # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly
1198
- # exists for all Service Perimeters, and that spec is identical to the
1199
- # status for those Service Perimeters. When this flag is set, it inhibits the
1200
- # generation of the implicit spec, thereby allowing the user to explicitly
1201
- # provide a configuration ("spec") to use in a dry-run version of the Service
1202
- # Perimeter. This allows the user to test changes to the enforced config
1203
- # ("status") without actually enforcing them. This testing is done through
1204
- # analyzing the differences between currently enforced and suggested
1205
- # restrictions. use_explicit_dry_run_spec must bet set to True if any of the
1206
- # fields in the spec are set to non-default values.
1006
+ # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists
1007
+ # for all Service Perimeters, and that spec is identical to the status for those
1008
+ # Service Perimeters. When this flag is set, it inhibits the generation of the
1009
+ # implicit spec, thereby allowing the user to explicitly provide a configuration
1010
+ # ("spec") to use in a dry-run version of the Service Perimeter. This allows the
1011
+ # user to test changes to the enforced config ("status") without actually
1012
+ # enforcing them. This testing is done through analyzing the differences between
1013
+ # currently enforced and suggested restrictions. use_explicit_dry_run_spec must
1014
+ # bet set to True if any of the fields in the spec are set to non-default values.
1207
1015
  # Corresponds to the JSON property `useExplicitDryRunSpec`
1208
1016
  # @return [Boolean]
1209
1017
  attr_accessor :use_explicit_dry_run_spec
@@ -1230,14 +1038,13 @@ module Google
1230
1038
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig
1231
1039
  include Google::Apis::Core::Hashable
1232
1040
 
1233
- # A list of `AccessLevel` resource names that allow resources within the
1234
- # `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
1235
- # must be in the same policy as this `ServicePerimeter`. Referencing a
1236
- # nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
1237
- # listed, resources within the perimeter can only be accessed via Google
1238
- # Cloud calls with request origins within the perimeter. Example:
1239
- # `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`.
1240
- # For Service Perimeter Bridge, must be empty.
1041
+ # A list of `AccessLevel` resource names that allow resources within the `
1042
+ # ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must
1043
+ # be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `
1044
+ # AccessLevel` is a syntax error. If no `AccessLevel` names are listed,
1045
+ # resources within the perimeter can only be accessed via Google Cloud calls
1046
+ # with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/
1047
+ # accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty.
1241
1048
  # Corresponds to the JSON property `accessLevels`
1242
1049
  # @return [Array<String>]
1243
1050
  attr_accessor :access_levels
@@ -1248,16 +1055,14 @@ module Google
1248
1055
  # @return [Array<String>]
1249
1056
  attr_accessor :resources
1250
1057
 
1251
- # Google Cloud services that are subject to the Service Perimeter
1252
- # restrictions. For example, if `storage.googleapis.com` is specified, access
1253
- # to the storage buckets inside the perimeter must meet the perimeter's
1254
- # access restrictions.
1058
+ # Google Cloud services that are subject to the Service Perimeter restrictions.
1059
+ # For example, if `storage.googleapis.com` is specified, access to the storage
1060
+ # buckets inside the perimeter must meet the perimeter's access restrictions.
1255
1061
  # Corresponds to the JSON property `restrictedServices`
1256
1062
  # @return [Array<String>]
1257
1063
  attr_accessor :restricted_services
1258
1064
 
1259
- # Specifies how APIs are allowed to communicate within the Service
1260
- # Perimeter.
1065
+ # Specifies how APIs are allowed to communicate within the Service Perimeter.
1261
1066
  # Corresponds to the JSON property `vpcAccessibleServices`
1262
1067
  # @return [Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices]
1263
1068
  attr_accessor :vpc_accessible_services
@@ -1275,21 +1080,20 @@ module Google
1275
1080
  end
1276
1081
  end
1277
1082
 
1278
- # Specifies how APIs are allowed to communicate within the Service
1279
- # Perimeter.
1083
+ # Specifies how APIs are allowed to communicate within the Service Perimeter.
1280
1084
  class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
1281
1085
  include Google::Apis::Core::Hashable
1282
1086
 
1283
- # The list of APIs usable within the Service Perimeter. Must be empty
1284
- # unless 'enable_restriction' is True. You can specify a list of individual
1285
- # services, as well as include the 'RESTRICTED-SERVICES' value, which
1286
- # automatically includes all of the services protected by the perimeter.
1087
+ # The list of APIs usable within the Service Perimeter. Must be empty unless '
1088
+ # enable_restriction' is True. You can specify a list of individual services, as
1089
+ # well as include the 'RESTRICTED-SERVICES' value, which automatically includes
1090
+ # all of the services protected by the perimeter.
1287
1091
  # Corresponds to the JSON property `allowedServices`
1288
1092
  # @return [Array<String>]
1289
1093
  attr_accessor :allowed_services
1290
1094
 
1291
- # Whether to restrict API calls within the Service Perimeter to the list of
1292
- # APIs specified in 'allowed_services'.
1095
+ # Whether to restrict API calls within the Service Perimeter to the list of APIs
1096
+ # specified in 'allowed_services'.
1293
1097
  # Corresponds to the JSON property `enableRestriction`
1294
1098
  # @return [Boolean]
1295
1099
  attr_accessor :enable_restriction
@@ -1339,66 +1143,32 @@ module Google
1339
1143
  end
1340
1144
 
1341
1145
  # An Identity and Access Management (IAM) policy, which specifies access
1342
- # controls for Google Cloud resources.
1343
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1344
- # `members` to a single `role`. Members can be user accounts, service accounts,
1345
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1346
- # permissions; each `role` can be an IAM predefined role or a user-created
1347
- # custom role.
1348
- # For some types of Google Cloud resources, a `binding` can also specify a
1349
- # `condition`, which is a logical expression that allows access to a resource
1350
- # only if the expression evaluates to `true`. A condition can add constraints
1351
- # based on attributes of the request, the resource, or both. To learn which
1352
- # resources support conditions in their IAM policies, see the
1353
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1354
- # policies).
1355
- # **JSON example:**
1356
- # `
1357
- # "bindings": [
1358
- # `
1359
- # "role": "roles/resourcemanager.organizationAdmin",
1360
- # "members": [
1361
- # "user:mike@example.com",
1362
- # "group:admins@example.com",
1363
- # "domain:google.com",
1364
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1365
- # ]
1366
- # `,
1367
- # `
1368
- # "role": "roles/resourcemanager.organizationViewer",
1369
- # "members": [
1370
- # "user:eve@example.com"
1371
- # ],
1372
- # "condition": `
1373
- # "title": "expirable access",
1374
- # "description": "Does not grant access after Sep 2020",
1375
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1376
- # ",
1377
- # `
1378
- # `
1379
- # ],
1380
- # "etag": "BwWWja0YfJA=",
1381
- # "version": 3
1382
- # `
1383
- # **YAML example:**
1384
- # bindings:
1385
- # - members:
1386
- # - user:mike@example.com
1387
- # - group:admins@example.com
1388
- # - domain:google.com
1389
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1390
- # role: roles/resourcemanager.organizationAdmin
1391
- # - members:
1392
- # - user:eve@example.com
1393
- # role: roles/resourcemanager.organizationViewer
1394
- # condition:
1395
- # title: expirable access
1396
- # description: Does not grant access after Sep 2020
1397
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1398
- # - etag: BwWWja0YfJA=
1399
- # - version: 3
1400
- # For a description of IAM and its features, see the
1401
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1146
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1147
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1148
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1149
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1150
+ # role or a user-created custom role. For some types of Google Cloud resources,
1151
+ # a `binding` can also specify a `condition`, which is a logical expression that
1152
+ # allows access to a resource only if the expression evaluates to `true`. A
1153
+ # condition can add constraints based on attributes of the request, the resource,
1154
+ # or both. To learn which resources support conditions in their IAM policies,
1155
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1156
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1157
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1158
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1159
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1160
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1161
+ # title": "expirable access", "description": "Does not grant access after Sep
1162
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1163
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1164
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1165
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1166
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1167
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1168
+ # description: Does not grant access after Sep 2020 expression: request.time <
1169
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1170
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1171
+ # google.com/iam/docs/).
1402
1172
  class Policy
1403
1173
  include Google::Apis::Core::Hashable
1404
1174
 
@@ -1407,48 +1177,44 @@ module Google
1407
1177
  # @return [Array<Google::Apis::CloudassetV1p5beta1::AuditConfig>]
1408
1178
  attr_accessor :audit_configs
1409
1179
 
1410
- # Associates a list of `members` to a `role`. Optionally, may specify a
1411
- # `condition` that determines how and when the `bindings` are applied. Each
1412
- # of the `bindings` must contain at least one member.
1180
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
1181
+ # condition` that determines how and when the `bindings` are applied. Each of
1182
+ # the `bindings` must contain at least one member.
1413
1183
  # Corresponds to the JSON property `bindings`
1414
1184
  # @return [Array<Google::Apis::CloudassetV1p5beta1::Binding>]
1415
1185
  attr_accessor :bindings
1416
1186
 
1417
- # `etag` is used for optimistic concurrency control as a way to help
1418
- # prevent simultaneous updates of a policy from overwriting each other.
1419
- # It is strongly suggested that systems make use of the `etag` in the
1420
- # read-modify-write cycle to perform policy updates in order to avoid race
1421
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1422
- # systems are expected to put that etag in the request to `setIamPolicy` to
1423
- # ensure that their change will be applied to the same version of the policy.
1424
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1425
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1426
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1427
- # the conditions in the version `3` policy are lost.
1187
+ # `etag` is used for optimistic concurrency control as a way to help prevent
1188
+ # simultaneous updates of a policy from overwriting each other. It is strongly
1189
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
1190
+ # to perform policy updates in order to avoid race conditions: An `etag` is
1191
+ # returned in the response to `getIamPolicy`, and systems are expected to put
1192
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
1193
+ # applied to the same version of the policy. **Important:** If you use IAM
1194
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1195
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
1196
+ # with a version `1` policy, and all of the conditions in the version `3` policy
1197
+ # are lost.
1428
1198
  # Corresponds to the JSON property `etag`
1429
1199
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1430
1200
  # @return [String]
1431
1201
  attr_accessor :etag
1432
1202
 
1433
- # Specifies the format of the policy.
1434
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1435
- # are rejected.
1436
- # Any operation that affects conditional role bindings must specify version
1437
- # `3`. This requirement applies to the following operations:
1438
- # * Getting a policy that includes a conditional role binding
1439
- # * Adding a conditional role binding to a policy
1440
- # * Changing a conditional role binding in a policy
1441
- # * Removing any role binding, with or without a condition, from a policy
1442
- # that includes conditions
1443
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1444
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1445
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1446
- # the conditions in the version `3` policy are lost.
1447
- # If a policy does not include any conditions, operations on that policy may
1448
- # specify any valid version or leave the field unset.
1449
- # To learn which resources support conditions in their IAM policies, see the
1450
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1451
- # policies).
1203
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1204
+ # Requests that specify an invalid value are rejected. Any operation that
1205
+ # affects conditional role bindings must specify version `3`. This requirement
1206
+ # applies to the following operations: * Getting a policy that includes a
1207
+ # conditional role binding * Adding a conditional role binding to a policy *
1208
+ # Changing a conditional role binding in a policy * Removing any role binding,
1209
+ # with or without a condition, from a policy that includes conditions **
1210
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1211
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1212
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1213
+ # conditions in the version `3` policy are lost. If a policy does not include
1214
+ # any conditions, operations on that policy may specify any valid version or
1215
+ # leave the field unset. To learn which resources support conditions in their
1216
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1217
+ # conditions/resource-policies).
1452
1218
  # Corresponds to the JSON property `version`
1453
1219
  # @return [Fixnum]
1454
1220
  attr_accessor :version
@@ -1470,47 +1236,42 @@ module Google
1470
1236
  class Resource
1471
1237
  include Google::Apis::Core::Hashable
1472
1238
 
1473
- # The content of the resource, in which some sensitive fields are removed
1474
- # and may not be present.
1239
+ # The content of the resource, in which some sensitive fields are removed and
1240
+ # may not be present.
1475
1241
  # Corresponds to the JSON property `data`
1476
1242
  # @return [Hash<String,Object>]
1477
1243
  attr_accessor :data
1478
1244
 
1479
1245
  # The URL of the discovery document containing the resource's JSON schema.
1480
- # Example:
1481
- # `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
1482
- # This value is unspecified for resources that do not have an API based on a
1246
+ # Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This
1247
+ # value is unspecified for resources that do not have an API based on a
1483
1248
  # discovery document, such as Cloud Bigtable.
1484
1249
  # Corresponds to the JSON property `discoveryDocumentUri`
1485
1250
  # @return [String]
1486
1251
  attr_accessor :discovery_document_uri
1487
1252
 
1488
- # The JSON schema name listed in the discovery document. Example:
1489
- # `Project`
1490
- # This value is unspecified for resources that do not have an API based on a
1253
+ # The JSON schema name listed in the discovery document. Example: `Project` This
1254
+ # value is unspecified for resources that do not have an API based on a
1491
1255
  # discovery document, such as Cloud Bigtable.
1492
1256
  # Corresponds to the JSON property `discoveryName`
1493
1257
  # @return [String]
1494
1258
  attr_accessor :discovery_name
1495
1259
 
1496
- # The full name of the immediate parent of this resource. See
1497
- # [Resource
1498
- # Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
1499
- # for more information.
1500
- # For Google Cloud assets, this value is the parent resource defined in the
1501
- # [Cloud IAM policy
1502
- # hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
1503
- # Example:
1504
- # `//cloudresourcemanager.googleapis.com/projects/my_project_123`
1505
- # For third-party assets, this field may be set differently.
1260
+ # The full name of the immediate parent of this resource. See [Resource Names](
1261
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name) for
1262
+ # more information. For Google Cloud assets, this value is the parent resource
1263
+ # defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/
1264
+ # overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/
1265
+ # projects/my_project_123` For third-party assets, this field may be set
1266
+ # differently.
1506
1267
  # Corresponds to the JSON property `parent`
1507
1268
  # @return [String]
1508
1269
  attr_accessor :parent
1509
1270
 
1510
- # The REST URL for accessing the resource. An HTTP `GET` request using this
1511
- # URL returns the resource itself. Example:
1512
- # `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
1513
- # This value is unspecified for resources without a REST API.
1271
+ # The REST URL for accessing the resource. An HTTP `GET` request using this URL
1272
+ # returns the resource itself. Example: `https://cloudresourcemanager.googleapis.
1273
+ # com/v1/projects/my-project-123` This value is unspecified for resources
1274
+ # without a REST API.
1514
1275
  # Corresponds to the JSON property `resourceUrl`
1515
1276
  # @return [String]
1516
1277
  attr_accessor :resource_url