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,14 +47,13 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Creates a feed in a parent project/folder/organization to listen to its
51
- # asset updates.
50
+ # Creates a feed in a parent project/folder/organization to listen to its asset
51
+ # updates.
52
52
  # @param [String] parent
53
- # Required. The name of the project/folder/organization where this feed
54
- # should be created in. It can only be an organization number (such as
55
- # "organizations/123"), a folder number (such as "folders/123"), a project ID
56
- # (such as "projects/my-project-id")", or a project number (such as
57
- # "projects/12345").
53
+ # Required. The name of the project/folder/organization where this feed should
54
+ # be created in. It can only be an organization number (such as "organizations/
55
+ # 123"), a folder number (such as "folders/123"), a project ID (such as "
56
+ # projects/my-project-id")", or a project number (such as "projects/12345").
58
57
  # @param [Google::Apis::CloudassetV1::CreateFeedRequest] create_feed_request_object
59
58
  # @param [String] fields
60
59
  # Selector specifying which fields to include in a partial response.
@@ -87,10 +86,9 @@ module Google
87
86
 
88
87
  # Deletes an asset feed.
89
88
  # @param [String] name
90
- # Required. The name of the feed and it must be in the format of:
91
- # projects/project_number/feeds/feed_id
92
- # folders/folder_number/feeds/feed_id
93
- # organizations/organization_number/feeds/feed_id
89
+ # Required. The name of the feed and it must be in the format of: projects/
90
+ # project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/
91
+ # organization_number/feeds/feed_id
94
92
  # @param [String] fields
95
93
  # Selector specifying which fields to include in a partial response.
96
94
  # @param [String] quota_user
@@ -120,10 +118,9 @@ module Google
120
118
 
121
119
  # Gets details about an asset feed.
122
120
  # @param [String] name
123
- # Required. The name of the Feed and it must be in the format of:
124
- # projects/project_number/feeds/feed_id
125
- # folders/folder_number/feeds/feed_id
126
- # organizations/organization_number/feeds/feed_id
121
+ # Required. The name of the Feed and it must be in the format of: projects/
122
+ # project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/
123
+ # organization_number/feeds/feed_id
127
124
  # @param [String] fields
128
125
  # Selector specifying which fields to include in a partial response.
129
126
  # @param [String] quota_user
@@ -153,9 +150,9 @@ module Google
153
150
 
154
151
  # Lists all asset feeds in a parent project/folder/organization.
155
152
  # @param [String] parent
156
- # Required. The parent project/folder/organization whose feeds are to be
157
- # listed. It can only be using project/folder/organization number (such as
158
- # "folders/12345")", or a project ID (such as "projects/my-project-id").
153
+ # Required. The parent project/folder/organization whose feeds are to be listed.
154
+ # It can only be using project/folder/organization number (such as "folders/
155
+ # 12345")", or a project ID (such as "projects/my-project-id").
159
156
  # @param [String] fields
160
157
  # Selector specifying which fields to include in a partial response.
161
158
  # @param [String] quota_user
@@ -185,12 +182,11 @@ module Google
185
182
 
186
183
  # Updates an asset feed configuration.
187
184
  # @param [String] name
188
- # Required. The format will be
189
- # projects/`project_number`/feeds/`client-assigned_feed_identifier` or
190
- # folders/`folder_number`/feeds/`client-assigned_feed_identifier` or
191
- # organizations/`organization_number`/feeds/`client-assigned_feed_identifier`
192
- # The client-assigned feed identifier must be unique within the parent
193
- # project/folder/organization.
185
+ # Required. The format will be projects/`project_number`/feeds/`client-
186
+ # assigned_feed_identifier` or folders/`folder_number`/feeds/`client-
187
+ # assigned_feed_identifier` or organizations/`organization_number`/feeds/`client-
188
+ # assigned_feed_identifier` The client-assigned feed identifier must be unique
189
+ # within the parent project/folder/organization.
194
190
  # @param [Google::Apis::CloudassetV1::UpdateFeedRequest] update_feed_request_object
195
191
  # @param [String] fields
196
192
  # Selector specifying which fields to include in a partial response.
@@ -221,9 +217,8 @@ module Google
221
217
  execute_or_queue_command(command, &block)
222
218
  end
223
219
 
224
- # Gets the latest state of a long-running operation. Clients can use this
225
- # method to poll the operation result at intervals as recommended by the API
226
- # service.
220
+ # Gets the latest state of a long-running operation. Clients can use this method
221
+ # to poll the operation result at intervals as recommended by the API service.
227
222
  # @param [String] name
228
223
  # The name of the operation resource.
229
224
  # @param [String] fields
@@ -253,25 +248,21 @@ module Google
253
248
  execute_or_queue_command(command, &block)
254
249
  end
255
250
 
256
- # Batch gets the update history of assets that overlap a time window.
257
- # For IAM_POLICY content, this API outputs history when the asset and its
258
- # attached IAM POLICY both exist. This can create gaps in the output history.
259
- # Otherwise, this API outputs history with asset in both non-delete or
260
- # deleted status.
261
- # If a specified asset does not exist, this API returns an INVALID_ARGUMENT
262
- # error.
251
+ # Batch gets the update history of assets that overlap a time window. For
252
+ # IAM_POLICY content, this API outputs history when the asset and its attached
253
+ # IAM POLICY both exist. This can create gaps in the output history. Otherwise,
254
+ # this API outputs history with asset in both non-delete or deleted status. If a
255
+ # specified asset does not exist, this API returns an INVALID_ARGUMENT error.
263
256
  # @param [String] parent
264
- # Required. The relative name of the root asset. It can only be an
265
- # organization number (such as "organizations/123"), a project ID (such as
266
- # "projects/my-project-id")", or a project number (such as "projects/12345").
257
+ # Required. The relative name of the root asset. It can only be an organization
258
+ # number (such as "organizations/123"), a project ID (such as "projects/my-
259
+ # project-id")", or a project number (such as "projects/12345").
267
260
  # @param [Array<String>, String] asset_names
268
- # A list of the full names of the assets.
269
- # See: https://cloud.google.com/asset-inventory/docs/resource-name-format
270
- # Example:
271
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
272
- # instance1`.
273
- # The request becomes a no-op if the asset name list is empty, and the max
274
- # size of the asset name list is 100 in one request.
261
+ # A list of the full names of the assets. See: https://cloud.google.com/asset-
262
+ # inventory/docs/resource-name-format Example: `//compute.googleapis.com/
263
+ # projects/my_project_123/zones/zone1/instances/instance1`. The request becomes
264
+ # a no-op if the asset name list is empty, and the max size of the asset name
265
+ # list is 100 in one request.
275
266
  # @param [String] content_type
276
267
  # Optional. The content type.
277
268
  # @param [String] read_time_window_end_time
@@ -310,21 +301,20 @@ module Google
310
301
  execute_or_queue_command(command, &block)
311
302
  end
312
303
 
313
- # Exports assets with time and resource types to a given Cloud Storage
314
- # location/BigQuery table. For Cloud Storage location destinations, the
315
- # output format is newline-delimited JSON. Each line represents a
316
- # google.cloud.asset.v1.Asset in the JSON format; for BigQuery table
317
- # destinations, the output table stores the fields in asset proto as columns.
318
- # This API implements the google.longrunning.Operation API
319
- # , which allows you to keep track of the export. We recommend intervals of
320
- # at least 2 seconds with exponential retry to poll the export operation
321
- # result. For regular-size resource parent, the export operation usually
322
- # finishes within 5 minutes.
304
+ # Exports assets with time and resource types to a given Cloud Storage location/
305
+ # BigQuery table. For Cloud Storage location destinations, the output format is
306
+ # newline-delimited JSON. Each line represents a google.cloud.asset.v1.Asset in
307
+ # the JSON format; for BigQuery table destinations, the output table stores the
308
+ # fields in asset proto as columns. This API implements the google.longrunning.
309
+ # Operation API , which allows you to keep track of the export. We recommend
310
+ # intervals of at least 2 seconds with exponential retry to poll the export
311
+ # operation result. For regular-size resource parent, the export operation
312
+ # usually finishes within 5 minutes.
323
313
  # @param [String] parent
324
314
  # Required. The relative name of the root asset. This can only be an
325
- # organization number (such as "organizations/123"), a project ID (such as
326
- # "projects/my-project-id"), or a project number (such as "projects/12345"),
327
- # or a folder number (such as "folders/123").
315
+ # organization number (such as "organizations/123"), a project ID (such as "
316
+ # projects/my-project-id"), or a project number (such as "projects/12345"), or a
317
+ # folder number (such as "folders/123").
328
318
  # @param [Google::Apis::CloudassetV1::ExportAssetsRequest] export_assets_request_object
329
319
  # @param [String] fields
330
320
  # Selector specifying which fields to include in a partial response.
@@ -356,60 +346,47 @@ module Google
356
346
  end
357
347
 
358
348
  # Searches all IAM policies within the specified scope, such as a project,
359
- # folder, or organization. The caller must be granted the
360
- # `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
361
- # otherwise the request will be rejected.
349
+ # folder, or organization. The caller must be granted the `cloudasset.assets.
350
+ # searchAllIamPolicies` permission on the desired scope, otherwise the request
351
+ # will be rejected.
362
352
  # @param [String] scope
363
353
  # Required. A scope can be a project, a folder, or an organization. The search
364
- # is
365
- # limited to the IAM policies within the `scope`. The caller must be granted
366
- # the
367
- # [`cloudasset.assets.searchAllIamPolicies`](http://cloud.google.com/asset-
368
- # inventory/docs/access-control#required_permissions)
369
- # permission on the desired scope.
370
- # The allowed values are:
371
- # * projects/`PROJECT_ID` (e.g., "projects/foo-bar")
372
- # * projects/`PROJECT_NUMBER` (e.g., "projects/12345678")
373
- # * folders/`FOLDER_NUMBER` (e.g., "folders/1234567")
374
- # * organizations/`ORGANIZATION_NUMBER` (e.g., "organizations/123456")
354
+ # is limited to the IAM policies within the `scope`. The caller must be granted
355
+ # the [`cloudasset.assets.searchAllIamPolicies`](http://cloud.google.com/asset-
356
+ # inventory/docs/access-control#required_permissions) permission on the desired
357
+ # scope. The allowed values are: * projects/`PROJECT_ID` (e.g., "projects/foo-
358
+ # bar") * projects/`PROJECT_NUMBER` (e.g., "projects/12345678") * folders/`
359
+ # FOLDER_NUMBER` (e.g., "folders/1234567") * organizations/`ORGANIZATION_NUMBER`
360
+ # (e.g., "organizations/123456")
375
361
  # @param [Fixnum] page_size
376
362
  # Optional. The page size for search result pagination. Page size is capped at
377
- # 500 even
378
- # if a larger value is given. If set to zero, server will pick an appropriate
379
- # default. Returned results may be fewer than requested. When this happens,
380
- # there could be more results as long as `next_page_token` is returned.
363
+ # 500 even if a larger value is given. If set to zero, server will pick an
364
+ # appropriate default. Returned results may be fewer than requested. When this
365
+ # happens, there could be more results as long as `next_page_token` is returned.
381
366
  # @param [String] page_token
382
367
  # Optional. If present, retrieve the next batch of results from the preceding
383
- # call to
384
- # this method. `page_token` must be the value of `next_page_token` from the
385
- # previous response. The values of all other method parameters must be
368
+ # call to this method. `page_token` must be the value of `next_page_token` from
369
+ # the previous response. The values of all other method parameters must be
386
370
  # identical to those in the previous call.
387
371
  # @param [String] query
388
- # Optional. The query statement. See [how to construct a
389
- # query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#
390
- # how_to_construct_a_query)
391
- # for more information. If not specified or empty, it will search all the
392
- # IAM policies within the specified `scope`.
393
- # Examples:
394
- # * `policy : "amy@gmail.com"` to find IAM policy bindings that specify user
395
- # "amy@gmail.com".
396
- # * `policy : "roles/compute.admin"` to find IAM policy bindings that specify
397
- # the Compute Admin role.
398
- # * `policy.role.permissions : "storage.buckets.update"` to find IAM policy
399
- # bindings that specify a role containing "storage.buckets.update"
400
- # permission. Note that if callers don't have `iam.roles.get` access to a
401
- # role's included permissions, policy bindings that specify this role will
402
- # be dropped from the search results.
403
- # * `resource : "organizations/123456"` to find IAM policy bindings
404
- # that are set on "organizations/123456".
405
- # * `"Important"` to find IAM policy bindings that contain "Important" as a
406
- # word in any of the searchable fields (except for the included
407
- # permissions).
408
- # * `"*por*"` to find IAM policy bindings which contain "por" as a substring
409
- # in any of the searchable fields (except for the included permissions).
410
- # * `(resource : ("instance1" OR "instance2") AND policy : "amy")` to find
411
- # IAM policy bindings that are set on resources "instance1" or
412
- # "instance2" and also specify user "amy".
372
+ # Optional. The query statement. See [how to construct a query](https://cloud.
373
+ # google.com/asset-inventory/docs/searching-iam-policies#
374
+ # how_to_construct_a_query) for more information. If not specified or empty, it
375
+ # will search all the IAM policies within the specified `scope`. Examples: * `
376
+ # policy:amy@gmail.com` to find IAM policy bindings that specify user "amy@gmail.
377
+ # com". * `policy:roles/compute.admin` to find IAM policy bindings that specify
378
+ # the Compute Admin role. * `policy.role.permissions:storage.buckets.update` to
379
+ # find IAM policy bindings that specify a role containing "storage.buckets.
380
+ # update" permission. Note that if callers don't have `iam.roles.get` access to
381
+ # a role's included permissions, policy bindings that specify this role will be
382
+ # dropped from the search results. * `resource:organizations/123456` to find IAM
383
+ # policy bindings that are set on "organizations/123456". * `Important` to find
384
+ # IAM policy bindings that contain "Important" as a word in any of the
385
+ # searchable fields (except for the included permissions). * `*por*` to find IAM
386
+ # policy bindings that contain "por" as a substring in any of the searchable
387
+ # fields (except for the included permissions). * `resource:(instance1 OR
388
+ # instance2) policy:amy` to find IAM policy bindings that are set on resources "
389
+ # instance1" or "instance2" and also specify user "amy".
413
390
  # @param [String] fields
414
391
  # Selector specifying which fields to include in a partial response.
415
392
  # @param [String] quota_user
@@ -441,83 +418,64 @@ module Google
441
418
  end
442
419
 
443
420
  # Searches all Cloud resources within the specified scope, such as a project,
444
- # folder, or organization. The caller must be granted the
445
- # `cloudasset.assets.searchAllResources` permission on the desired scope,
446
- # otherwise the request will be rejected.
421
+ # folder, or organization. The caller must be granted the `cloudasset.assets.
422
+ # searchAllResources` permission on the desired scope, otherwise the request
423
+ # will be rejected.
447
424
  # @param [String] scope
448
425
  # Required. A scope can be a project, a folder, or an organization. The search
449
- # is
450
- # limited to the resources within the `scope`. The caller must be granted the
426
+ # is limited to the resources within the `scope`. The caller must be granted the
451
427
  # [`cloudasset.assets.searchAllResources`](http://cloud.google.com/asset-
452
- # inventory/docs/access-control#required_permissions)
453
- # permission on the desired scope.
454
- # The allowed values are:
455
- # * projects/`PROJECT_ID` (e.g., "projects/foo-bar")
456
- # * projects/`PROJECT_NUMBER` (e.g., "projects/12345678")
457
- # * folders/`FOLDER_NUMBER` (e.g., "folders/1234567")
458
- # * organizations/`ORGANIZATION_NUMBER` (e.g., "organizations/123456")
428
+ # inventory/docs/access-control#required_permissions) permission on the desired
429
+ # scope. The allowed values are: * projects/`PROJECT_ID` (e.g., "projects/foo-
430
+ # bar") * projects/`PROJECT_NUMBER` (e.g., "projects/12345678") * folders/`
431
+ # FOLDER_NUMBER` (e.g., "folders/1234567") * organizations/`ORGANIZATION_NUMBER`
432
+ # (e.g., "organizations/123456")
459
433
  # @param [Array<String>, String] asset_types
460
434
  # Optional. A list of asset types that this request searches for. If empty, it
461
- # will
462
- # search all the [searchable asset
463
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#
464
- # searchable_asset_types).
435
+ # will search all the [searchable asset types](https://cloud.google.com/asset-
436
+ # inventory/docs/supported-asset-types#searchable_asset_types).
465
437
  # @param [String] order_by
466
438
  # Optional. A comma separated list of fields specifying the sorting order of the
467
- # results. The default order is ascending. Add " DESC" after the field name
468
- # to indicate descending order. Redundant space characters are ignored.
469
- # Example: "location DESC, name". Only string fields in the response are
470
- # sortable, including `name`, `displayName`, `description`, `location`. All
471
- # the other fields such as repeated fields (e.g., `networkTags`), map
472
- # fields (e.g., `labels`) and struct fields (e.g., `additionalAttributes`)
473
- # are not supported.
439
+ # results. The default order is ascending. Add " DESC" after the field name to
440
+ # indicate descending order. Redundant space characters are ignored. Example: "
441
+ # location DESC, name". Only string fields in the response are sortable,
442
+ # including `name`, `displayName`, `description`, `location`. All the other
443
+ # fields such as repeated fields (e.g., `networkTags`), map fields (e.g., `
444
+ # labels`) and struct fields (e.g., `additionalAttributes`) are not supported.
474
445
  # @param [Fixnum] page_size
475
446
  # Optional. The page size for search result pagination. Page size is capped at
476
- # 500 even
477
- # if a larger value is given. If set to zero, server will pick an appropriate
478
- # default. Returned results may be fewer than requested. When this happens,
479
- # there could be more results as long as `next_page_token` is returned.
447
+ # 500 even if a larger value is given. If set to zero, server will pick an
448
+ # appropriate default. Returned results may be fewer than requested. When this
449
+ # happens, there could be more results as long as `next_page_token` is returned.
480
450
  # @param [String] page_token
481
451
  # Optional. If present, then retrieve the next batch of results from the
482
- # preceding call
483
- # to this method. `page_token` must be the value of `next_page_token` from
484
- # the previous response. The values of all other method parameters, must be
485
- # identical to those in the previous call.
452
+ # preceding call to this method. `page_token` must be the value of `
453
+ # next_page_token` from the previous response. The values of all other method
454
+ # parameters, must be identical to those in the previous call.
486
455
  # @param [String] query
487
- # Optional. The query statement. See [how to construct a
488
- # query](http://cloud.google.com/asset-inventory/docs/searching-resources#
489
- # how_to_construct_a_query)
456
+ # Optional. The query statement. See [how to construct a query](http://cloud.
457
+ # google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
490
458
  # for more information. If not specified or empty, it will search all the
491
- # resources within the specified `scope`. Note that the query string is
492
- # compared against each Cloud IAM policy binding, including its members,
493
- # roles, and Cloud IAM conditions. The returned Cloud IAM policies will only
494
- # contain the bindings that match your query. To learn more about the IAM
495
- # policy structure, see [IAM policy
496
- # doc](https://cloud.google.com/iam/docs/policies#structure).
497
- # Examples:
498
- # * `name : "Important"` to find Cloud resources whose name contains
499
- # "Important" as a word.
500
- # * `displayName : "Impor*"` to find Cloud resources whose display name
501
- # contains "Impor" as a prefix.
502
- # * `description : "*por*"` to find Cloud resources whose description
503
- # contains "por" as a substring.
504
- # * `location : "us-west*"` to find Cloud resources whose location is
505
- # prefixed with "us-west".
506
- # * `labels : "prod"` to find Cloud resources whose labels contain "prod" as
507
- # a key or value.
508
- # * `labels.env : "prod"` to find Cloud resources which have a label "env"
509
- # and its value is "prod".
510
- # * `labels.env : *` to find Cloud resources which have a label "env".
511
- # * `"Important"` to find Cloud resources which contain "Important" as a word
512
- # in any of the searchable fields.
513
- # * `"Impor*"` to find Cloud resources which contain "Impor" as a prefix
514
- # in any of the searchable fields.
515
- # * `"*por*"` to find Cloud resources which contain "por" as a substring in
516
- # any of the searchable fields.
517
- # * `("Important" AND location : ("us-west1" OR "global"))` to find Cloud
518
- # resources which contain "Important" as a word in any of the searchable
519
- # fields and are also located in the "us-west1" region or the "global"
520
- # location.
459
+ # resources within the specified `scope`. Note that the query string is compared
460
+ # against each Cloud IAM policy binding, including its members, roles, and Cloud
461
+ # IAM conditions. The returned Cloud IAM policies will only contain the bindings
462
+ # that match your query. To learn more about the IAM policy structure, see [IAM
463
+ # policy doc](https://cloud.google.com/iam/docs/policies#structure). Examples: *
464
+ # `name:Important` to find Cloud resources whose name contains "Important" as a
465
+ # word. * `displayName:Impor*` to find Cloud resources whose display name
466
+ # contains "Impor" as a prefix. * `description:*por*` to find Cloud resources
467
+ # whose description contains "por" as a substring. * `location:us-west*` to find
468
+ # Cloud resources whose location is prefixed with "us-west". * `labels:prod` to
469
+ # find Cloud resources whose labels contain "prod" as a key or value. * `labels.
470
+ # env:prod` to find Cloud resources that have a label "env" and its value is "
471
+ # prod". * `labels.env:*` to find Cloud resources that have a label "env". * `
472
+ # Important` to find Cloud resources that contain "Important" as a word in any
473
+ # of the searchable fields. * `Impor*` to find Cloud resources that contain "
474
+ # Impor" as a prefix in any of the searchable fields. * `*por*` to find Cloud
475
+ # resources that contain "por" as a substring in any of the searchable fields. *
476
+ # `Important location:(us-west1 OR global)` to find Cloud resources that contain
477
+ # "Important" as a word in any of the searchable fields and are also located in
478
+ # the "us-west1" region or the "global" location.
521
479
  # @param [String] fields
522
480
  # Selector specifying which fields to include in a partial response.
523
481
  # @param [String] quota_user
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/asset-inventory/docs/quickstart
26
26
  module CloudassetV1beta1
27
27
  VERSION = 'V1beta1'
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 CloudassetV1beta1
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,102 +39,64 @@ 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::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AccessPolicy]
51
48
  attr_accessor :access_policy
52
49
 
53
- # The type of the asset. Example: `compute.googleapis.com/Disk`
54
- # See [Supported asset
55
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
56
- # for more information.
50
+ # The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported
51
+ # asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-
52
+ # types) for more information.
57
53
  # Corresponds to the JSON property `assetType`
58
54
  # @return [String]
59
55
  attr_accessor :asset_type
60
56
 
61
57
  # An Identity and Access Management (IAM) policy, which specifies access
62
- # controls for Google Cloud resources.
63
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
64
- # `members` to a single `role`. Members can be user accounts, service accounts,
65
- # Google groups, and domains (such as G Suite). A `role` is a named list of
66
- # permissions; each `role` can be an IAM predefined role or a user-created
67
- # custom role.
68
- # For some types of Google Cloud resources, a `binding` can also specify a
69
- # `condition`, which is a logical expression that allows access to a resource
70
- # only if the expression evaluates to `true`. A condition can add constraints
71
- # based on attributes of the request, the resource, or both. To learn which
72
- # resources support conditions in their IAM policies, see the
73
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
74
- # policies).
75
- # **JSON example:**
76
- # `
77
- # "bindings": [
78
- # `
79
- # "role": "roles/resourcemanager.organizationAdmin",
80
- # "members": [
81
- # "user:mike@example.com",
82
- # "group:admins@example.com",
83
- # "domain:google.com",
84
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
85
- # ]
86
- # `,
87
- # `
88
- # "role": "roles/resourcemanager.organizationViewer",
89
- # "members": [
90
- # "user:eve@example.com"
91
- # ],
92
- # "condition": `
93
- # "title": "expirable access",
94
- # "description": "Does not grant access after Sep 2020",
95
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
96
- # ",
97
- # `
98
- # `
99
- # ],
100
- # "etag": "BwWWja0YfJA=",
101
- # "version": 3
102
- # `
103
- # **YAML example:**
104
- # bindings:
105
- # - members:
106
- # - user:mike@example.com
107
- # - group:admins@example.com
108
- # - domain:google.com
109
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
110
- # role: roles/resourcemanager.organizationAdmin
111
- # - members:
112
- # - user:eve@example.com
113
- # role: roles/resourcemanager.organizationViewer
114
- # condition:
115
- # title: expirable access
116
- # description: Does not grant access after Sep 2020
117
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
118
- # - etag: BwWWja0YfJA=
119
- # - version: 3
120
- # For a description of IAM and its features, see the
121
- # [IAM documentation](https://cloud.google.com/iam/docs/).
58
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
59
+ # A `binding` binds one or more `members` to a single `role`. Members can be
60
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
61
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
62
+ # role or a user-created custom role. For some types of Google Cloud resources,
63
+ # a `binding` can also specify a `condition`, which is a logical expression that
64
+ # allows access to a resource only if the expression evaluates to `true`. A
65
+ # condition can add constraints based on attributes of the request, the resource,
66
+ # or both. To learn which resources support conditions in their IAM policies,
67
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
68
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
69
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
70
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
71
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
72
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
73
+ # title": "expirable access", "description": "Does not grant access after Sep
74
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
75
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
76
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
77
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
78
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
79
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
80
+ # description: Does not grant access after Sep 2020 expression: request.time <
81
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
82
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
83
+ # google.com/iam/docs/).
122
84
  # Corresponds to the JSON property `iamPolicy`
123
85
  # @return [Google::Apis::CloudassetV1beta1::Policy]
124
86
  attr_accessor :iam_policy
125
87
 
126
- # The full name of the asset. Example:
127
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
128
- # instance1`
129
- # See [Resource
130
- # names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
131
- # for more information.
88
+ # The full name of the asset. Example: `//compute.googleapis.com/projects/
89
+ # my_project_123/zones/zone1/instances/instance1` See [Resource names](https://
90
+ # cloud.google.com/apis/design/resource_names#full_resource_name) for more
91
+ # information.
132
92
  # Corresponds to the JSON property `name`
133
93
  # @return [String]
134
94
  attr_accessor :name
135
95
 
136
- # A representation of an [organization
137
- # policy](https://cloud.google.com/resource-manager/docs/organization-policy/
138
- # overview#organization_policy).
139
- # There can be more than one organization policy with different constraints
140
- # set on a given resource.
96
+ # A representation of an [organization policy](https://cloud.google.com/resource-
97
+ # manager/docs/organization-policy/overview#organization_policy). There can be
98
+ # more than one organization policy with different constraints set on a given
99
+ # resource.
141
100
  # Corresponds to the JSON property `orgPolicy`
142
101
  # @return [Array<Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1Policy>]
143
102
  attr_accessor :org_policy
@@ -148,15 +107,14 @@ module Google
148
107
  attr_accessor :resource
149
108
 
150
109
  # `ServicePerimeter` describes a set of Google Cloud resources which can freely
151
- # import and export data amongst themselves, but not export outside of the
152
- # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
110
+ # import and export data amongst themselves, but not export outside of the `
111
+ # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
153
112
  # has a target outside of the `ServicePerimeter`, the request will be blocked.
154
113
  # Otherwise the request is allowed. There are two types of Service Perimeter -
155
- # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
156
- # Google Cloud project can only belong to a single regular Service Perimeter.
157
- # Service Perimeter Bridges can contain only Google Cloud projects as members,
158
- # a single Google Cloud project may belong to multiple Service Perimeter
159
- # Bridges.
114
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
115
+ # Cloud project can only belong to a single regular Service Perimeter. Service
116
+ # Perimeter Bridges can contain only Google Cloud projects as members, a single
117
+ # Google Cloud project may belong to multiple Service Perimeter Bridges.
160
118
  # Corresponds to the JSON property `servicePerimeter`
161
119
  # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter]
162
120
  attr_accessor :service_perimeter
@@ -178,53 +136,21 @@ module Google
178
136
  end
179
137
  end
180
138
 
181
- # Specifies the audit configuration for a service.
182
- # The configuration determines which permission types are logged, and what
183
- # identities, if any, are exempted from logging.
184
- # An AuditConfig must have one or more AuditLogConfigs.
185
- # If there are AuditConfigs for both `allServices` and a specific service,
186
- # the union of the two AuditConfigs is used for that service: the log_types
187
- # specified in each AuditConfig are enabled, and the exempted_members in each
188
- # AuditLogConfig are exempted.
189
- # Example Policy with multiple AuditConfigs:
190
- # `
191
- # "audit_configs": [
192
- # `
193
- # "service": "allServices",
194
- # "audit_log_configs": [
195
- # `
196
- # "log_type": "DATA_READ",
197
- # "exempted_members": [
198
- # "user:jose@example.com"
199
- # ]
200
- # `,
201
- # `
202
- # "log_type": "DATA_WRITE"
203
- # `,
204
- # `
205
- # "log_type": "ADMIN_READ"
206
- # `
207
- # ]
208
- # `,
209
- # `
210
- # "service": "sampleservice.googleapis.com",
211
- # "audit_log_configs": [
212
- # `
213
- # "log_type": "DATA_READ"
214
- # `,
215
- # `
216
- # "log_type": "DATA_WRITE",
217
- # "exempted_members": [
218
- # "user:aliya@example.com"
219
- # ]
220
- # `
221
- # ]
222
- # `
223
- # ]
224
- # `
225
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
226
- # logging. It also exempts jose@example.com from DATA_READ logging, and
227
- # aliya@example.com from DATA_WRITE logging.
139
+ # Specifies the audit configuration for a service. The configuration determines
140
+ # which permission types are logged, and what identities, if any, are exempted
141
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
142
+ # are AuditConfigs for both `allServices` and a specific service, the union of
143
+ # the two AuditConfigs is used for that service: the log_types specified in each
144
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
145
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
146
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
147
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
148
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
149
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
150
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
151
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
152
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
153
+ # DATA_WRITE logging.
228
154
  class AuditConfig
229
155
  include Google::Apis::Core::Hashable
230
156
 
@@ -233,9 +159,9 @@ module Google
233
159
  # @return [Array<Google::Apis::CloudassetV1beta1::AuditLogConfig>]
234
160
  attr_accessor :audit_log_configs
235
161
 
236
- # Specifies a service that will be enabled for audit logging.
237
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
238
- # `allServices` is a special value that covers all services.
162
+ # Specifies a service that will be enabled for audit logging. For example, `
163
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
164
+ # value that covers all services.
239
165
  # Corresponds to the JSON property `service`
240
166
  # @return [String]
241
167
  attr_accessor :service
@@ -251,28 +177,15 @@ module Google
251
177
  end
252
178
  end
253
179
 
254
- # Provides the configuration for logging a type of permissions.
255
- # Example:
256
- # `
257
- # "audit_log_configs": [
258
- # `
259
- # "log_type": "DATA_READ",
260
- # "exempted_members": [
261
- # "user:jose@example.com"
262
- # ]
263
- # `,
264
- # `
265
- # "log_type": "DATA_WRITE"
266
- # `
267
- # ]
268
- # `
269
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
270
- # jose@example.com from DATA_READ logging.
180
+ # Provides the configuration for logging a type of permissions. Example: ` "
181
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
182
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
183
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
184
+ # DATA_READ logging.
271
185
  class AuditLogConfig
272
186
  include Google::Apis::Core::Hashable
273
187
 
274
- # Specifies the identities that do not cause logging for this type of
275
- # permission.
188
+ # Specifies the identities that do not cause logging for this type of permission.
276
189
  # Follows the same format of Binding.members.
277
190
  # Corresponds to the JSON property `exemptedMembers`
278
191
  # @return [Array<String>]
@@ -317,69 +230,57 @@ module Google
317
230
  class Binding
318
231
  include Google::Apis::Core::Hashable
319
232
 
320
- # Represents a textual expression in the Common Expression Language (CEL)
321
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
322
- # are documented at https://github.com/google/cel-spec.
323
- # Example (Comparison):
324
- # title: "Summary size limit"
325
- # description: "Determines if a summary is less than 100 chars"
326
- # expression: "document.summary.size() < 100"
327
- # Example (Equality):
328
- # title: "Requestor is owner"
329
- # description: "Determines if requestor is the document owner"
330
- # expression: "document.owner == request.auth.claims.email"
331
- # Example (Logic):
332
- # title: "Public documents"
333
- # description: "Determine whether the document should be publicly visible"
334
- # expression: "document.type != 'private' && document.type != 'internal'"
335
- # Example (Data Manipulation):
336
- # title: "Notification string"
337
- # description: "Create a notification string with a timestamp."
338
- # expression: "'New message received at ' + string(document.create_time)"
339
- # The exact variables and functions that may be referenced within an expression
340
- # are determined by the service that evaluates it. See the service
341
- # documentation for additional information.
233
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
234
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
235
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
236
+ # "Summary size limit" description: "Determines if a summary is less than 100
237
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
238
+ # Requestor is owner" description: "Determines if requestor is the document
239
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
240
+ # Logic): title: "Public documents" description: "Determine whether the document
241
+ # should be publicly visible" expression: "document.type != 'private' &&
242
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
243
+ # string" description: "Create a notification string with a timestamp."
244
+ # expression: "'New message received at ' + string(document.create_time)" The
245
+ # exact variables and functions that may be referenced within an expression are
246
+ # determined by the service that evaluates it. See the service documentation for
247
+ # additional information.
342
248
  # Corresponds to the JSON property `condition`
343
249
  # @return [Google::Apis::CloudassetV1beta1::Expr]
344
250
  attr_accessor :condition
345
251
 
346
- # Specifies the identities requesting access for a Cloud Platform resource.
347
- # `members` can have the following values:
348
- # * `allUsers`: A special identifier that represents anyone who is
349
- # on the internet; with or without a Google account.
350
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
351
- # who is authenticated with a Google account or a service account.
352
- # * `user:`emailid``: An email address that represents a specific Google
353
- # account. For example, `alice@example.com` .
354
- # * `serviceAccount:`emailid``: An email address that represents a service
355
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
356
- # * `group:`emailid``: An email address that represents a Google group.
357
- # For example, `admins@example.com`.
358
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
359
- # identifier) representing a user that has been recently deleted. For
360
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
361
- # recovered, this value reverts to `user:`emailid`` and the recovered user
362
- # retains the role in the binding.
363
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
364
- # unique identifier) representing a service account that has been recently
365
- # deleted. For example,
366
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
367
- # If the service account is undeleted, this value reverts to
368
- # `serviceAccount:`emailid`` and the undeleted service account retains the
369
- # role in the binding.
370
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
371
- # identifier) representing a Google group that has been recently
372
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
373
- # the group is recovered, this value reverts to `group:`emailid`` and the
374
- # recovered group retains the role in the binding.
375
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
376
- # users of that domain. For example, `google.com` or `example.com`.
252
+ # Specifies the identities requesting access for a Cloud Platform resource. `
253
+ # members` can have the following values: * `allUsers`: A special identifier
254
+ # that represents anyone who is on the internet; with or without a Google
255
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
256
+ # anyone who is authenticated with a Google account or a service account. * `
257
+ # user:`emailid``: An email address that represents a specific Google account.
258
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
259
+ # address that represents a service account. For example, `my-other-app@appspot.
260
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
261
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
262
+ # `uniqueid``: An email address (plus unique identifier) representing a user
263
+ # that has been recently deleted. For example, `alice@example.com?uid=
264
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
265
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
266
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
267
+ # identifier) representing a service account that has been recently deleted. For
268
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
269
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
270
+ # emailid`` and the undeleted service account retains the role in the binding. *
271
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
272
+ # identifier) representing a Google group that has been recently deleted. For
273
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
274
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
275
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
276
+ # primary) that represents all the users of that domain. For example, `google.
277
+ # com` or `example.com`.
377
278
  # Corresponds to the JSON property `members`
378
279
  # @return [Array<String>]
379
280
  attr_accessor :members
380
281
 
381
- # Role that is assigned to `members`.
382
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
282
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
283
+ # , or `roles/owner`.
383
284
  # Corresponds to the JSON property `role`
384
285
  # @return [String]
385
286
  attr_accessor :role
@@ -400,12 +301,10 @@ module Google
400
301
  class ExportAssetsRequest
401
302
  include Google::Apis::Core::Hashable
402
303
 
403
- # A list of asset types of which to take a snapshot for. For example:
404
- # "google.compute.Disk". If specified, only matching assets will be returned.
405
- # See [Introduction to Cloud Asset
406
- # Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-
407
- # inventory/overview)
408
- # for all supported asset types.
304
+ # A list of asset types of which to take a snapshot for. For example: "google.
305
+ # compute.Disk". If specified, only matching assets will be returned. See [
306
+ # Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-
307
+ # manager/docs/cloud-asset-inventory/overview) for all supported asset types.
409
308
  # Corresponds to the JSON property `assetTypes`
410
309
  # @return [Array<String>]
411
310
  attr_accessor :asset_types
@@ -422,10 +321,10 @@ module Google
422
321
  attr_accessor :output_config
423
322
 
424
323
  # Timestamp to take an asset snapshot. This can only be set to a timestamp
425
- # between 2018-10-02 UTC (inclusive) and the current time. If not specified,
426
- # the current time will be used. Due to delays in resource data collection
427
- # and indexing, there is a volatile window during which running the same
428
- # query may get different results.
324
+ # between 2018-10-02 UTC (inclusive) and the current time. If not specified, the
325
+ # current time will be used. Due to delays in resource data collection and
326
+ # indexing, there is a volatile window during which running the same query may
327
+ # get different results.
429
328
  # Corresponds to the JSON property `readTime`
430
329
  # @return [String]
431
330
  attr_accessor :read_time
@@ -443,52 +342,43 @@ module Google
443
342
  end
444
343
  end
445
344
 
446
- # Represents a textual expression in the Common Expression Language (CEL)
447
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
448
- # are documented at https://github.com/google/cel-spec.
449
- # Example (Comparison):
450
- # title: "Summary size limit"
451
- # description: "Determines if a summary is less than 100 chars"
452
- # expression: "document.summary.size() < 100"
453
- # Example (Equality):
454
- # title: "Requestor is owner"
455
- # description: "Determines if requestor is the document owner"
456
- # expression: "document.owner == request.auth.claims.email"
457
- # Example (Logic):
458
- # title: "Public documents"
459
- # description: "Determine whether the document should be publicly visible"
460
- # expression: "document.type != 'private' && document.type != 'internal'"
461
- # Example (Data Manipulation):
462
- # title: "Notification string"
463
- # description: "Create a notification string with a timestamp."
464
- # expression: "'New message received at ' + string(document.create_time)"
465
- # The exact variables and functions that may be referenced within an expression
466
- # are determined by the service that evaluates it. See the service
467
- # documentation for additional information.
345
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
346
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
347
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
348
+ # "Summary size limit" description: "Determines if a summary is less than 100
349
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
350
+ # Requestor is owner" description: "Determines if requestor is the document
351
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
352
+ # Logic): title: "Public documents" description: "Determine whether the document
353
+ # should be publicly visible" expression: "document.type != 'private' &&
354
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
355
+ # string" description: "Create a notification string with a timestamp."
356
+ # expression: "'New message received at ' + string(document.create_time)" The
357
+ # exact variables and functions that may be referenced within an expression are
358
+ # determined by the service that evaluates it. See the service documentation for
359
+ # additional information.
468
360
  class Expr
469
361
  include Google::Apis::Core::Hashable
470
362
 
471
- # Optional. Description of the expression. This is a longer text which
472
- # describes the expression, e.g. when hovered over it in a UI.
363
+ # Optional. Description of the expression. This is a longer text which describes
364
+ # the expression, e.g. when hovered over it in a UI.
473
365
  # Corresponds to the JSON property `description`
474
366
  # @return [String]
475
367
  attr_accessor :description
476
368
 
477
- # Textual representation of an expression in Common Expression Language
478
- # syntax.
369
+ # Textual representation of an expression in Common Expression Language syntax.
479
370
  # Corresponds to the JSON property `expression`
480
371
  # @return [String]
481
372
  attr_accessor :expression
482
373
 
483
- # Optional. String indicating the location of the expression for error
484
- # reporting, e.g. a file name and a position in the file.
374
+ # Optional. String indicating the location of the expression for error reporting,
375
+ # e.g. a file name and a position in the file.
485
376
  # Corresponds to the JSON property `location`
486
377
  # @return [String]
487
378
  attr_accessor :location
488
379
 
489
- # Optional. Title for the expression, i.e. a short string describing
490
- # its purpose. This can be used e.g. in UIs which allow to enter the
491
- # expression.
380
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
381
+ # This can be used e.g. in UIs which allow to enter the expression.
492
382
  # Corresponds to the JSON property `title`
493
383
  # @return [String]
494
384
  attr_accessor :title
@@ -510,23 +400,21 @@ module Google
510
400
  class GcsDestination
511
401
  include Google::Apis::Core::Hashable
512
402
 
513
- # The uri of the Cloud Storage object. It's the same uri that is used by
514
- # gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
515
- # Editing Object
516
- # Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
517
- # for more information.
403
+ # The uri of the Cloud Storage object. It's the same uri that is used by gsutil.
404
+ # For example: "gs://bucket_name/object_name". See [Viewing and Editing Object
405
+ # Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for
406
+ # more information.
518
407
  # Corresponds to the JSON property `uri`
519
408
  # @return [String]
520
409
  attr_accessor :uri
521
410
 
522
- # The uri prefix of all generated Cloud Storage objects. For example:
523
- # "gs://bucket_name/object_name_prefix". Each object uri is in format:
524
- # "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
525
- # contains assets for that type. <shard number> starts from 0. For example:
526
- # "gs://bucket_name/object_name_prefix/google.compute.disk/0" is the first
527
- # shard of output objects containing all google.compute.disk assets.
528
- # An INVALID_ARGUMENT error will be returned if file with the same name
529
- # "gs://bucket_name/object_name_prefix" already exists.
411
+ # The uri prefix of all generated Cloud Storage objects. For example: "gs://
412
+ # bucket_name/object_name_prefix". Each object uri is in format: "gs://
413
+ # bucket_name/object_name_prefix// and only contains assets for that type.
414
+ # starts from 0. For example: "gs://bucket_name/object_name_prefix/google.
415
+ # compute.disk/0" is the first shard of output objects containing all google.
416
+ # compute.disk assets. An INVALID_ARGUMENT error will be returned if file with
417
+ # the same name "gs://bucket_name/object_name_prefix" already exists.
530
418
  # Corresponds to the JSON property `uriPrefix`
531
419
  # @return [String]
532
420
  attr_accessor :uri_prefix
@@ -547,45 +435,29 @@ module Google
547
435
  class GoogleCloudOrgpolicyV1BooleanPolicy
548
436
  include Google::Apis::Core::Hashable
549
437
 
550
- # If `true`, then the `Policy` is enforced. If `false`, then any
551
- # configuration is acceptable.
552
- # Suppose you have a `Constraint`
553
- # `constraints/compute.disableSerialPortAccess` with `constraint_default`
554
- # set to `ALLOW`. A `Policy` for that `Constraint` exhibits the following
555
- # behavior:
556
- # - If the `Policy` at this resource has enforced set to `false`, serial
557
- # port connection attempts will be allowed.
558
- # - If the `Policy` at this resource has enforced set to `true`, serial
559
- # port connection attempts will be refused.
560
- # - If the `Policy` at this resource is `RestoreDefault`, serial port
561
- # connection attempts will be allowed.
562
- # - If no `Policy` is set at this resource or anywhere higher in the
563
- # resource hierarchy, serial port connection attempts will be allowed.
564
- # - If no `Policy` is set at this resource, but one exists higher in the
565
- # resource hierarchy, the behavior is as if the`Policy` were set at
566
- # this resource.
567
- # The following examples demonstrate the different possible layerings:
568
- # Example 1 (nearest `Constraint` wins):
569
- # `organizations/foo` has a `Policy` with:
570
- # `enforced: false`
571
- # `projects/bar` has no `Policy` set.
572
- # The constraint at `projects/bar` and `organizations/foo` will not be
573
- # enforced.
574
- # Example 2 (enforcement gets replaced):
575
- # `organizations/foo` has a `Policy` with:
576
- # `enforced: false`
577
- # `projects/bar` has a `Policy` with:
578
- # `enforced: true`
579
- # The constraint at `organizations/foo` is not enforced.
580
- # The constraint at `projects/bar` is enforced.
581
- # Example 3 (RestoreDefault):
582
- # `organizations/foo` has a `Policy` with:
583
- # `enforced: true`
584
- # `projects/bar` has a `Policy` with:
585
- # `RestoreDefault: ```
586
- # The constraint at `organizations/foo` is enforced.
587
- # The constraint at `projects/bar` is not enforced, because
588
- # `constraint_default` for the `Constraint` is `ALLOW`.
438
+ # If `true`, then the `Policy` is enforced. If `false`, then any configuration
439
+ # is acceptable. Suppose you have a `Constraint` `constraints/compute.
440
+ # disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy`
441
+ # for that `Constraint` exhibits the following behavior: - If the `Policy` at
442
+ # this resource has enforced set to `false`, serial port connection attempts
443
+ # will be allowed. - If the `Policy` at this resource has enforced set to `true`,
444
+ # serial port connection attempts will be refused. - If the `Policy` at this
445
+ # resource is `RestoreDefault`, serial port connection attempts will be allowed.
446
+ # - If no `Policy` is set at this resource or anywhere higher in the resource
447
+ # hierarchy, serial port connection attempts will be allowed. - If no `Policy`
448
+ # is set at this resource, but one exists higher in the resource hierarchy, the
449
+ # behavior is as if the`Policy` were set at this resource. The following
450
+ # examples demonstrate the different possible layerings: Example 1 (nearest `
451
+ # Constraint` wins): `organizations/foo` has a `Policy` with: `enforced: false` `
452
+ # projects/bar` has no `Policy` set. The constraint at `projects/bar` and `
453
+ # organizations/foo` will not be enforced. Example 2 (enforcement gets replaced):
454
+ # `organizations/foo` has a `Policy` with: `enforced: false` `projects/bar` has
455
+ # a `Policy` with: `enforced: true` The constraint at `organizations/foo` is not
456
+ # enforced. The constraint at `projects/bar` is enforced. Example 3 (
457
+ # RestoreDefault): `organizations/foo` has a `Policy` with: `enforced: true` `
458
+ # projects/bar` has a `Policy` with: `RestoreDefault: ``` The constraint at `
459
+ # organizations/foo` is enforced. The constraint at `projects/bar` is not
460
+ # enforced, because `constraint_default` for the `Constraint` is `ALLOW`.
589
461
  # Corresponds to the JSON property `enforced`
590
462
  # @return [Boolean]
591
463
  attr_accessor :enforced
@@ -601,26 +473,22 @@ module Google
601
473
  end
602
474
  end
603
475
 
604
- # Used in `policy_type` to specify how `list_policy` behaves at this
605
- # resource.
606
- # `ListPolicy` can define specific values and subtrees of Cloud Resource
607
- # Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that
608
- # are allowed or denied by setting the `allowed_values` and `denied_values`
609
- # fields. This is achieved by using the `under:` and optional `is:` prefixes.
610
- # The `under:` prefix is used to denote resource subtree values.
611
- # The `is:` prefix is used to denote specific values, and is required only
612
- # if the value contains a ":". Values prefixed with "is:" are treated the
613
- # same as values with no prefix.
614
- # Ancestry subtrees must be in one of the following formats:
615
- # - "projects/<project-id>", e.g. "projects/tokyo-rain-123"
616
- # - "folders/<folder-id>", e.g. "folders/1234"
617
- # - "organizations/<organization-id>", e.g. "organizations/1234"
618
- # The `supports_under` field of the associated `Constraint` defines whether
619
- # ancestry prefixes can be used. You can set `allowed_values` and
620
- # `denied_values` in the same `Policy` if `all_values` is
621
- # `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
622
- # values. If `all_values` is set to either `ALLOW` or `DENY`,
623
- # `allowed_values` and `denied_values` must be unset.
476
+ # Used in `policy_type` to specify how `list_policy` behaves at this resource. `
477
+ # ListPolicy` can define specific values and subtrees of Cloud Resource Manager
478
+ # resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
479
+ # or denied by setting the `allowed_values` and `denied_values` fields. This is
480
+ # achieved by using the `under:` and optional `is:` prefixes. The `under:`
481
+ # prefix is used to denote resource subtree values. The `is:` prefix is used to
482
+ # denote specific values, and is required only if the value contains a ":".
483
+ # Values prefixed with "is:" are treated the same as values with no prefix.
484
+ # Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
485
+ # "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
486
+ # e.g. "organizations/1234" The `supports_under` field of the associated `
487
+ # Constraint` defines whether ancestry prefixes can be used. You can set `
488
+ # allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
489
+ # ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
490
+ # values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
491
+ # and `denied_values` must be unset.
624
492
  class GoogleCloudOrgpolicyV1ListPolicy
625
493
  include Google::Apis::Core::Hashable
626
494
 
@@ -629,112 +497,83 @@ module Google
629
497
  # @return [String]
630
498
  attr_accessor :all_values
631
499
 
632
- # List of values allowed at this resource. Can only be set if `all_values`
633
- # is set to `ALL_VALUES_UNSPECIFIED`.
500
+ # List of values allowed at this resource. Can only be set if `all_values` is
501
+ # set to `ALL_VALUES_UNSPECIFIED`.
634
502
  # Corresponds to the JSON property `allowedValues`
635
503
  # @return [Array<String>]
636
504
  attr_accessor :allowed_values
637
505
 
638
- # List of values denied at this resource. Can only be set if `all_values`
639
- # is set to `ALL_VALUES_UNSPECIFIED`.
506
+ # List of values denied at this resource. Can only be set if `all_values` is set
507
+ # to `ALL_VALUES_UNSPECIFIED`.
640
508
  # Corresponds to the JSON property `deniedValues`
641
509
  # @return [Array<String>]
642
510
  attr_accessor :denied_values
643
511
 
644
- # Determines the inheritance behavior for this `Policy`.
645
- # By default, a `ListPolicy` set at a resource supersedes any `Policy` set
646
- # anywhere up the resource hierarchy. However, if `inherit_from_parent` is
647
- # set to `true`, then the values from the effective `Policy` of the parent
648
- # resource are inherited, meaning the values set in this `Policy` are
649
- # added to the values inherited up the hierarchy.
650
- # Setting `Policy` hierarchies that inherit both allowed values and denied
651
- # values isn't recommended in most circumstances to keep the configuration
652
- # simple and understandable. However, it is possible to set a `Policy` with
653
- # `allowed_values` set that inherits a `Policy` with `denied_values` set.
654
- # In this case, the values that are allowed must be in `allowed_values` and
655
- # not present in `denied_values`.
656
- # For example, suppose you have a `Constraint`
657
- # `constraints/serviceuser.services`, which has a `constraint_type` of
658
- # `list_constraint`, and with `constraint_default` set to `ALLOW`.
659
- # Suppose that at the Organization level, a `Policy` is applied that
660
- # restricts the allowed API activations to ``E1`, `E2``. Then, if a
661
- # `Policy` is applied to a project below the Organization that has
662
- # `inherit_from_parent` set to `false` and field all_values set to DENY,
663
- # then an attempt to activate any API will be denied.
664
- # The following examples demonstrate different possible layerings for
665
- # `projects/bar` parented by `organizations/foo`:
666
- # Example 1 (no inherited values):
667
- # `organizations/foo` has a `Policy` with values:
668
- # `allowed_values: "E1" allowed_values:"E2"`
669
- # `projects/bar` has `inherit_from_parent` `false` and values:
670
- # `allowed_values: "E3" allowed_values: "E4"`
671
- # The accepted values at `organizations/foo` are `E1`, `E2`.
672
- # The accepted values at `projects/bar` are `E3`, and `E4`.
673
- # Example 2 (inherited values):
674
- # `organizations/foo` has a `Policy` with values:
675
- # `allowed_values: "E1" allowed_values:"E2"`
676
- # `projects/bar` has a `Policy` with values:
677
- # `value: "E3" value: "E4" inherit_from_parent: true`
678
- # The accepted values at `organizations/foo` are `E1`, `E2`.
679
- # The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.
680
- # Example 3 (inheriting both allowed and denied values):
681
- # `organizations/foo` has a `Policy` with values:
682
- # `allowed_values: "E1" allowed_values: "E2"`
683
- # `projects/bar` has a `Policy` with:
684
- # `denied_values: "E1"`
685
- # The accepted values at `organizations/foo` are `E1`, `E2`.
686
- # The value accepted at `projects/bar` is `E2`.
687
- # Example 4 (RestoreDefault):
688
- # `organizations/foo` has a `Policy` with values:
689
- # `allowed_values: "E1" allowed_values:"E2"`
690
- # `projects/bar` has a `Policy` with values:
691
- # `RestoreDefault: ```
692
- # The accepted values at `organizations/foo` are `E1`, `E2`.
693
- # The accepted values at `projects/bar` are either all or none depending on
694
- # the value of `constraint_default` (if `ALLOW`, all; if
695
- # `DENY`, none).
696
- # Example 5 (no policy inherits parent policy):
697
- # `organizations/foo` has no `Policy` set.
698
- # `projects/bar` has no `Policy` set.
699
- # The accepted values at both levels are either all or none depending on
700
- # the value of `constraint_default` (if `ALLOW`, all; if
701
- # `DENY`, none).
702
- # Example 6 (ListConstraint allowing all):
703
- # `organizations/foo` has a `Policy` with values:
704
- # `allowed_values: "E1" allowed_values: "E2"`
705
- # `projects/bar` has a `Policy` with:
706
- # `all: ALLOW`
707
- # The accepted values at `organizations/foo` are `E1`, E2`.
708
- # Any value is accepted at `projects/bar`.
709
- # Example 7 (ListConstraint allowing none):
710
- # `organizations/foo` has a `Policy` with values:
711
- # `allowed_values: "E1" allowed_values: "E2"`
712
- # `projects/bar` has a `Policy` with:
713
- # `all: DENY`
714
- # The accepted values at `organizations/foo` are `E1`, E2`.
715
- # No value is accepted at `projects/bar`.
716
- # Example 10 (allowed and denied subtrees of Resource Manager hierarchy):
717
- # Given the following resource hierarchy
718
- # O1->`F1, F2`; F1->`P1`; F2->`P2, P3`,
719
- # `organizations/foo` has a `Policy` with values:
720
- # `allowed_values: "under:organizations/O1"`
721
- # `projects/bar` has a `Policy` with:
722
- # `allowed_values: "under:projects/P3"`
723
- # `denied_values: "under:folders/F2"`
724
- # The accepted values at `organizations/foo` are `organizations/O1`,
725
- # `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,
726
- # `projects/P3`.
727
- # The accepted values at `projects/bar` are `organizations/O1`,
728
- # `folders/F1`, `projects/P1`.
512
+ # Determines the inheritance behavior for this `Policy`. By default, a `
513
+ # ListPolicy` set at a resource supersedes any `Policy` set anywhere up the
514
+ # resource hierarchy. However, if `inherit_from_parent` is set to `true`, then
515
+ # the values from the effective `Policy` of the parent resource are inherited,
516
+ # meaning the values set in this `Policy` are added to the values inherited up
517
+ # the hierarchy. Setting `Policy` hierarchies that inherit both allowed values
518
+ # and denied values isn't recommended in most circumstances to keep the
519
+ # configuration simple and understandable. However, it is possible to set a `
520
+ # Policy` with `allowed_values` set that inherits a `Policy` with `denied_values`
521
+ # set. In this case, the values that are allowed must be in `allowed_values`
522
+ # and not present in `denied_values`. For example, suppose you have a `
523
+ # Constraint` `constraints/serviceuser.services`, which has a `constraint_type`
524
+ # of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose
525
+ # that at the Organization level, a `Policy` is applied that restricts the
526
+ # allowed API activations to ``E1`, `E2``. Then, if a `Policy` is applied to a
527
+ # project below the Organization that has `inherit_from_parent` set to `false`
528
+ # and field all_values set to DENY, then an attempt to activate any API will be
529
+ # denied. The following examples demonstrate different possible layerings for `
530
+ # projects/bar` parented by `organizations/foo`: Example 1 (no inherited values):
531
+ # `organizations/foo` has a `Policy` with values: `allowed_values: "E1"
532
+ # allowed_values:"E2"` `projects/bar` has `inherit_from_parent` `false` and
533
+ # values: `allowed_values: "E3" allowed_values: "E4"` The accepted values at `
534
+ # organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `
535
+ # E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy`
536
+ # with values: `allowed_values: "E1" allowed_values:"E2"` `projects/bar` has a `
537
+ # Policy` with values: `value: "E3" value: "E4" inherit_from_parent: true` The
538
+ # accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `
539
+ # projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both
540
+ # allowed and denied values): `organizations/foo` has a `Policy` with values: `
541
+ # allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `Policy` with:
542
+ # `denied_values: "E1"` The accepted values at `organizations/foo` are `E1`, `E2`
543
+ # . The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `
544
+ # organizations/foo` has a `Policy` with values: `allowed_values: "E1"
545
+ # allowed_values:"E2"` `projects/bar` has a `Policy` with values: `
546
+ # RestoreDefault: ``` The accepted values at `organizations/foo` are `E1`, `E2`.
547
+ # The accepted values at `projects/bar` are either all or none depending on the
548
+ # value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (
549
+ # no policy inherits parent policy): `organizations/foo` has no `Policy` set. `
550
+ # projects/bar` has no `Policy` set. The accepted values at both levels are
551
+ # either all or none depending on the value of `constraint_default` (if `ALLOW`,
552
+ # all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/
553
+ # foo` has a `Policy` with values: `allowed_values: "E1" allowed_values: "E2"` `
554
+ # projects/bar` has a `Policy` with: `all: ALLOW` The accepted values at `
555
+ # organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`.
556
+ # Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy`
557
+ # with values: `allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `
558
+ # Policy` with: `all: DENY` The accepted values at `organizations/foo` are `E1`,
559
+ # E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied
560
+ # subtrees of Resource Manager hierarchy): Given the following resource
561
+ # hierarchy O1->`F1, F2`; F1->`P1`; F2->`P2, P3`, `organizations/foo` has a `
562
+ # Policy` with values: `allowed_values: "under:organizations/O1"` `projects/bar`
563
+ # has a `Policy` with: `allowed_values: "under:projects/P3"` `denied_values: "
564
+ # under:folders/F2"` The accepted values at `organizations/foo` are `
565
+ # organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `
566
+ # projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `
567
+ # folders/F1`, `projects/P1`.
729
568
  # Corresponds to the JSON property `inheritFromParent`
730
569
  # @return [Boolean]
731
570
  attr_accessor :inherit_from_parent
732
571
  alias_method :inherit_from_parent?, :inherit_from_parent
733
572
 
734
- # Optional. The Google Cloud Console will try to default to a configuration
735
- # that matches the value specified in this `Policy`. If `suggested_value`
736
- # is not set, it will inherit the value specified higher in the hierarchy,
737
- # unless `inherit_from_parent` is `false`.
573
+ # Optional. The Google Cloud Console will try to default to a configuration that
574
+ # matches the value specified in this `Policy`. If `suggested_value` is not set,
575
+ # it will inherit the value specified higher in the hierarchy, unless `
576
+ # inherit_from_parent` is `false`.
738
577
  # Corresponds to the JSON property `suggestedValue`
739
578
  # @return [String]
740
579
  attr_accessor :suggested_value
@@ -764,76 +603,65 @@ module Google
764
603
  # @return [Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1BooleanPolicy]
765
604
  attr_accessor :boolean_policy
766
605
 
767
- # The name of the `Constraint` the `Policy` is configuring, for example,
768
- # `constraints/serviceuser.services`.
769
- # A [list of available
770
- # constraints](/resource-manager/docs/organization-policy/org-policy-constraints)
771
- # is available.
606
+ # The name of the `Constraint` the `Policy` is configuring, for example, `
607
+ # constraints/serviceuser.services`. A [list of available constraints](/resource-
608
+ # manager/docs/organization-policy/org-policy-constraints) is available.
772
609
  # Immutable after creation.
773
610
  # Corresponds to the JSON property `constraint`
774
611
  # @return [String]
775
612
  attr_accessor :constraint
776
613
 
777
614
  # An opaque tag indicating the current version of the `Policy`, used for
778
- # concurrency control.
779
- # When the `Policy` is returned from either a `GetPolicy` or a
780
- # `ListOrgPolicy` request, this `etag` indicates the version of the current
781
- # `Policy` to use when executing a read-modify-write loop.
782
- # When the `Policy` is returned from a `GetEffectivePolicy` request, the
783
- # `etag` will be unset.
784
- # When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value
785
- # that was returned from a `GetOrgPolicy` request as part of a
786
- # read-modify-write loop for concurrency control. Not setting the `etag`in a
787
- # `SetOrgPolicy` request will result in an unconditional write of the
788
- # `Policy`.
615
+ # concurrency control. When the `Policy` is returned from either a `GetPolicy`
616
+ # or a `ListOrgPolicy` request, this `etag` indicates the version of the current
617
+ # `Policy` to use when executing a read-modify-write loop. When the `Policy` is
618
+ # returned from a `GetEffectivePolicy` request, the `etag` will be unset. When
619
+ # the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was
620
+ # returned from a `GetOrgPolicy` request as part of a read-modify-write loop for
621
+ # concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will
622
+ # result in an unconditional write of the `Policy`.
789
623
  # Corresponds to the JSON property `etag`
790
624
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
791
625
  # @return [String]
792
626
  attr_accessor :etag
793
627
 
794
- # Used in `policy_type` to specify how `list_policy` behaves at this
795
- # resource.
796
- # `ListPolicy` can define specific values and subtrees of Cloud Resource
797
- # Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that
798
- # are allowed or denied by setting the `allowed_values` and `denied_values`
799
- # fields. This is achieved by using the `under:` and optional `is:` prefixes.
800
- # The `under:` prefix is used to denote resource subtree values.
801
- # The `is:` prefix is used to denote specific values, and is required only
802
- # if the value contains a ":". Values prefixed with "is:" are treated the
803
- # same as values with no prefix.
804
- # Ancestry subtrees must be in one of the following formats:
805
- # - "projects/<project-id>", e.g. "projects/tokyo-rain-123"
806
- # - "folders/<folder-id>", e.g. "folders/1234"
807
- # - "organizations/<organization-id>", e.g. "organizations/1234"
808
- # The `supports_under` field of the associated `Constraint` defines whether
809
- # ancestry prefixes can be used. You can set `allowed_values` and
810
- # `denied_values` in the same `Policy` if `all_values` is
811
- # `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
812
- # values. If `all_values` is set to either `ALLOW` or `DENY`,
813
- # `allowed_values` and `denied_values` must be unset.
628
+ # Used in `policy_type` to specify how `list_policy` behaves at this resource. `
629
+ # ListPolicy` can define specific values and subtrees of Cloud Resource Manager
630
+ # resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
631
+ # or denied by setting the `allowed_values` and `denied_values` fields. This is
632
+ # achieved by using the `under:` and optional `is:` prefixes. The `under:`
633
+ # prefix is used to denote resource subtree values. The `is:` prefix is used to
634
+ # denote specific values, and is required only if the value contains a ":".
635
+ # Values prefixed with "is:" are treated the same as values with no prefix.
636
+ # Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
637
+ # "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
638
+ # e.g. "organizations/1234" The `supports_under` field of the associated `
639
+ # Constraint` defines whether ancestry prefixes can be used. You can set `
640
+ # allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
641
+ # ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
642
+ # values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
643
+ # and `denied_values` must be unset.
814
644
  # Corresponds to the JSON property `listPolicy`
815
645
  # @return [Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1ListPolicy]
816
646
  attr_accessor :list_policy
817
647
 
818
- # Ignores policies set above this resource and restores the
819
- # `constraint_default` enforcement behavior of the specific `Constraint` at
820
- # this resource.
821
- # Suppose that `constraint_default` is set to `ALLOW` for the
822
- # `Constraint` `constraints/serviceuser.services`. Suppose that organization
823
- # foo.com sets a `Policy` at their Organization resource node that restricts
824
- # the allowed service activations to deny all service activations. They
825
- # could then set a `Policy` with the `policy_type` `restore_default` on
826
- # several experimental projects, restoring the `constraint_default`
827
- # enforcement of the `Constraint` for only those projects, allowing those
828
- # projects to have all services activated.
648
+ # Ignores policies set above this resource and restores the `constraint_default`
649
+ # enforcement behavior of the specific `Constraint` at this resource. Suppose
650
+ # that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
651
+ # serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
652
+ # their Organization resource node that restricts the allowed service
653
+ # activations to deny all service activations. They could then set a `Policy`
654
+ # with the `policy_type` `restore_default` on several experimental projects,
655
+ # restoring the `constraint_default` enforcement of the `Constraint` for only
656
+ # those projects, allowing those projects to have all services activated.
829
657
  # Corresponds to the JSON property `restoreDefault`
830
658
  # @return [Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1RestoreDefault]
831
659
  attr_accessor :restore_default
832
660
 
833
- # The time stamp the `Policy` was previously updated. This is set by the
834
- # server, not specified by the caller, and represents the last time a call to
835
- # `SetOrgPolicy` was made for that `Policy`. Any value set by the client will
836
- # be ignored.
661
+ # The time stamp the `Policy` was previously updated. This is set by the server,
662
+ # not specified by the caller, and represents the last time a call to `
663
+ # SetOrgPolicy` was made for that `Policy`. Any value set by the client will be
664
+ # ignored.
837
665
  # Corresponds to the JSON property `updateTime`
838
666
  # @return [String]
839
667
  attr_accessor :update_time
@@ -859,17 +687,15 @@ module Google
859
687
  end
860
688
  end
861
689
 
862
- # Ignores policies set above this resource and restores the
863
- # `constraint_default` enforcement behavior of the specific `Constraint` at
864
- # this resource.
865
- # Suppose that `constraint_default` is set to `ALLOW` for the
866
- # `Constraint` `constraints/serviceuser.services`. Suppose that organization
867
- # foo.com sets a `Policy` at their Organization resource node that restricts
868
- # the allowed service activations to deny all service activations. They
869
- # could then set a `Policy` with the `policy_type` `restore_default` on
870
- # several experimental projects, restoring the `constraint_default`
871
- # enforcement of the `Constraint` for only those projects, allowing those
872
- # projects to have all services activated.
690
+ # Ignores policies set above this resource and restores the `constraint_default`
691
+ # enforcement behavior of the specific `Constraint` at this resource. Suppose
692
+ # that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
693
+ # serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
694
+ # their Organization resource node that restricts the allowed service
695
+ # activations to deny all service activations. They could then set a `Policy`
696
+ # with the `policy_type` `restore_default` on several experimental projects,
697
+ # restoring the `constraint_default` enforcement of the `Constraint` for only
698
+ # those projects, allowing those projects to have all services activated.
873
699
  class GoogleCloudOrgpolicyV1RestoreDefault
874
700
  include Google::Apis::Core::Hashable
875
701
 
@@ -894,8 +720,8 @@ module Google
894
720
  attr_accessor :basic
895
721
 
896
722
  # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
897
- # to represent the necessary conditions for the level to apply to a request.
898
- # See CEL spec at: https://github.com/google/cel-spec
723
+ # to represent the necessary conditions for the level to apply to a request. See
724
+ # CEL spec at: https://github.com/google/cel-spec
899
725
  # Corresponds to the JSON property `custom`
900
726
  # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1CustomLevel]
901
727
  attr_accessor :custom
@@ -905,10 +731,10 @@ module Google
905
731
  # @return [String]
906
732
  attr_accessor :description
907
733
 
908
- # Required. Resource name for the Access Level. The `short_name` component
909
- # must begin with a letter and only include alphanumeric and '_'. Format:
910
- # `accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length
911
- # of the `short_name` component is 50 characters.
734
+ # Required. Resource name for the Access Level. The `short_name` component must
735
+ # begin with a letter and only include alphanumeric and '_'. Format: `
736
+ # accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length of
737
+ # the `short_name` component is 50 characters.
912
738
  # Corresponds to the JSON property `name`
913
739
  # @return [String]
914
740
  attr_accessor :name
@@ -933,30 +759,29 @@ module Google
933
759
  end
934
760
 
935
761
  # `AccessPolicy` is a container for `AccessLevels` (which define the necessary
936
- # attributes to use Google Cloud services) and `ServicePerimeters` (which
937
- # define regions of services able to freely pass data within a perimeter). An
938
- # access policy is globally visible within an organization, and the
939
- # restrictions it specifies apply to all projects within an organization.
762
+ # attributes to use Google Cloud services) and `ServicePerimeters` (which define
763
+ # regions of services able to freely pass data within a perimeter). An access
764
+ # policy is globally visible within an organization, and the restrictions it
765
+ # specifies apply to all projects within an organization.
940
766
  class GoogleIdentityAccesscontextmanagerV1AccessPolicy
941
767
  include Google::Apis::Core::Hashable
942
768
 
943
- # Output only. An opaque identifier for the current version of the
944
- # `AccessPolicy`. This will always be a strongly validated etag, meaning that
945
- # two Access Polices will be identical if and only if their etags are
946
- # identical. Clients should not expect this to be in any specific format.
769
+ # Output only. An opaque identifier for the current version of the `AccessPolicy`
770
+ # . This will always be a strongly validated etag, meaning that two Access
771
+ # Polices will be identical if and only if their etags are identical. Clients
772
+ # should not expect this to be in any specific format.
947
773
  # Corresponds to the JSON property `etag`
948
774
  # @return [String]
949
775
  attr_accessor :etag
950
776
 
951
- # Output only. Resource name of the `AccessPolicy`. Format:
952
- # `accessPolicies/`policy_id``
777
+ # Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/`
778
+ # policy_id``
953
779
  # Corresponds to the JSON property `name`
954
780
  # @return [String]
955
781
  attr_accessor :name
956
782
 
957
- # Required. The parent of this `AccessPolicy` in the Cloud Resource
958
- # Hierarchy. Currently immutable once created. Format:
959
- # `organizations/`organization_id``
783
+ # Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy.
784
+ # Currently immutable once created. Format: `organizations/`organization_id``
960
785
  # Corresponds to the JSON property `parent`
961
786
  # @return [String]
962
787
  attr_accessor :parent
@@ -984,10 +809,10 @@ module Google
984
809
  include Google::Apis::Core::Hashable
985
810
 
986
811
  # How the `conditions` list should be combined to determine if a request is
987
- # granted this `AccessLevel`. If AND is used, each `Condition` in
988
- # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
989
- # is used, at least one `Condition` in `conditions` must be satisfied for the
990
- # `AccessLevel` to be applied. Default behavior is AND.
812
+ # granted this `AccessLevel`. If AND is used, each `Condition` in `conditions`
813
+ # must be satisfied for the `AccessLevel` to be applied. If OR is used, at least
814
+ # one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be
815
+ # applied. Default behavior is AND.
991
816
  # Corresponds to the JSON property `combiningFunction`
992
817
  # @return [String]
993
818
  attr_accessor :combining_function
@@ -1021,54 +846,48 @@ module Google
1021
846
  # devices to be granted access levels, it does not do any enforcement on the
1022
847
  # device. `DevicePolicy` acts as an AND over all specified fields, and each
1023
848
  # repeated field is an OR over its elements. Any unset fields are ignored. For
1024
- # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
1025
- # DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
1026
- # true for requests originating from encrypted Linux desktops and encrypted
1027
- # Windows desktops.
849
+ # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
850
+ # encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
851
+ # originating from encrypted Linux desktops and encrypted Windows desktops.
1028
852
  # Corresponds to the JSON property `devicePolicy`
1029
853
  # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1DevicePolicy]
1030
854
  attr_accessor :device_policy
1031
855
 
1032
- # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
1033
- # a CIDR IP address block, the specified IP address portion must be properly
856
+ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a
857
+ # CIDR IP address block, the specified IP address portion must be properly
1034
858
  # truncated (i.e. all the host bits must be zero) or the input is considered
1035
- # malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is
1036
- # not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas
1037
- # "2001:db8::1/32" is not. The originating IP of a request must be in one of
1038
- # the listed subnets in order for this Condition to be true. If empty, all IP
1039
- # addresses are allowed.
859
+ # malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not.
860
+ # Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is
861
+ # not. The originating IP of a request must be in one of the listed subnets in
862
+ # order for this Condition to be true. If empty, all IP addresses are allowed.
1040
863
  # Corresponds to the JSON property `ipSubnetworks`
1041
864
  # @return [Array<String>]
1042
865
  attr_accessor :ip_subnetworks
1043
866
 
1044
- # The request must be made by one of the provided user or service
1045
- # accounts. Groups are not supported.
1046
- # Syntax:
1047
- # `user:`emailid``
1048
- # `serviceAccount:`emailid``
867
+ # The request must be made by one of the provided user or service accounts.
868
+ # Groups are not supported. Syntax: `user:`emailid`` `serviceAccount:`emailid``
1049
869
  # If not specified, a request may come from any user.
1050
870
  # Corresponds to the JSON property `members`
1051
871
  # @return [Array<String>]
1052
872
  attr_accessor :members
1053
873
 
1054
874
  # Whether to negate the Condition. If true, the Condition becomes a NAND over
1055
- # its non-empty fields, each field must be false for the Condition overall to
1056
- # be satisfied. Defaults to false.
875
+ # its non-empty fields, each field must be false for the Condition overall to be
876
+ # satisfied. Defaults to false.
1057
877
  # Corresponds to the JSON property `negate`
1058
878
  # @return [Boolean]
1059
879
  attr_accessor :negate
1060
880
  alias_method :negate?, :negate
1061
881
 
1062
- # The request must originate from one of the provided countries/regions.
1063
- # Must be valid ISO 3166-1 alpha-2 codes.
882
+ # The request must originate from one of the provided countries/regions. Must be
883
+ # valid ISO 3166-1 alpha-2 codes.
1064
884
  # Corresponds to the JSON property `regions`
1065
885
  # @return [Array<String>]
1066
886
  attr_accessor :regions
1067
887
 
1068
888
  # A list of other access levels defined in the same `Policy`, referenced by
1069
- # resource name. Referencing an `AccessLevel` which does not exist is an
1070
- # error. All access levels listed must be granted for the Condition
1071
- # to be true. Example:
889
+ # resource name. Referencing an `AccessLevel` which does not exist is an error.
890
+ # All access levels listed must be granted for the Condition to be true. Example:
1072
891
  # "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"`
1073
892
  # Corresponds to the JSON property `requiredAccessLevels`
1074
893
  # @return [Array<String>]
@@ -1090,33 +909,26 @@ module Google
1090
909
  end
1091
910
 
1092
911
  # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
1093
- # to represent the necessary conditions for the level to apply to a request.
1094
- # See CEL spec at: https://github.com/google/cel-spec
912
+ # to represent the necessary conditions for the level to apply to a request. See
913
+ # CEL spec at: https://github.com/google/cel-spec
1095
914
  class GoogleIdentityAccesscontextmanagerV1CustomLevel
1096
915
  include Google::Apis::Core::Hashable
1097
916
 
1098
- # Represents a textual expression in the Common Expression Language (CEL)
1099
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
1100
- # are documented at https://github.com/google/cel-spec.
1101
- # Example (Comparison):
1102
- # title: "Summary size limit"
1103
- # description: "Determines if a summary is less than 100 chars"
1104
- # expression: "document.summary.size() < 100"
1105
- # Example (Equality):
1106
- # title: "Requestor is owner"
1107
- # description: "Determines if requestor is the document owner"
1108
- # expression: "document.owner == request.auth.claims.email"
1109
- # Example (Logic):
1110
- # title: "Public documents"
1111
- # description: "Determine whether the document should be publicly visible"
1112
- # expression: "document.type != 'private' && document.type != 'internal'"
1113
- # Example (Data Manipulation):
1114
- # title: "Notification string"
1115
- # description: "Create a notification string with a timestamp."
1116
- # expression: "'New message received at ' + string(document.create_time)"
1117
- # The exact variables and functions that may be referenced within an expression
1118
- # are determined by the service that evaluates it. See the service
1119
- # documentation for additional information.
917
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
918
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
919
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
920
+ # "Summary size limit" description: "Determines if a summary is less than 100
921
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
922
+ # Requestor is owner" description: "Determines if requestor is the document
923
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
924
+ # Logic): title: "Public documents" description: "Determine whether the document
925
+ # should be publicly visible" expression: "document.type != 'private' &&
926
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
927
+ # string" description: "Create a notification string with a timestamp."
928
+ # expression: "'New message received at ' + string(document.create_time)" The
929
+ # exact variables and functions that may be referenced within an expression are
930
+ # determined by the service that evaluates it. See the service documentation for
931
+ # additional information.
1120
932
  # Corresponds to the JSON property `expr`
1121
933
  # @return [Google::Apis::CloudassetV1beta1::Expr]
1122
934
  attr_accessor :expr
@@ -1136,15 +948,13 @@ module Google
1136
948
  # devices to be granted access levels, it does not do any enforcement on the
1137
949
  # device. `DevicePolicy` acts as an AND over all specified fields, and each
1138
950
  # repeated field is an OR over its elements. Any unset fields are ignored. For
1139
- # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
1140
- # DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
1141
- # true for requests originating from encrypted Linux desktops and encrypted
1142
- # Windows desktops.
951
+ # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
952
+ # encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
953
+ # originating from encrypted Linux desktops and encrypted Windows desktops.
1143
954
  class GoogleIdentityAccesscontextmanagerV1DevicePolicy
1144
955
  include Google::Apis::Core::Hashable
1145
956
 
1146
- # Allowed device management levels, an empty list allows all management
1147
- # levels.
957
+ # Allowed device management levels, an empty list allows all management levels.
1148
958
  # Corresponds to the JSON property `allowedDeviceManagementLevels`
1149
959
  # @return [Array<String>]
1150
960
  attr_accessor :allowed_device_management_levels
@@ -1197,9 +1007,9 @@ module Google
1197
1007
  class GoogleIdentityAccesscontextmanagerV1OsConstraint
1198
1008
  include Google::Apis::Core::Hashable
1199
1009
 
1200
- # The minimum allowed OS version. If not set, any version of this OS
1201
- # satisfies the constraint. Format: `"major.minor.patch"`.
1202
- # Examples: `"10.5.301"`, `"9.2.1"`.
1010
+ # The minimum allowed OS version. If not set, any version of this OS satisfies
1011
+ # the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"
1012
+ # `.
1203
1013
  # Corresponds to the JSON property `minimumVersion`
1204
1014
  # @return [String]
1205
1015
  attr_accessor :minimum_version
@@ -1209,10 +1019,10 @@ module Google
1209
1019
  # @return [String]
1210
1020
  attr_accessor :os_type
1211
1021
 
1212
- # Only allows requests from devices with a verified Chrome OS.
1213
- # Verifications includes requirements that the device is enterprise-managed,
1214
- # conformant to domain policies, and the caller has permission to call
1215
- # the API targeted by the request.
1022
+ # Only allows requests from devices with a verified Chrome OS. Verifications
1023
+ # includes requirements that the device is enterprise-managed, conformant to
1024
+ # domain policies, and the caller has permission to call the API targeted by the
1025
+ # request.
1216
1026
  # Corresponds to the JSON property `requireVerifiedChromeOs`
1217
1027
  # @return [Boolean]
1218
1028
  attr_accessor :require_verified_chrome_os
@@ -1231,37 +1041,34 @@ module Google
1231
1041
  end
1232
1042
 
1233
1043
  # `ServicePerimeter` describes a set of Google Cloud resources which can freely
1234
- # import and export data amongst themselves, but not export outside of the
1235
- # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
1044
+ # import and export data amongst themselves, but not export outside of the `
1045
+ # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
1236
1046
  # has a target outside of the `ServicePerimeter`, the request will be blocked.
1237
1047
  # Otherwise the request is allowed. There are two types of Service Perimeter -
1238
- # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
1239
- # Google Cloud project can only belong to a single regular Service Perimeter.
1240
- # Service Perimeter Bridges can contain only Google Cloud projects as members,
1241
- # a single Google Cloud project may belong to multiple Service Perimeter
1242
- # Bridges.
1048
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
1049
+ # Cloud project can only belong to a single regular Service Perimeter. Service
1050
+ # Perimeter Bridges can contain only Google Cloud projects as members, a single
1051
+ # Google Cloud project may belong to multiple Service Perimeter Bridges.
1243
1052
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
1244
1053
  include Google::Apis::Core::Hashable
1245
1054
 
1246
- # Description of the `ServicePerimeter` and its use. Does not affect
1247
- # behavior.
1055
+ # Description of the `ServicePerimeter` and its use. Does not affect behavior.
1248
1056
  # Corresponds to the JSON property `description`
1249
1057
  # @return [String]
1250
1058
  attr_accessor :description
1251
1059
 
1252
- # Required. Resource name for the ServicePerimeter. The `short_name`
1253
- # component must begin with a letter and only include alphanumeric and '_'.
1254
- # Format: `accessPolicies/`policy_id`/servicePerimeters/`short_name``
1060
+ # Required. Resource name for the ServicePerimeter. The `short_name` component
1061
+ # must begin with a letter and only include alphanumeric and '_'. Format: `
1062
+ # accessPolicies/`policy_id`/servicePerimeters/`short_name``
1255
1063
  # Corresponds to the JSON property `name`
1256
1064
  # @return [String]
1257
1065
  attr_accessor :name
1258
1066
 
1259
- # Perimeter type indicator. A single project is
1260
- # allowed to be a member of single regular perimeter, but multiple service
1261
- # perimeter bridges. A project cannot be a included in a perimeter bridge
1262
- # without being included in regular perimeter. For perimeter bridges,
1263
- # the restricted service list as well as access level lists must be
1264
- # empty.
1067
+ # Perimeter type indicator. A single project is allowed to be a member of single
1068
+ # regular perimeter, but multiple service perimeter bridges. A project cannot be
1069
+ # a included in a perimeter bridge without being included in regular perimeter.
1070
+ # For perimeter bridges, the restricted service list as well as access level
1071
+ # lists must be empty.
1265
1072
  # Corresponds to the JSON property `perimeterType`
1266
1073
  # @return [String]
1267
1074
  attr_accessor :perimeter_type
@@ -1283,16 +1090,15 @@ module Google
1283
1090
  # @return [String]
1284
1091
  attr_accessor :title
1285
1092
 
1286
- # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly
1287
- # exists for all Service Perimeters, and that spec is identical to the
1288
- # status for those Service Perimeters. When this flag is set, it inhibits the
1289
- # generation of the implicit spec, thereby allowing the user to explicitly
1290
- # provide a configuration ("spec") to use in a dry-run version of the Service
1291
- # Perimeter. This allows the user to test changes to the enforced config
1292
- # ("status") without actually enforcing them. This testing is done through
1293
- # analyzing the differences between currently enforced and suggested
1294
- # restrictions. use_explicit_dry_run_spec must bet set to True if any of the
1295
- # fields in the spec are set to non-default values.
1093
+ # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists
1094
+ # for all Service Perimeters, and that spec is identical to the status for those
1095
+ # Service Perimeters. When this flag is set, it inhibits the generation of the
1096
+ # implicit spec, thereby allowing the user to explicitly provide a configuration
1097
+ # ("spec") to use in a dry-run version of the Service Perimeter. This allows the
1098
+ # user to test changes to the enforced config ("status") without actually
1099
+ # enforcing them. This testing is done through analyzing the differences between
1100
+ # currently enforced and suggested restrictions. use_explicit_dry_run_spec must
1101
+ # bet set to True if any of the fields in the spec are set to non-default values.
1296
1102
  # Corresponds to the JSON property `useExplicitDryRunSpec`
1297
1103
  # @return [Boolean]
1298
1104
  attr_accessor :use_explicit_dry_run_spec
@@ -1319,14 +1125,13 @@ module Google
1319
1125
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig
1320
1126
  include Google::Apis::Core::Hashable
1321
1127
 
1322
- # A list of `AccessLevel` resource names that allow resources within the
1323
- # `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
1324
- # must be in the same policy as this `ServicePerimeter`. Referencing a
1325
- # nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
1326
- # listed, resources within the perimeter can only be accessed via Google
1327
- # Cloud calls with request origins within the perimeter. Example:
1328
- # `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`.
1329
- # For Service Perimeter Bridge, must be empty.
1128
+ # A list of `AccessLevel` resource names that allow resources within the `
1129
+ # ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must
1130
+ # be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `
1131
+ # AccessLevel` is a syntax error. If no `AccessLevel` names are listed,
1132
+ # resources within the perimeter can only be accessed via Google Cloud calls
1133
+ # with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/
1134
+ # accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty.
1330
1135
  # Corresponds to the JSON property `accessLevels`
1331
1136
  # @return [Array<String>]
1332
1137
  attr_accessor :access_levels
@@ -1337,16 +1142,14 @@ module Google
1337
1142
  # @return [Array<String>]
1338
1143
  attr_accessor :resources
1339
1144
 
1340
- # Google Cloud services that are subject to the Service Perimeter
1341
- # restrictions. For example, if `storage.googleapis.com` is specified, access
1342
- # to the storage buckets inside the perimeter must meet the perimeter's
1343
- # access restrictions.
1145
+ # Google Cloud services that are subject to the Service Perimeter restrictions.
1146
+ # For example, if `storage.googleapis.com` is specified, access to the storage
1147
+ # buckets inside the perimeter must meet the perimeter's access restrictions.
1344
1148
  # Corresponds to the JSON property `restrictedServices`
1345
1149
  # @return [Array<String>]
1346
1150
  attr_accessor :restricted_services
1347
1151
 
1348
- # Specifies how APIs are allowed to communicate within the Service
1349
- # Perimeter.
1152
+ # Specifies how APIs are allowed to communicate within the Service Perimeter.
1350
1153
  # Corresponds to the JSON property `vpcAccessibleServices`
1351
1154
  # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices]
1352
1155
  attr_accessor :vpc_accessible_services
@@ -1364,21 +1167,20 @@ module Google
1364
1167
  end
1365
1168
  end
1366
1169
 
1367
- # Specifies how APIs are allowed to communicate within the Service
1368
- # Perimeter.
1170
+ # Specifies how APIs are allowed to communicate within the Service Perimeter.
1369
1171
  class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
1370
1172
  include Google::Apis::Core::Hashable
1371
1173
 
1372
- # The list of APIs usable within the Service Perimeter. Must be empty
1373
- # unless 'enable_restriction' is True. You can specify a list of individual
1374
- # services, as well as include the 'RESTRICTED-SERVICES' value, which
1375
- # automatically includes all of the services protected by the perimeter.
1174
+ # The list of APIs usable within the Service Perimeter. Must be empty unless '
1175
+ # enable_restriction' is True. You can specify a list of individual services, as
1176
+ # well as include the 'RESTRICTED-SERVICES' value, which automatically includes
1177
+ # all of the services protected by the perimeter.
1376
1178
  # Corresponds to the JSON property `allowedServices`
1377
1179
  # @return [Array<String>]
1378
1180
  attr_accessor :allowed_services
1379
1181
 
1380
- # Whether to restrict API calls within the Service Perimeter to the list of
1381
- # APIs specified in 'allowed_services'.
1182
+ # Whether to restrict API calls within the Service Perimeter to the list of APIs
1183
+ # specified in 'allowed_services'.
1382
1184
  # Corresponds to the JSON property `enableRestriction`
1383
1185
  # @return [Boolean]
1384
1186
  attr_accessor :enable_restriction
@@ -1400,47 +1202,45 @@ module Google
1400
1202
  class Operation
1401
1203
  include Google::Apis::Core::Hashable
1402
1204
 
1403
- # If the value is `false`, it means the operation is still in progress.
1404
- # If `true`, the operation is completed, and either `error` or `response` is
1405
- # available.
1205
+ # If the value is `false`, it means the operation is still in progress. If `true`
1206
+ # , the operation is completed, and either `error` or `response` is available.
1406
1207
  # Corresponds to the JSON property `done`
1407
1208
  # @return [Boolean]
1408
1209
  attr_accessor :done
1409
1210
  alias_method :done?, :done
1410
1211
 
1411
- # The `Status` type defines a logical error model that is suitable for
1412
- # different programming environments, including REST APIs and RPC APIs. It is
1413
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1414
- # three pieces of data: error code, error message, and error details.
1415
- # You can find out more about this error model and how to work with it in the
1416
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1212
+ # The `Status` type defines a logical error model that is suitable for different
1213
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1214
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1215
+ # data: error code, error message, and error details. You can find out more
1216
+ # about this error model and how to work with it in the [API Design Guide](https:
1217
+ # //cloud.google.com/apis/design/errors).
1417
1218
  # Corresponds to the JSON property `error`
1418
1219
  # @return [Google::Apis::CloudassetV1beta1::Status]
1419
1220
  attr_accessor :error
1420
1221
 
1421
- # Service-specific metadata associated with the operation. It typically
1422
- # contains progress information and common metadata such as create time.
1423
- # Some services might not provide such metadata. Any method that returns a
1424
- # long-running operation should document the metadata type, if any.
1222
+ # Service-specific metadata associated with the operation. It typically contains
1223
+ # progress information and common metadata such as create time. Some services
1224
+ # might not provide such metadata. Any method that returns a long-running
1225
+ # operation should document the metadata type, if any.
1425
1226
  # Corresponds to the JSON property `metadata`
1426
1227
  # @return [Hash<String,Object>]
1427
1228
  attr_accessor :metadata
1428
1229
 
1429
1230
  # The server-assigned name, which is only unique within the same service that
1430
- # originally returns it. If you use the default HTTP mapping, the
1431
- # `name` should be a resource name ending with `operations/`unique_id``.
1231
+ # originally returns it. If you use the default HTTP mapping, the `name` should
1232
+ # be a resource name ending with `operations/`unique_id``.
1432
1233
  # Corresponds to the JSON property `name`
1433
1234
  # @return [String]
1434
1235
  attr_accessor :name
1435
1236
 
1436
- # The normal response of the operation in case of success. If the original
1437
- # method returns no data on success, such as `Delete`, the response is
1438
- # `google.protobuf.Empty`. If the original method is standard
1439
- # `Get`/`Create`/`Update`, the response should be the resource. For other
1440
- # methods, the response should have the type `XxxResponse`, where `Xxx`
1441
- # is the original method name. For example, if the original method name
1442
- # is `TakeSnapshot()`, the inferred response type is
1443
- # `TakeSnapshotResponse`.
1237
+ # The normal response of the operation in case of success. If the original
1238
+ # method returns no data on success, such as `Delete`, the response is `google.
1239
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1240
+ # the response should be the resource. For other methods, the response should
1241
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
1242
+ # example, if the original method name is `TakeSnapshot()`, the inferred
1243
+ # response type is `TakeSnapshotResponse`.
1444
1244
  # Corresponds to the JSON property `response`
1445
1245
  # @return [Hash<String,Object>]
1446
1246
  attr_accessor :response
@@ -1479,66 +1279,32 @@ module Google
1479
1279
  end
1480
1280
 
1481
1281
  # An Identity and Access Management (IAM) policy, which specifies access
1482
- # controls for Google Cloud resources.
1483
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1484
- # `members` to a single `role`. Members can be user accounts, service accounts,
1485
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1486
- # permissions; each `role` can be an IAM predefined role or a user-created
1487
- # custom role.
1488
- # For some types of Google Cloud resources, a `binding` can also specify a
1489
- # `condition`, which is a logical expression that allows access to a resource
1490
- # only if the expression evaluates to `true`. A condition can add constraints
1491
- # based on attributes of the request, the resource, or both. To learn which
1492
- # resources support conditions in their IAM policies, see the
1493
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1494
- # policies).
1495
- # **JSON example:**
1496
- # `
1497
- # "bindings": [
1498
- # `
1499
- # "role": "roles/resourcemanager.organizationAdmin",
1500
- # "members": [
1501
- # "user:mike@example.com",
1502
- # "group:admins@example.com",
1503
- # "domain:google.com",
1504
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1505
- # ]
1506
- # `,
1507
- # `
1508
- # "role": "roles/resourcemanager.organizationViewer",
1509
- # "members": [
1510
- # "user:eve@example.com"
1511
- # ],
1512
- # "condition": `
1513
- # "title": "expirable access",
1514
- # "description": "Does not grant access after Sep 2020",
1515
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1516
- # ",
1517
- # `
1518
- # `
1519
- # ],
1520
- # "etag": "BwWWja0YfJA=",
1521
- # "version": 3
1522
- # `
1523
- # **YAML example:**
1524
- # bindings:
1525
- # - members:
1526
- # - user:mike@example.com
1527
- # - group:admins@example.com
1528
- # - domain:google.com
1529
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1530
- # role: roles/resourcemanager.organizationAdmin
1531
- # - members:
1532
- # - user:eve@example.com
1533
- # role: roles/resourcemanager.organizationViewer
1534
- # condition:
1535
- # title: expirable access
1536
- # description: Does not grant access after Sep 2020
1537
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1538
- # - etag: BwWWja0YfJA=
1539
- # - version: 3
1540
- # For a description of IAM and its features, see the
1541
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1282
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1283
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1284
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1285
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1286
+ # role or a user-created custom role. For some types of Google Cloud resources,
1287
+ # a `binding` can also specify a `condition`, which is a logical expression that
1288
+ # allows access to a resource only if the expression evaluates to `true`. A
1289
+ # condition can add constraints based on attributes of the request, the resource,
1290
+ # or both. To learn which resources support conditions in their IAM policies,
1291
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1292
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1293
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1294
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1295
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1296
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1297
+ # title": "expirable access", "description": "Does not grant access after Sep
1298
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1299
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1300
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1301
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1302
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1303
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1304
+ # description: Does not grant access after Sep 2020 expression: request.time <
1305
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1306
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1307
+ # google.com/iam/docs/).
1542
1308
  class Policy
1543
1309
  include Google::Apis::Core::Hashable
1544
1310
 
@@ -1547,48 +1313,44 @@ module Google
1547
1313
  # @return [Array<Google::Apis::CloudassetV1beta1::AuditConfig>]
1548
1314
  attr_accessor :audit_configs
1549
1315
 
1550
- # Associates a list of `members` to a `role`. Optionally, may specify a
1551
- # `condition` that determines how and when the `bindings` are applied. Each
1552
- # of the `bindings` must contain at least one member.
1316
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
1317
+ # condition` that determines how and when the `bindings` are applied. Each of
1318
+ # the `bindings` must contain at least one member.
1553
1319
  # Corresponds to the JSON property `bindings`
1554
1320
  # @return [Array<Google::Apis::CloudassetV1beta1::Binding>]
1555
1321
  attr_accessor :bindings
1556
1322
 
1557
- # `etag` is used for optimistic concurrency control as a way to help
1558
- # prevent simultaneous updates of a policy from overwriting each other.
1559
- # It is strongly suggested that systems make use of the `etag` in the
1560
- # read-modify-write cycle to perform policy updates in order to avoid race
1561
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1562
- # systems are expected to put that etag in the request to `setIamPolicy` to
1563
- # ensure that their change will be applied to the same version of the policy.
1564
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1565
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1566
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1567
- # the conditions in the version `3` policy are lost.
1323
+ # `etag` is used for optimistic concurrency control as a way to help prevent
1324
+ # simultaneous updates of a policy from overwriting each other. It is strongly
1325
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
1326
+ # to perform policy updates in order to avoid race conditions: An `etag` is
1327
+ # returned in the response to `getIamPolicy`, and systems are expected to put
1328
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
1329
+ # applied to the same version of the policy. **Important:** If you use IAM
1330
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1331
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
1332
+ # with a version `1` policy, and all of the conditions in the version `3` policy
1333
+ # are lost.
1568
1334
  # Corresponds to the JSON property `etag`
1569
1335
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1570
1336
  # @return [String]
1571
1337
  attr_accessor :etag
1572
1338
 
1573
- # Specifies the format of the policy.
1574
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1575
- # are rejected.
1576
- # Any operation that affects conditional role bindings must specify version
1577
- # `3`. This requirement applies to the following operations:
1578
- # * Getting a policy that includes a conditional role binding
1579
- # * Adding a conditional role binding to a policy
1580
- # * Changing a conditional role binding in a policy
1581
- # * Removing any role binding, with or without a condition, from a policy
1582
- # that includes conditions
1583
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1584
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1585
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1586
- # the conditions in the version `3` policy are lost.
1587
- # If a policy does not include any conditions, operations on that policy may
1588
- # specify any valid version or leave the field unset.
1589
- # To learn which resources support conditions in their IAM policies, see the
1590
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1591
- # policies).
1339
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1340
+ # Requests that specify an invalid value are rejected. Any operation that
1341
+ # affects conditional role bindings must specify version `3`. This requirement
1342
+ # applies to the following operations: * Getting a policy that includes a
1343
+ # conditional role binding * Adding a conditional role binding to a policy *
1344
+ # Changing a conditional role binding in a policy * Removing any role binding,
1345
+ # with or without a condition, from a policy that includes conditions **
1346
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1347
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1348
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1349
+ # conditions in the version `3` policy are lost. If a policy does not include
1350
+ # any conditions, operations on that policy may specify any valid version or
1351
+ # leave the field unset. To learn which resources support conditions in their
1352
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1353
+ # conditions/resource-policies).
1592
1354
  # Corresponds to the JSON property `version`
1593
1355
  # @return [Fixnum]
1594
1356
  attr_accessor :version
@@ -1610,47 +1372,42 @@ module Google
1610
1372
  class Resource
1611
1373
  include Google::Apis::Core::Hashable
1612
1374
 
1613
- # The content of the resource, in which some sensitive fields are removed
1614
- # and may not be present.
1375
+ # The content of the resource, in which some sensitive fields are removed and
1376
+ # may not be present.
1615
1377
  # Corresponds to the JSON property `data`
1616
1378
  # @return [Hash<String,Object>]
1617
1379
  attr_accessor :data
1618
1380
 
1619
1381
  # The URL of the discovery document containing the resource's JSON schema.
1620
- # Example:
1621
- # `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
1622
- # This value is unspecified for resources that do not have an API based on a
1382
+ # Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This
1383
+ # value is unspecified for resources that do not have an API based on a
1623
1384
  # discovery document, such as Cloud Bigtable.
1624
1385
  # Corresponds to the JSON property `discoveryDocumentUri`
1625
1386
  # @return [String]
1626
1387
  attr_accessor :discovery_document_uri
1627
1388
 
1628
- # The JSON schema name listed in the discovery document. Example:
1629
- # `Project`
1630
- # This value is unspecified for resources that do not have an API based on a
1389
+ # The JSON schema name listed in the discovery document. Example: `Project` This
1390
+ # value is unspecified for resources that do not have an API based on a
1631
1391
  # discovery document, such as Cloud Bigtable.
1632
1392
  # Corresponds to the JSON property `discoveryName`
1633
1393
  # @return [String]
1634
1394
  attr_accessor :discovery_name
1635
1395
 
1636
- # The full name of the immediate parent of this resource. See
1637
- # [Resource
1638
- # Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
1639
- # for more information.
1640
- # For Google Cloud assets, this value is the parent resource defined in the
1641
- # [Cloud IAM policy
1642
- # hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
1643
- # Example:
1644
- # `//cloudresourcemanager.googleapis.com/projects/my_project_123`
1645
- # For third-party assets, this field may be set differently.
1396
+ # The full name of the immediate parent of this resource. See [Resource Names](
1397
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name) for
1398
+ # more information. For Google Cloud assets, this value is the parent resource
1399
+ # defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/
1400
+ # overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/
1401
+ # projects/my_project_123` For third-party assets, this field may be set
1402
+ # differently.
1646
1403
  # Corresponds to the JSON property `parent`
1647
1404
  # @return [String]
1648
1405
  attr_accessor :parent
1649
1406
 
1650
- # The REST URL for accessing the resource. An HTTP `GET` request using this
1651
- # URL returns the resource itself. Example:
1652
- # `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
1653
- # This value is unspecified for resources without a REST API.
1407
+ # The REST URL for accessing the resource. An HTTP `GET` request using this URL
1408
+ # returns the resource itself. Example: `https://cloudresourcemanager.googleapis.
1409
+ # com/v1/projects/my-project-123` This value is unspecified for resources
1410
+ # without a REST API.
1654
1411
  # Corresponds to the JSON property `resourceUrl`
1655
1412
  # @return [String]
1656
1413
  attr_accessor :resource_url
@@ -1675,12 +1432,12 @@ module Google
1675
1432
  end
1676
1433
  end
1677
1434
 
1678
- # The `Status` type defines a logical error model that is suitable for
1679
- # different programming environments, including REST APIs and RPC APIs. It is
1680
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1681
- # three pieces of data: error code, error message, and error details.
1682
- # You can find out more about this error model and how to work with it in the
1683
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1435
+ # The `Status` type defines a logical error model that is suitable for different
1436
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1437
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1438
+ # data: error code, error message, and error details. You can find out more
1439
+ # about this error model and how to work with it in the [API Design Guide](https:
1440
+ # //cloud.google.com/apis/design/errors).
1684
1441
  class Status
1685
1442
  include Google::Apis::Core::Hashable
1686
1443
 
@@ -1689,15 +1446,15 @@ module Google
1689
1446
  # @return [Fixnum]
1690
1447
  attr_accessor :code
1691
1448
 
1692
- # A list of messages that carry the error details. There is a common set of
1449
+ # A list of messages that carry the error details. There is a common set of
1693
1450
  # message types for APIs to use.
1694
1451
  # Corresponds to the JSON property `details`
1695
1452
  # @return [Array<Hash<String,Object>>]
1696
1453
  attr_accessor :details
1697
1454
 
1698
- # A developer-facing error message, which should be in English. Any
1699
- # user-facing error message should be localized and sent in the
1700
- # google.rpc.Status.details field, or localized by the client.
1455
+ # A developer-facing error message, which should be in English. Any user-facing
1456
+ # error message should be localized and sent in the google.rpc.Status.details
1457
+ # field, or localized by the client.
1701
1458
  # Corresponds to the JSON property `message`
1702
1459
  # @return [String]
1703
1460
  attr_accessor :message
@@ -1719,15 +1476,12 @@ module Google
1719
1476
  class TemporalAsset
1720
1477
  include Google::Apis::Core::Hashable
1721
1478
 
1722
- # An asset in Google Cloud. An asset can be any resource in the Google Cloud
1723
- # [resource
1724
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
1725
- # resource-hierarchy),
1726
- # a resource outside the Google Cloud resource hierarchy (such as Google
1727
- # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
1728
- # See [Supported asset
1729
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
1730
- # for more information.
1479
+ # An asset in Google Cloud. An asset can be any resource in the Google Cloud [
1480
+ # resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
1481
+ # platform-resource-hierarchy), a resource outside the Google Cloud resource
1482
+ # hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
1483
+ # (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
1484
+ # asset-inventory/docs/supported-asset-types) for more information.
1731
1485
  # Corresponds to the JSON property `asset`
1732
1486
  # @return [Google::Apis::CloudassetV1beta1::Asset]
1733
1487
  attr_accessor :asset