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,11 +47,10 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Downloads media. Download is supported
51
- # on the URI `/v1/media/`+name`?alt=media`.
50
+ # Downloads media. Download is supported on the URI `/v1/media/`+name`?alt=media`
51
+ # .
52
52
  # @param [String] resource_name
53
- # Name of the media that is being downloaded. See
54
- # ReadRequest.resource_name.
53
+ # Name of the media that is being downloaded. See ReadRequest.resource_name.
55
54
  # @param [String] fields
56
55
  # Selector specifying which fields to include in a partial response.
57
56
  # @param [String] quota_user
@@ -88,8 +87,8 @@ module Google
88
87
 
89
88
  # Returns a space.
90
89
  # @param [String] name
91
- # Required. Resource name of the space, in the form "spaces/*".
92
- # Example: spaces/AAAAMpdlehY
90
+ # Required. Resource name of the space, in the form "spaces/*". Example: spaces/
91
+ # AAAAMpdlehY
93
92
  # @param [String] fields
94
93
  # Selector specifying which fields to include in a partial response.
95
94
  # @param [String] quota_user
@@ -119,9 +118,8 @@ module Google
119
118
 
120
119
  # Lists spaces the caller is a member of.
121
120
  # @param [Fixnum] page_size
122
- # Requested page size. The value is capped at 1000.
123
- # Server may return fewer results than requested.
124
- # If unspecified, server will default to 100.
121
+ # Requested page size. The value is capped at 1000. Server may return fewer
122
+ # results than requested. If unspecified, server will default to 100.
125
123
  # @param [String] page_token
126
124
  # A token identifying a page of results the server should return.
127
125
  # @param [String] fields
@@ -154,9 +152,8 @@ module Google
154
152
 
155
153
  # Returns a membership.
156
154
  # @param [String] name
157
- # Required. Resource name of the membership to be retrieved, in the form
158
- # "spaces/*/members/*".
159
- # Example: spaces/AAAAMpdlehY/members/105115627578887013105
155
+ # Required. Resource name of the membership to be retrieved, in the form "spaces/
156
+ # */members/*". Example: spaces/AAAAMpdlehY/members/105115627578887013105
160
157
  # @param [String] fields
161
158
  # Selector specifying which fields to include in a partial response.
162
159
  # @param [String] quota_user
@@ -187,12 +184,10 @@ module Google
187
184
  # Lists human memberships in a space.
188
185
  # @param [String] parent
189
186
  # Required. The resource name of the space for which membership list is to be
190
- # fetched, in the form "spaces/*".
191
- # Example: spaces/AAAAMpdlehY
187
+ # fetched, in the form "spaces/*". Example: spaces/AAAAMpdlehY
192
188
  # @param [Fixnum] page_size
193
- # Requested page size. The value is capped at 1000.
194
- # Server may return fewer results than requested.
195
- # If unspecified, server will default to 100.
189
+ # Requested page size. The value is capped at 1000. Server may return fewer
190
+ # results than requested. If unspecified, server will default to 100.
196
191
  # @param [String] page_token
197
192
  # A token identifying a page of results the server should return.
198
193
  # @param [String] fields
@@ -226,18 +221,16 @@ module Google
226
221
 
227
222
  # Creates a message.
228
223
  # @param [String] parent
229
- # Required. Space resource name, in the form "spaces/*".
230
- # Example: spaces/AAAAMpdlehY
224
+ # Required. Space resource name, in the form "spaces/*". Example: spaces/
225
+ # AAAAMpdlehY
231
226
  # @param [Google::Apis::ChatV1::Message] message_object
232
227
  # @param [String] thread_key
233
- # Opaque thread identifier string that can be specified to group messages
234
- # into a single thread. If this is the first message with a given thread
235
- # identifier, a new thread is created. Subsequent messages with the same
236
- # thread identifier will be posted into the same thread. This relieves bots
237
- # and webhooks from having to store the Hangouts Chat thread ID of a thread (
238
- # created earlier by them) to post
239
- # further updates to it.
240
- # Has no effect if thread field,
228
+ # Opaque thread identifier string that can be specified to group messages into a
229
+ # single thread. If this is the first message with a given thread identifier, a
230
+ # new thread is created. Subsequent messages with the same thread identifier
231
+ # will be posted into the same thread. This relieves bots and webhooks from
232
+ # having to store the Hangouts Chat thread ID of a thread (created earlier by
233
+ # them) to post further updates to it. Has no effect if thread field,
241
234
  # corresponding to an existing thread, is set in message.
242
235
  # @param [String] fields
243
236
  # Selector specifying which fields to include in a partial response.
@@ -271,9 +264,8 @@ module Google
271
264
 
272
265
  # Deletes a message.
273
266
  # @param [String] name
274
- # Required. Resource name of the message to be deleted, in the form
275
- # "spaces/*/messages/*"
276
- # Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
267
+ # Required. Resource name of the message to be deleted, in the form "spaces/*/
268
+ # messages/*" Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
277
269
  # @param [String] fields
278
270
  # Selector specifying which fields to include in a partial response.
279
271
  # @param [String] quota_user
@@ -303,9 +295,8 @@ module Google
303
295
 
304
296
  # Returns a message.
305
297
  # @param [String] name
306
- # Required. Resource name of the message to be retrieved, in the form
307
- # "spaces/*/messages/*".
308
- # Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
298
+ # Required. Resource name of the message to be retrieved, in the form "spaces/*/
299
+ # messages/*". Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
309
300
  # @param [String] fields
310
301
  # Selector specifying which fields to include in a partial response.
311
302
  # @param [String] quota_user
@@ -335,15 +326,12 @@ module Google
335
326
 
336
327
  # Updates a message.
337
328
  # @param [String] name
338
- # Resource name, in the form "spaces/*/messages/*".
339
- # Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
329
+ # Resource name, in the form "spaces/*/messages/*". Example: spaces/AAAAMpdlehY/
330
+ # messages/UMxbHmzDlr4.UMxbHmzDlr4
340
331
  # @param [Google::Apis::ChatV1::Message] message_object
341
332
  # @param [String] update_mask
342
- # Required. The field paths to be updated, comma separated if there are
343
- # multiple.
344
- # Currently supported field paths:
345
- # * text
346
- # * cards
333
+ # Required. The field paths to be updated, comma separated if there are multiple.
334
+ # Currently supported field paths: * text * cards
347
335
  # @param [String] fields
348
336
  # Selector specifying which fields to include in a partial response.
349
337
  # @param [String] quota_user
@@ -377,8 +365,8 @@ module Google
377
365
  # Gets the metadata of a message attachment. The attachment data is fetched
378
366
  # using the media API.
379
367
  # @param [String] name
380
- # Resource name of the attachment, in the form
381
- # "spaces/*/messages/*/attachments/*".
368
+ # Resource name of the attachment, in the form "spaces/*/messages/*/attachments/*
369
+ # ".
382
370
  # @param [String] fields
383
371
  # Selector specifying which fields to include in a partial response.
384
372
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/civic-information/
27
27
  module CivicinfoV2
28
28
  VERSION = 'V2'
29
- REVISION = '20200706'
29
+ REVISION = '20200824'
30
30
  end
31
31
  end
32
32
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/asset-inventory/docs/quickstart
26
26
  module CloudassetV1
27
27
  VERSION = 'V1'
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 CloudassetV1
24
24
 
25
- # An asset in Google Cloud. An asset can be any resource in the Google Cloud
26
- # [resource
27
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
28
- # resource-hierarchy),
29
- # a resource outside the Google Cloud resource hierarchy (such as Google
30
- # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
31
- # See [Supported asset
32
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
33
- # for more information.
25
+ # An asset in Google Cloud. An asset can be any resource in the Google Cloud [
26
+ # resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
27
+ # platform-resource-hierarchy), a resource outside the Google Cloud resource
28
+ # hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
29
+ # (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
30
+ # asset-inventory/docs/supported-asset-types) for more information.
34
31
  class Asset
35
32
  include Google::Apis::Core::Hashable
36
33
 
@@ -42,114 +39,74 @@ module Google
42
39
  attr_accessor :access_level
43
40
 
44
41
  # `AccessPolicy` is a container for `AccessLevels` (which define the necessary
45
- # attributes to use Google Cloud services) and `ServicePerimeters` (which
46
- # define regions of services able to freely pass data within a perimeter). An
47
- # access policy is globally visible within an organization, and the
48
- # restrictions it specifies apply to all projects within an organization.
42
+ # attributes to use Google Cloud services) and `ServicePerimeters` (which define
43
+ # regions of services able to freely pass data within a perimeter). An access
44
+ # policy is globally visible within an organization, and the restrictions it
45
+ # specifies apply to all projects within an organization.
49
46
  # Corresponds to the JSON property `accessPolicy`
50
47
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessPolicy]
51
48
  attr_accessor :access_policy
52
49
 
53
- # The ancestry path of an asset in Google Cloud [resource
54
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
55
- # resource-hierarchy),
56
- # represented as a list of relative resource names. An ancestry path starts
57
- # with the closest ancestor in the hierarchy and ends at root. If the asset
58
- # is a project, folder, or organization, the ancestry path starts from the
59
- # asset itself.
60
- # Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
50
+ # The ancestry path of an asset in Google Cloud [resource hierarchy](https://
51
+ # cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
52
+ # represented as a list of relative resource names. An ancestry path starts with
53
+ # the closest ancestor in the hierarchy and ends at root. If the asset is a
54
+ # project, folder, or organization, the ancestry path starts from the asset
55
+ # itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
61
56
  # Corresponds to the JSON property `ancestors`
62
57
  # @return [Array<String>]
63
58
  attr_accessor :ancestors
64
59
 
65
- # The type of the asset. Example: `compute.googleapis.com/Disk`
66
- # See [Supported asset
67
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
68
- # for more information.
60
+ # The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported
61
+ # asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-
62
+ # types) for more information.
69
63
  # Corresponds to the JSON property `assetType`
70
64
  # @return [String]
71
65
  attr_accessor :asset_type
72
66
 
73
67
  # An Identity and Access Management (IAM) policy, which specifies access
74
- # controls for Google Cloud resources.
75
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
76
- # `members` to a single `role`. Members can be user accounts, service accounts,
77
- # Google groups, and domains (such as G Suite). A `role` is a named list of
78
- # permissions; each `role` can be an IAM predefined role or a user-created
79
- # custom role.
80
- # For some types of Google Cloud resources, a `binding` can also specify a
81
- # `condition`, which is a logical expression that allows access to a resource
82
- # only if the expression evaluates to `true`. A condition can add constraints
83
- # based on attributes of the request, the resource, or both. To learn which
84
- # resources support conditions in their IAM policies, see the
85
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
86
- # policies).
87
- # **JSON example:**
88
- # `
89
- # "bindings": [
90
- # `
91
- # "role": "roles/resourcemanager.organizationAdmin",
92
- # "members": [
93
- # "user:mike@example.com",
94
- # "group:admins@example.com",
95
- # "domain:google.com",
96
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
97
- # ]
98
- # `,
99
- # `
100
- # "role": "roles/resourcemanager.organizationViewer",
101
- # "members": [
102
- # "user:eve@example.com"
103
- # ],
104
- # "condition": `
105
- # "title": "expirable access",
106
- # "description": "Does not grant access after Sep 2020",
107
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
108
- # ",
109
- # `
110
- # `
111
- # ],
112
- # "etag": "BwWWja0YfJA=",
113
- # "version": 3
114
- # `
115
- # **YAML example:**
116
- # bindings:
117
- # - members:
118
- # - user:mike@example.com
119
- # - group:admins@example.com
120
- # - domain:google.com
121
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
122
- # role: roles/resourcemanager.organizationAdmin
123
- # - members:
124
- # - user:eve@example.com
125
- # role: roles/resourcemanager.organizationViewer
126
- # condition:
127
- # title: expirable access
128
- # description: Does not grant access after Sep 2020
129
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
130
- # - etag: BwWWja0YfJA=
131
- # - version: 3
132
- # For a description of IAM and its features, see the
133
- # [IAM documentation](https://cloud.google.com/iam/docs/).
68
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
69
+ # A `binding` binds one or more `members` to a single `role`. Members can be
70
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
71
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
72
+ # role or a user-created custom role. For some types of Google Cloud resources,
73
+ # a `binding` can also specify a `condition`, which is a logical expression that
74
+ # allows access to a resource only if the expression evaluates to `true`. A
75
+ # condition can add constraints based on attributes of the request, the resource,
76
+ # or both. To learn which resources support conditions in their IAM policies,
77
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
78
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
79
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
80
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
81
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
82
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
83
+ # title": "expirable access", "description": "Does not grant access after Sep
84
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
85
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
86
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
87
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
88
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
89
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
90
+ # description: Does not grant access after Sep 2020 expression: request.time <
91
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
92
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
93
+ # google.com/iam/docs/).
134
94
  # Corresponds to the JSON property `iamPolicy`
135
95
  # @return [Google::Apis::CloudassetV1::Policy]
136
96
  attr_accessor :iam_policy
137
97
 
138
- # The full name of the asset. Example:
139
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
140
- # instance1`
141
- # See [Resource
142
- # names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
143
- # for more information.
98
+ # The full name of the asset. Example: `//compute.googleapis.com/projects/
99
+ # my_project_123/zones/zone1/instances/instance1` See [Resource names](https://
100
+ # cloud.google.com/apis/design/resource_names#full_resource_name) for more
101
+ # information.
144
102
  # Corresponds to the JSON property `name`
145
103
  # @return [String]
146
104
  attr_accessor :name
147
105
 
148
- # A representation of an [organization
149
- # policy](https://cloud.google.com/resource-manager/docs/organization-policy/
150
- # overview#organization_policy).
151
- # There can be more than one organization policy with different constraints
152
- # set on a given resource.
106
+ # A representation of an [organization policy](https://cloud.google.com/resource-
107
+ # manager/docs/organization-policy/overview#organization_policy). There can be
108
+ # more than one organization policy with different constraints set on a given
109
+ # resource.
153
110
  # Corresponds to the JSON property `orgPolicy`
154
111
  # @return [Array<Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1Policy>]
155
112
  attr_accessor :org_policy
@@ -160,21 +117,20 @@ module Google
160
117
  attr_accessor :resource
161
118
 
162
119
  # `ServicePerimeter` describes a set of Google Cloud resources which can freely
163
- # import and export data amongst themselves, but not export outside of the
164
- # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
120
+ # import and export data amongst themselves, but not export outside of the `
121
+ # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
165
122
  # has a target outside of the `ServicePerimeter`, the request will be blocked.
166
123
  # Otherwise the request is allowed. There are two types of Service Perimeter -
167
- # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
168
- # Google Cloud project can only belong to a single regular Service Perimeter.
169
- # Service Perimeter Bridges can contain only Google Cloud projects as members,
170
- # a single Google Cloud project may belong to multiple Service Perimeter
171
- # Bridges.
124
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
125
+ # Cloud project can only belong to a single regular Service Perimeter. Service
126
+ # Perimeter Bridges can contain only Google Cloud projects as members, a single
127
+ # Google Cloud project may belong to multiple Service Perimeter Bridges.
172
128
  # Corresponds to the JSON property `servicePerimeter`
173
129
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter]
174
130
  attr_accessor :service_perimeter
175
131
 
176
- # The last update timestamp of an asset. update_time is updated when
177
- # create/update/delete operation is performed.
132
+ # The last update timestamp of an asset. update_time is updated when create/
133
+ # update/delete operation is performed.
178
134
  # Corresponds to the JSON property `updateTime`
179
135
  # @return [String]
180
136
  attr_accessor :update_time
@@ -198,53 +154,21 @@ module Google
198
154
  end
199
155
  end
200
156
 
201
- # Specifies the audit configuration for a service.
202
- # The configuration determines which permission types are logged, and what
203
- # identities, if any, are exempted from logging.
204
- # An AuditConfig must have one or more AuditLogConfigs.
205
- # If there are AuditConfigs for both `allServices` and a specific service,
206
- # the union of the two AuditConfigs is used for that service: the log_types
207
- # specified in each AuditConfig are enabled, and the exempted_members in each
208
- # AuditLogConfig are exempted.
209
- # Example Policy with multiple AuditConfigs:
210
- # `
211
- # "audit_configs": [
212
- # `
213
- # "service": "allServices",
214
- # "audit_log_configs": [
215
- # `
216
- # "log_type": "DATA_READ",
217
- # "exempted_members": [
218
- # "user:jose@example.com"
219
- # ]
220
- # `,
221
- # `
222
- # "log_type": "DATA_WRITE"
223
- # `,
224
- # `
225
- # "log_type": "ADMIN_READ"
226
- # `
227
- # ]
228
- # `,
229
- # `
230
- # "service": "sampleservice.googleapis.com",
231
- # "audit_log_configs": [
232
- # `
233
- # "log_type": "DATA_READ"
234
- # `,
235
- # `
236
- # "log_type": "DATA_WRITE",
237
- # "exempted_members": [
238
- # "user:aliya@example.com"
239
- # ]
240
- # `
241
- # ]
242
- # `
243
- # ]
244
- # `
245
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
246
- # logging. It also exempts jose@example.com from DATA_READ logging, and
247
- # aliya@example.com from DATA_WRITE logging.
157
+ # Specifies the audit configuration for a service. The configuration determines
158
+ # which permission types are logged, and what identities, if any, are exempted
159
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
160
+ # are AuditConfigs for both `allServices` and a specific service, the union of
161
+ # the two AuditConfigs is used for that service: the log_types specified in each
162
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
163
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
164
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
165
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
166
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
167
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
168
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
169
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
170
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
171
+ # DATA_WRITE logging.
248
172
  class AuditConfig
249
173
  include Google::Apis::Core::Hashable
250
174
 
@@ -253,9 +177,9 @@ module Google
253
177
  # @return [Array<Google::Apis::CloudassetV1::AuditLogConfig>]
254
178
  attr_accessor :audit_log_configs
255
179
 
256
- # Specifies a service that will be enabled for audit logging.
257
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
258
- # `allServices` is a special value that covers all services.
180
+ # Specifies a service that will be enabled for audit logging. For example, `
181
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
182
+ # value that covers all services.
259
183
  # Corresponds to the JSON property `service`
260
184
  # @return [String]
261
185
  attr_accessor :service
@@ -271,28 +195,15 @@ module Google
271
195
  end
272
196
  end
273
197
 
274
- # Provides the configuration for logging a type of permissions.
275
- # Example:
276
- # `
277
- # "audit_log_configs": [
278
- # `
279
- # "log_type": "DATA_READ",
280
- # "exempted_members": [
281
- # "user:jose@example.com"
282
- # ]
283
- # `,
284
- # `
285
- # "log_type": "DATA_WRITE"
286
- # `
287
- # ]
288
- # `
289
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
290
- # jose@example.com from DATA_READ logging.
198
+ # Provides the configuration for logging a type of permissions. Example: ` "
199
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
200
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
201
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
202
+ # DATA_READ logging.
291
203
  class AuditLogConfig
292
204
  include Google::Apis::Core::Hashable
293
205
 
294
- # Specifies the identities that do not cause logging for this type of
295
- # permission.
206
+ # Specifies the identities that do not cause logging for this type of permission.
296
207
  # Follows the same format of Binding.members.
297
208
  # Corresponds to the JSON property `exemptedMembers`
298
209
  # @return [Array<String>]
@@ -337,26 +248,24 @@ module Google
337
248
  class BigQueryDestination
338
249
  include Google::Apis::Core::Hashable
339
250
 
340
- # Required. The BigQuery dataset in format
341
- # "projects/projectId/datasets/datasetId", to which the snapshot result
342
- # should be exported. If this dataset does not exist, the export call returns
343
- # an INVALID_ARGUMENT error.
251
+ # Required. The BigQuery dataset in format "projects/projectId/datasets/
252
+ # datasetId", to which the snapshot result should be exported. If this dataset
253
+ # does not exist, the export call returns an INVALID_ARGUMENT error.
344
254
  # Corresponds to the JSON property `dataset`
345
255
  # @return [String]
346
256
  attr_accessor :dataset
347
257
 
348
- # If the destination table already exists and this flag is `TRUE`, the
349
- # table will be overwritten by the contents of assets snapshot. If the flag
350
- # is `FALSE` or unset and the destination table already exists, the export
351
- # call returns an INVALID_ARGUMEMT error.
258
+ # If the destination table already exists and this flag is `TRUE`, the table
259
+ # will be overwritten by the contents of assets snapshot. If the flag is `FALSE`
260
+ # or unset and the destination table already exists, the export call returns an
261
+ # INVALID_ARGUMEMT error.
352
262
  # Corresponds to the JSON property `force`
353
263
  # @return [Boolean]
354
264
  attr_accessor :force
355
265
  alias_method :force?, :force
356
266
 
357
- # Required. The BigQuery table to which the snapshot result should be
358
- # written. If this table does not exist, a new table with the given name
359
- # will be created.
267
+ # Required. The BigQuery table to which the snapshot result should be written.
268
+ # If this table does not exist, a new table with the given name will be created.
360
269
  # Corresponds to the JSON property `table`
361
270
  # @return [String]
362
271
  attr_accessor :table
@@ -377,69 +286,57 @@ module Google
377
286
  class Binding
378
287
  include Google::Apis::Core::Hashable
379
288
 
380
- # Represents a textual expression in the Common Expression Language (CEL)
381
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
382
- # are documented at https://github.com/google/cel-spec.
383
- # Example (Comparison):
384
- # title: "Summary size limit"
385
- # description: "Determines if a summary is less than 100 chars"
386
- # expression: "document.summary.size() < 100"
387
- # Example (Equality):
388
- # title: "Requestor is owner"
389
- # description: "Determines if requestor is the document owner"
390
- # expression: "document.owner == request.auth.claims.email"
391
- # Example (Logic):
392
- # title: "Public documents"
393
- # description: "Determine whether the document should be publicly visible"
394
- # expression: "document.type != 'private' && document.type != 'internal'"
395
- # Example (Data Manipulation):
396
- # title: "Notification string"
397
- # description: "Create a notification string with a timestamp."
398
- # expression: "'New message received at ' + string(document.create_time)"
399
- # The exact variables and functions that may be referenced within an expression
400
- # are determined by the service that evaluates it. See the service
401
- # documentation for additional information.
289
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
290
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
291
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
292
+ # "Summary size limit" description: "Determines if a summary is less than 100
293
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
294
+ # Requestor is owner" description: "Determines if requestor is the document
295
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
296
+ # Logic): title: "Public documents" description: "Determine whether the document
297
+ # should be publicly visible" expression: "document.type != 'private' &&
298
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
299
+ # string" description: "Create a notification string with a timestamp."
300
+ # expression: "'New message received at ' + string(document.create_time)" The
301
+ # exact variables and functions that may be referenced within an expression are
302
+ # determined by the service that evaluates it. See the service documentation for
303
+ # additional information.
402
304
  # Corresponds to the JSON property `condition`
403
305
  # @return [Google::Apis::CloudassetV1::Expr]
404
306
  attr_accessor :condition
405
307
 
406
- # Specifies the identities requesting access for a Cloud Platform resource.
407
- # `members` can have the following values:
408
- # * `allUsers`: A special identifier that represents anyone who is
409
- # on the internet; with or without a Google account.
410
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
411
- # who is authenticated with a Google account or a service account.
412
- # * `user:`emailid``: An email address that represents a specific Google
413
- # account. For example, `alice@example.com` .
414
- # * `serviceAccount:`emailid``: An email address that represents a service
415
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
416
- # * `group:`emailid``: An email address that represents a Google group.
417
- # For example, `admins@example.com`.
418
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
419
- # identifier) representing a user that has been recently deleted. For
420
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
421
- # recovered, this value reverts to `user:`emailid`` and the recovered user
422
- # retains the role in the binding.
423
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
424
- # unique identifier) representing a service account that has been recently
425
- # deleted. For example,
426
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
427
- # If the service account is undeleted, this value reverts to
428
- # `serviceAccount:`emailid`` and the undeleted service account retains the
429
- # role in the binding.
430
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
431
- # identifier) representing a Google group that has been recently
432
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
433
- # the group is recovered, this value reverts to `group:`emailid`` and the
434
- # recovered group retains the role in the binding.
435
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
436
- # users of that domain. For example, `google.com` or `example.com`.
308
+ # Specifies the identities requesting access for a Cloud Platform resource. `
309
+ # members` can have the following values: * `allUsers`: A special identifier
310
+ # that represents anyone who is on the internet; with or without a Google
311
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
312
+ # anyone who is authenticated with a Google account or a service account. * `
313
+ # user:`emailid``: An email address that represents a specific Google account.
314
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
315
+ # address that represents a service account. For example, `my-other-app@appspot.
316
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
317
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
318
+ # `uniqueid``: An email address (plus unique identifier) representing a user
319
+ # that has been recently deleted. For example, `alice@example.com?uid=
320
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
321
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
322
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
323
+ # identifier) representing a service account that has been recently deleted. For
324
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
325
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
326
+ # emailid`` and the undeleted service account retains the role in the binding. *
327
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
328
+ # identifier) representing a Google group that has been recently deleted. For
329
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
330
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
331
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
332
+ # primary) that represents all the users of that domain. For example, `google.
333
+ # com` or `example.com`.
437
334
  # Corresponds to the JSON property `members`
438
335
  # @return [Array<String>]
439
336
  attr_accessor :members
440
337
 
441
- # Role that is assigned to `members`.
442
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
338
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
339
+ # , or `roles/owner`.
443
340
  # Corresponds to the JSON property `role`
444
341
  # @return [String]
445
342
  attr_accessor :role
@@ -460,17 +357,16 @@ module Google
460
357
  class CreateFeedRequest
461
358
  include Google::Apis::Core::Hashable
462
359
 
463
- # An asset feed used to export asset updates to a destinations.
464
- # An asset feed filter controls what updates are exported.
465
- # The asset feed must be created within a project, organization, or
466
- # folder. Supported destinations are:
467
- # Pub/Sub topics.
360
+ # An asset feed used to export asset updates to a destinations. An asset feed
361
+ # filter controls what updates are exported. The asset feed must be created
362
+ # within a project, organization, or folder. Supported destinations are: Pub/Sub
363
+ # topics.
468
364
  # Corresponds to the JSON property `feed`
469
365
  # @return [Google::Apis::CloudassetV1::Feed]
470
366
  attr_accessor :feed
471
367
 
472
- # Required. This is the client-assigned asset feed identifier and it needs to
473
- # be unique under a specific parent project/folder/organization.
368
+ # Required. This is the client-assigned asset feed identifier and it needs to be
369
+ # unique under a specific parent project/folder/organization.
474
370
  # Corresponds to the JSON property `feedId`
475
371
  # @return [String]
476
372
  attr_accessor :feed_id
@@ -486,13 +382,11 @@ module Google
486
382
  end
487
383
  end
488
384
 
489
- # A generic empty message that you can re-use to avoid defining duplicated
490
- # empty messages in your APIs. A typical example is to use it as the request
491
- # or the response type of an API method. For instance:
492
- # service Foo `
493
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
494
- # `
495
- # The JSON representation for `Empty` is empty JSON object ````.
385
+ # A generic empty message that you can re-use to avoid defining duplicated empty
386
+ # messages in your APIs. A typical example is to use it as the request or the
387
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
388
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
389
+ # `Empty` is empty JSON object ````.
496
390
  class Empty
497
391
  include Google::Apis::Core::Hashable
498
392
 
@@ -509,13 +403,13 @@ module Google
509
403
  class Explanation
510
404
  include Google::Apis::Core::Hashable
511
405
 
512
- # The map from roles to their included permissions that match the
513
- # permission query (i.e., a query containing `policy.role.permissions:`).
514
- # Example: if query `policy.role.permissions : "compute.disk.get"`
515
- # matches a policy binding that contains owner role, the
516
- # matched_permissions will be ``"roles/owner": ["compute.disk.get"]``. The
517
- # roles can also be found in the returned `policy` bindings. Note that the
518
- # map is populated only for requests with permission queries.
406
+ # The map from roles to their included permissions that match the permission
407
+ # query (i.e., a query containing `policy.role.permissions:`). Example: if query
408
+ # `policy.role.permissions:compute.disk.get` matches a policy binding that
409
+ # contains owner role, the matched_permissions will be ``"roles/owner": ["
410
+ # compute.disk.get"]``. The roles can also be found in the returned `policy`
411
+ # bindings. Note that the map is populated only for requests with permission
412
+ # queries.
519
413
  # Corresponds to the JSON property `matchedPermissions`
520
414
  # @return [Hash<String,Google::Apis::CloudassetV1::Permissions>]
521
415
  attr_accessor :matched_permissions
@@ -534,20 +428,17 @@ module Google
534
428
  class ExportAssetsRequest
535
429
  include Google::Apis::Core::Hashable
536
430
 
537
- # A list of asset types to take a snapshot for. For example:
538
- # "compute.googleapis.com/Disk".
539
- # Regular expressions are also supported. For example:
540
- # * "compute.googleapis.com.*" snapshots resources whose asset type starts
541
- # with "compute.googleapis.com".
542
- # * ".*Instance" snapshots resources whose asset type ends with "Instance".
543
- # * ".*Instance.*" snapshots resources whose asset type contains "Instance".
544
- # See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
545
- # regular expression syntax. If the regular expression does not match any
546
- # supported asset type, an INVALID_ARGUMENT error will be returned.
547
- # If specified, only matching assets will be returned, otherwise, it will
548
- # snapshot all asset types. See [Introduction to Cloud Asset
549
- # Inventory](https://cloud.google.com/asset-inventory/docs/overview)
550
- # for all supported asset types.
431
+ # A list of asset types to take a snapshot for. For example: "compute.googleapis.
432
+ # com/Disk". Regular expressions are also supported. For example: * "compute.
433
+ # googleapis.com.*" snapshots resources whose asset type starts with "compute.
434
+ # googleapis.com". * ".*Instance" snapshots resources whose asset type ends with
435
+ # "Instance". * ".*Instance.*" snapshots resources whose asset type contains "
436
+ # Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all
437
+ # supported regular expression syntax. If the regular expression does not match
438
+ # any supported asset type, an INVALID_ARGUMENT error will be returned. If
439
+ # specified, only matching assets will be returned, otherwise, it will snapshot
440
+ # all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.
441
+ # google.com/asset-inventory/docs/overview) for all supported asset types.
551
442
  # Corresponds to the JSON property `assetTypes`
552
443
  # @return [Array<String>]
553
444
  attr_accessor :asset_types
@@ -564,10 +455,10 @@ module Google
564
455
  attr_accessor :output_config
565
456
 
566
457
  # Timestamp to take an asset snapshot. This can only be set to a timestamp
567
- # between the current time and the current time minus 35 days (inclusive).
568
- # If not specified, the current time will be used. Due to delays in resource
569
- # data collection and indexing, there is a volatile window during which
570
- # running the same query may get different results.
458
+ # between the current time and the current time minus 35 days (inclusive). If
459
+ # not specified, the current time will be used. Due to delays in resource data
460
+ # collection and indexing, there is a volatile window during which running the
461
+ # same query may get different results.
571
462
  # Corresponds to the JSON property `readTime`
572
463
  # @return [String]
573
464
  attr_accessor :read_time
@@ -585,52 +476,43 @@ module Google
585
476
  end
586
477
  end
587
478
 
588
- # Represents a textual expression in the Common Expression Language (CEL)
589
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
590
- # are documented at https://github.com/google/cel-spec.
591
- # Example (Comparison):
592
- # title: "Summary size limit"
593
- # description: "Determines if a summary is less than 100 chars"
594
- # expression: "document.summary.size() < 100"
595
- # Example (Equality):
596
- # title: "Requestor is owner"
597
- # description: "Determines if requestor is the document owner"
598
- # expression: "document.owner == request.auth.claims.email"
599
- # Example (Logic):
600
- # title: "Public documents"
601
- # description: "Determine whether the document should be publicly visible"
602
- # expression: "document.type != 'private' && document.type != 'internal'"
603
- # Example (Data Manipulation):
604
- # title: "Notification string"
605
- # description: "Create a notification string with a timestamp."
606
- # expression: "'New message received at ' + string(document.create_time)"
607
- # The exact variables and functions that may be referenced within an expression
608
- # are determined by the service that evaluates it. See the service
609
- # documentation for additional information.
479
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
480
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
481
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
482
+ # "Summary size limit" description: "Determines if a summary is less than 100
483
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
484
+ # Requestor is owner" description: "Determines if requestor is the document
485
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
486
+ # Logic): title: "Public documents" description: "Determine whether the document
487
+ # should be publicly visible" expression: "document.type != 'private' &&
488
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
489
+ # string" description: "Create a notification string with a timestamp."
490
+ # expression: "'New message received at ' + string(document.create_time)" The
491
+ # exact variables and functions that may be referenced within an expression are
492
+ # determined by the service that evaluates it. See the service documentation for
493
+ # additional information.
610
494
  class Expr
611
495
  include Google::Apis::Core::Hashable
612
496
 
613
- # Optional. Description of the expression. This is a longer text which
614
- # describes the expression, e.g. when hovered over it in a UI.
497
+ # Optional. Description of the expression. This is a longer text which describes
498
+ # the expression, e.g. when hovered over it in a UI.
615
499
  # Corresponds to the JSON property `description`
616
500
  # @return [String]
617
501
  attr_accessor :description
618
502
 
619
- # Textual representation of an expression in Common Expression Language
620
- # syntax.
503
+ # Textual representation of an expression in Common Expression Language syntax.
621
504
  # Corresponds to the JSON property `expression`
622
505
  # @return [String]
623
506
  attr_accessor :expression
624
507
 
625
- # Optional. String indicating the location of the expression for error
626
- # reporting, e.g. a file name and a position in the file.
508
+ # Optional. String indicating the location of the expression for error reporting,
509
+ # e.g. a file name and a position in the file.
627
510
  # Corresponds to the JSON property `location`
628
511
  # @return [String]
629
512
  attr_accessor :location
630
513
 
631
- # Optional. Title for the expression, i.e. a short string describing
632
- # its purpose. This can be used e.g. in UIs which allow to enter the
633
- # expression.
514
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
515
+ # This can be used e.g. in UIs which allow to enter the expression.
634
516
  # Corresponds to the JSON property `title`
635
517
  # @return [String]
636
518
  attr_accessor :title
@@ -648,66 +530,53 @@ module Google
648
530
  end
649
531
  end
650
532
 
651
- # An asset feed used to export asset updates to a destinations.
652
- # An asset feed filter controls what updates are exported.
653
- # The asset feed must be created within a project, organization, or
654
- # folder. Supported destinations are:
655
- # Pub/Sub topics.
533
+ # An asset feed used to export asset updates to a destinations. An asset feed
534
+ # filter controls what updates are exported. The asset feed must be created
535
+ # within a project, organization, or folder. Supported destinations are: Pub/Sub
536
+ # topics.
656
537
  class Feed
657
538
  include Google::Apis::Core::Hashable
658
539
 
659
540
  # A list of the full names of the assets to receive updates. You must specify
660
541
  # either or both of asset_names and asset_types. Only asset updates matching
661
- # specified asset_names or asset_types are exported to the feed.
662
- # Example:
663
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
664
- # instance1`.
665
- # See [Resource
666
- # Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
667
- # for more info.
542
+ # specified asset_names or asset_types are exported to the feed. Example: `//
543
+ # compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
544
+ # . See [Resource Names](https://cloud.google.com/apis/design/resource_names#
545
+ # full_resource_name) for more info.
668
546
  # Corresponds to the JSON property `assetNames`
669
547
  # @return [Array<String>]
670
548
  attr_accessor :asset_names
671
549
 
672
- # A list of types of the assets to receive updates. You must specify either
673
- # or both of asset_names and asset_types. Only asset updates matching
674
- # specified asset_names or asset_types are exported to the feed.
675
- # Example: `"compute.googleapis.com/Disk"`
676
- # See [this
677
- # topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
678
- # for a list of all supported asset types.
550
+ # A list of types of the assets to receive updates. You must specify either or
551
+ # both of asset_names and asset_types. Only asset updates matching specified
552
+ # asset_names or asset_types are exported to the feed. Example: `"compute.
553
+ # googleapis.com/Disk"` See [this topic](https://cloud.google.com/asset-
554
+ # inventory/docs/supported-asset-types) for a list of all supported asset types.
679
555
  # Corresponds to the JSON property `assetTypes`
680
556
  # @return [Array<String>]
681
557
  attr_accessor :asset_types
682
558
 
683
- # Represents a textual expression in the Common Expression Language (CEL)
684
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
685
- # are documented at https://github.com/google/cel-spec.
686
- # Example (Comparison):
687
- # title: "Summary size limit"
688
- # description: "Determines if a summary is less than 100 chars"
689
- # expression: "document.summary.size() < 100"
690
- # Example (Equality):
691
- # title: "Requestor is owner"
692
- # description: "Determines if requestor is the document owner"
693
- # expression: "document.owner == request.auth.claims.email"
694
- # Example (Logic):
695
- # title: "Public documents"
696
- # description: "Determine whether the document should be publicly visible"
697
- # expression: "document.type != 'private' && document.type != 'internal'"
698
- # Example (Data Manipulation):
699
- # title: "Notification string"
700
- # description: "Create a notification string with a timestamp."
701
- # expression: "'New message received at ' + string(document.create_time)"
702
- # The exact variables and functions that may be referenced within an expression
703
- # are determined by the service that evaluates it. See the service
704
- # documentation for additional information.
559
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
560
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
561
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
562
+ # "Summary size limit" description: "Determines if a summary is less than 100
563
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
564
+ # Requestor is owner" description: "Determines if requestor is the document
565
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
566
+ # Logic): title: "Public documents" description: "Determine whether the document
567
+ # should be publicly visible" expression: "document.type != 'private' &&
568
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
569
+ # string" description: "Create a notification string with a timestamp."
570
+ # expression: "'New message received at ' + string(document.create_time)" The
571
+ # exact variables and functions that may be referenced within an expression are
572
+ # determined by the service that evaluates it. See the service documentation for
573
+ # additional information.
705
574
  # Corresponds to the JSON property `condition`
706
575
  # @return [Google::Apis::CloudassetV1::Expr]
707
576
  attr_accessor :condition
708
577
 
709
- # Asset content type. If not specified, no content but the asset name and
710
- # type will be returned.
578
+ # Asset content type. If not specified, no content but the asset name and type
579
+ # will be returned.
711
580
  # Corresponds to the JSON property `contentType`
712
581
  # @return [String]
713
582
  attr_accessor :content_type
@@ -717,12 +586,11 @@ module Google
717
586
  # @return [Google::Apis::CloudassetV1::FeedOutputConfig]
718
587
  attr_accessor :feed_output_config
719
588
 
720
- # Required. The format will be
721
- # projects/`project_number`/feeds/`client-assigned_feed_identifier` or
722
- # folders/`folder_number`/feeds/`client-assigned_feed_identifier` or
723
- # organizations/`organization_number`/feeds/`client-assigned_feed_identifier`
724
- # The client-assigned feed identifier must be unique within the parent
725
- # project/folder/organization.
589
+ # Required. The format will be projects/`project_number`/feeds/`client-
590
+ # assigned_feed_identifier` or folders/`folder_number`/feeds/`client-
591
+ # assigned_feed_identifier` or organizations/`organization_number`/feeds/`client-
592
+ # assigned_feed_identifier` The client-assigned feed identifier must be unique
593
+ # within the parent project/folder/organization.
726
594
  # Corresponds to the JSON property `name`
727
595
  # @return [String]
728
596
  attr_accessor :name
@@ -765,24 +633,22 @@ module Google
765
633
  class GcsDestination
766
634
  include Google::Apis::Core::Hashable
767
635
 
768
- # The uri of the Cloud Storage object. It's the same uri that is used by
769
- # gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
770
- # Editing Object
771
- # Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
772
- # for more information.
636
+ # The uri of the Cloud Storage object. It's the same uri that is used by gsutil.
637
+ # Example: "gs://bucket_name/object_name". See [Viewing and Editing Object
638
+ # Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for
639
+ # more information.
773
640
  # Corresponds to the JSON property `uri`
774
641
  # @return [String]
775
642
  attr_accessor :uri
776
643
 
777
- # The uri prefix of all generated Cloud Storage objects. Example:
778
- # "gs://bucket_name/object_name_prefix". Each object uri is in format:
779
- # "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
780
- # contains assets for that type. <shard number> starts from 0. Example:
781
- # "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
782
- # the first shard of output objects containing all
783
- # compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
784
- # returned if file with the same name "gs://bucket_name/object_name_prefix"
785
- # already exists.
644
+ # The uri prefix of all generated Cloud Storage objects. Example: "gs://
645
+ # bucket_name/object_name_prefix". Each object uri is in format: "gs://
646
+ # bucket_name/object_name_prefix// and only contains assets for that type.
647
+ # starts from 0. Example: "gs://bucket_name/object_name_prefix/compute.
648
+ # googleapis.com/Disk/0" is the first shard of output objects containing all
649
+ # compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be returned
650
+ # if file with the same name "gs://bucket_name/object_name_prefix" already
651
+ # exists.
786
652
  # Corresponds to the JSON property `uriPrefix`
787
653
  # @return [String]
788
654
  attr_accessor :uri_prefix
@@ -803,45 +669,29 @@ module Google
803
669
  class GoogleCloudOrgpolicyV1BooleanPolicy
804
670
  include Google::Apis::Core::Hashable
805
671
 
806
- # If `true`, then the `Policy` is enforced. If `false`, then any
807
- # configuration is acceptable.
808
- # Suppose you have a `Constraint`
809
- # `constraints/compute.disableSerialPortAccess` with `constraint_default`
810
- # set to `ALLOW`. A `Policy` for that `Constraint` exhibits the following
811
- # behavior:
812
- # - If the `Policy` at this resource has enforced set to `false`, serial
813
- # port connection attempts will be allowed.
814
- # - If the `Policy` at this resource has enforced set to `true`, serial
815
- # port connection attempts will be refused.
816
- # - If the `Policy` at this resource is `RestoreDefault`, serial port
817
- # connection attempts will be allowed.
818
- # - If no `Policy` is set at this resource or anywhere higher in the
819
- # resource hierarchy, serial port connection attempts will be allowed.
820
- # - If no `Policy` is set at this resource, but one exists higher in the
821
- # resource hierarchy, the behavior is as if the`Policy` were set at
822
- # this resource.
823
- # The following examples demonstrate the different possible layerings:
824
- # Example 1 (nearest `Constraint` wins):
825
- # `organizations/foo` has a `Policy` with:
826
- # `enforced: false`
827
- # `projects/bar` has no `Policy` set.
828
- # The constraint at `projects/bar` and `organizations/foo` will not be
829
- # enforced.
830
- # Example 2 (enforcement gets replaced):
831
- # `organizations/foo` has a `Policy` with:
832
- # `enforced: false`
833
- # `projects/bar` has a `Policy` with:
834
- # `enforced: true`
835
- # The constraint at `organizations/foo` is not enforced.
836
- # The constraint at `projects/bar` is enforced.
837
- # Example 3 (RestoreDefault):
838
- # `organizations/foo` has a `Policy` with:
839
- # `enforced: true`
840
- # `projects/bar` has a `Policy` with:
841
- # `RestoreDefault: ```
842
- # The constraint at `organizations/foo` is enforced.
843
- # The constraint at `projects/bar` is not enforced, because
844
- # `constraint_default` for the `Constraint` is `ALLOW`.
672
+ # If `true`, then the `Policy` is enforced. If `false`, then any configuration
673
+ # is acceptable. Suppose you have a `Constraint` `constraints/compute.
674
+ # disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy`
675
+ # for that `Constraint` exhibits the following behavior: - If the `Policy` at
676
+ # this resource has enforced set to `false`, serial port connection attempts
677
+ # will be allowed. - If the `Policy` at this resource has enforced set to `true`,
678
+ # serial port connection attempts will be refused. - If the `Policy` at this
679
+ # resource is `RestoreDefault`, serial port connection attempts will be allowed.
680
+ # - If no `Policy` is set at this resource or anywhere higher in the resource
681
+ # hierarchy, serial port connection attempts will be allowed. - If no `Policy`
682
+ # is set at this resource, but one exists higher in the resource hierarchy, the
683
+ # behavior is as if the`Policy` were set at this resource. The following
684
+ # examples demonstrate the different possible layerings: Example 1 (nearest `
685
+ # Constraint` wins): `organizations/foo` has a `Policy` with: `enforced: false` `
686
+ # projects/bar` has no `Policy` set. The constraint at `projects/bar` and `
687
+ # organizations/foo` will not be enforced. Example 2 (enforcement gets replaced):
688
+ # `organizations/foo` has a `Policy` with: `enforced: false` `projects/bar` has
689
+ # a `Policy` with: `enforced: true` The constraint at `organizations/foo` is not
690
+ # enforced. The constraint at `projects/bar` is enforced. Example 3 (
691
+ # RestoreDefault): `organizations/foo` has a `Policy` with: `enforced: true` `
692
+ # projects/bar` has a `Policy` with: `RestoreDefault: ``` The constraint at `
693
+ # organizations/foo` is enforced. The constraint at `projects/bar` is not
694
+ # enforced, because `constraint_default` for the `Constraint` is `ALLOW`.
845
695
  # Corresponds to the JSON property `enforced`
846
696
  # @return [Boolean]
847
697
  attr_accessor :enforced
@@ -857,26 +707,22 @@ module Google
857
707
  end
858
708
  end
859
709
 
860
- # Used in `policy_type` to specify how `list_policy` behaves at this
861
- # resource.
862
- # `ListPolicy` can define specific values and subtrees of Cloud Resource
863
- # Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that
864
- # are allowed or denied by setting the `allowed_values` and `denied_values`
865
- # fields. This is achieved by using the `under:` and optional `is:` prefixes.
866
- # The `under:` prefix is used to denote resource subtree values.
867
- # The `is:` prefix is used to denote specific values, and is required only
868
- # if the value contains a ":". Values prefixed with "is:" are treated the
869
- # same as values with no prefix.
870
- # Ancestry subtrees must be in one of the following formats:
871
- # - "projects/<project-id>", e.g. "projects/tokyo-rain-123"
872
- # - "folders/<folder-id>", e.g. "folders/1234"
873
- # - "organizations/<organization-id>", e.g. "organizations/1234"
874
- # The `supports_under` field of the associated `Constraint` defines whether
875
- # ancestry prefixes can be used. You can set `allowed_values` and
876
- # `denied_values` in the same `Policy` if `all_values` is
877
- # `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
878
- # values. If `all_values` is set to either `ALLOW` or `DENY`,
879
- # `allowed_values` and `denied_values` must be unset.
710
+ # Used in `policy_type` to specify how `list_policy` behaves at this resource. `
711
+ # ListPolicy` can define specific values and subtrees of Cloud Resource Manager
712
+ # resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
713
+ # or denied by setting the `allowed_values` and `denied_values` fields. This is
714
+ # achieved by using the `under:` and optional `is:` prefixes. The `under:`
715
+ # prefix is used to denote resource subtree values. The `is:` prefix is used to
716
+ # denote specific values, and is required only if the value contains a ":".
717
+ # Values prefixed with "is:" are treated the same as values with no prefix.
718
+ # Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
719
+ # "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
720
+ # e.g. "organizations/1234" The `supports_under` field of the associated `
721
+ # Constraint` defines whether ancestry prefixes can be used. You can set `
722
+ # allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
723
+ # ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
724
+ # values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
725
+ # and `denied_values` must be unset.
880
726
  class GoogleCloudOrgpolicyV1ListPolicy
881
727
  include Google::Apis::Core::Hashable
882
728
 
@@ -885,112 +731,83 @@ module Google
885
731
  # @return [String]
886
732
  attr_accessor :all_values
887
733
 
888
- # List of values allowed at this resource. Can only be set if `all_values`
889
- # is set to `ALL_VALUES_UNSPECIFIED`.
734
+ # List of values allowed at this resource. Can only be set if `all_values` is
735
+ # set to `ALL_VALUES_UNSPECIFIED`.
890
736
  # Corresponds to the JSON property `allowedValues`
891
737
  # @return [Array<String>]
892
738
  attr_accessor :allowed_values
893
739
 
894
- # List of values denied at this resource. Can only be set if `all_values`
895
- # is set to `ALL_VALUES_UNSPECIFIED`.
740
+ # List of values denied at this resource. Can only be set if `all_values` is set
741
+ # to `ALL_VALUES_UNSPECIFIED`.
896
742
  # Corresponds to the JSON property `deniedValues`
897
743
  # @return [Array<String>]
898
744
  attr_accessor :denied_values
899
745
 
900
- # Determines the inheritance behavior for this `Policy`.
901
- # By default, a `ListPolicy` set at a resource supersedes any `Policy` set
902
- # anywhere up the resource hierarchy. However, if `inherit_from_parent` is
903
- # set to `true`, then the values from the effective `Policy` of the parent
904
- # resource are inherited, meaning the values set in this `Policy` are
905
- # added to the values inherited up the hierarchy.
906
- # Setting `Policy` hierarchies that inherit both allowed values and denied
907
- # values isn't recommended in most circumstances to keep the configuration
908
- # simple and understandable. However, it is possible to set a `Policy` with
909
- # `allowed_values` set that inherits a `Policy` with `denied_values` set.
910
- # In this case, the values that are allowed must be in `allowed_values` and
911
- # not present in `denied_values`.
912
- # For example, suppose you have a `Constraint`
913
- # `constraints/serviceuser.services`, which has a `constraint_type` of
914
- # `list_constraint`, and with `constraint_default` set to `ALLOW`.
915
- # Suppose that at the Organization level, a `Policy` is applied that
916
- # restricts the allowed API activations to ``E1`, `E2``. Then, if a
917
- # `Policy` is applied to a project below the Organization that has
918
- # `inherit_from_parent` set to `false` and field all_values set to DENY,
919
- # then an attempt to activate any API will be denied.
920
- # The following examples demonstrate different possible layerings for
921
- # `projects/bar` parented by `organizations/foo`:
922
- # Example 1 (no inherited values):
923
- # `organizations/foo` has a `Policy` with values:
924
- # `allowed_values: "E1" allowed_values:"E2"`
925
- # `projects/bar` has `inherit_from_parent` `false` and values:
926
- # `allowed_values: "E3" allowed_values: "E4"`
927
- # The accepted values at `organizations/foo` are `E1`, `E2`.
928
- # The accepted values at `projects/bar` are `E3`, and `E4`.
929
- # Example 2 (inherited values):
930
- # `organizations/foo` has a `Policy` with values:
931
- # `allowed_values: "E1" allowed_values:"E2"`
932
- # `projects/bar` has a `Policy` with values:
933
- # `value: "E3" value: "E4" inherit_from_parent: true`
934
- # The accepted values at `organizations/foo` are `E1`, `E2`.
935
- # The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.
936
- # Example 3 (inheriting both allowed and denied values):
937
- # `organizations/foo` has a `Policy` with values:
938
- # `allowed_values: "E1" allowed_values: "E2"`
939
- # `projects/bar` has a `Policy` with:
940
- # `denied_values: "E1"`
941
- # The accepted values at `organizations/foo` are `E1`, `E2`.
942
- # The value accepted at `projects/bar` is `E2`.
943
- # Example 4 (RestoreDefault):
944
- # `organizations/foo` has a `Policy` with values:
945
- # `allowed_values: "E1" allowed_values:"E2"`
946
- # `projects/bar` has a `Policy` with values:
947
- # `RestoreDefault: ```
948
- # The accepted values at `organizations/foo` are `E1`, `E2`.
949
- # The accepted values at `projects/bar` are either all or none depending on
950
- # the value of `constraint_default` (if `ALLOW`, all; if
951
- # `DENY`, none).
952
- # Example 5 (no policy inherits parent policy):
953
- # `organizations/foo` has no `Policy` set.
954
- # `projects/bar` has no `Policy` set.
955
- # The accepted values at both levels are either all or none depending on
956
- # the value of `constraint_default` (if `ALLOW`, all; if
957
- # `DENY`, none).
958
- # Example 6 (ListConstraint allowing all):
959
- # `organizations/foo` has a `Policy` with values:
960
- # `allowed_values: "E1" allowed_values: "E2"`
961
- # `projects/bar` has a `Policy` with:
962
- # `all: ALLOW`
963
- # The accepted values at `organizations/foo` are `E1`, E2`.
964
- # Any value is accepted at `projects/bar`.
965
- # Example 7 (ListConstraint allowing none):
966
- # `organizations/foo` has a `Policy` with values:
967
- # `allowed_values: "E1" allowed_values: "E2"`
968
- # `projects/bar` has a `Policy` with:
969
- # `all: DENY`
970
- # The accepted values at `organizations/foo` are `E1`, E2`.
971
- # No value is accepted at `projects/bar`.
972
- # Example 10 (allowed and denied subtrees of Resource Manager hierarchy):
973
- # Given the following resource hierarchy
974
- # O1->`F1, F2`; F1->`P1`; F2->`P2, P3`,
975
- # `organizations/foo` has a `Policy` with values:
976
- # `allowed_values: "under:organizations/O1"`
977
- # `projects/bar` has a `Policy` with:
978
- # `allowed_values: "under:projects/P3"`
979
- # `denied_values: "under:folders/F2"`
980
- # The accepted values at `organizations/foo` are `organizations/O1`,
981
- # `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,
982
- # `projects/P3`.
983
- # The accepted values at `projects/bar` are `organizations/O1`,
984
- # `folders/F1`, `projects/P1`.
746
+ # Determines the inheritance behavior for this `Policy`. By default, a `
747
+ # ListPolicy` set at a resource supersedes any `Policy` set anywhere up the
748
+ # resource hierarchy. However, if `inherit_from_parent` is set to `true`, then
749
+ # the values from the effective `Policy` of the parent resource are inherited,
750
+ # meaning the values set in this `Policy` are added to the values inherited up
751
+ # the hierarchy. Setting `Policy` hierarchies that inherit both allowed values
752
+ # and denied values isn't recommended in most circumstances to keep the
753
+ # configuration simple and understandable. However, it is possible to set a `
754
+ # Policy` with `allowed_values` set that inherits a `Policy` with `denied_values`
755
+ # set. In this case, the values that are allowed must be in `allowed_values`
756
+ # and not present in `denied_values`. For example, suppose you have a `
757
+ # Constraint` `constraints/serviceuser.services`, which has a `constraint_type`
758
+ # of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose
759
+ # that at the Organization level, a `Policy` is applied that restricts the
760
+ # allowed API activations to ``E1`, `E2``. Then, if a `Policy` is applied to a
761
+ # project below the Organization that has `inherit_from_parent` set to `false`
762
+ # and field all_values set to DENY, then an attempt to activate any API will be
763
+ # denied. The following examples demonstrate different possible layerings for `
764
+ # projects/bar` parented by `organizations/foo`: Example 1 (no inherited values):
765
+ # `organizations/foo` has a `Policy` with values: `allowed_values: "E1"
766
+ # allowed_values:"E2"` `projects/bar` has `inherit_from_parent` `false` and
767
+ # values: `allowed_values: "E3" allowed_values: "E4"` The accepted values at `
768
+ # organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `
769
+ # E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy`
770
+ # with values: `allowed_values: "E1" allowed_values:"E2"` `projects/bar` has a `
771
+ # Policy` with values: `value: "E3" value: "E4" inherit_from_parent: true` The
772
+ # accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `
773
+ # projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both
774
+ # allowed and denied values): `organizations/foo` has a `Policy` with values: `
775
+ # allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `Policy` with:
776
+ # `denied_values: "E1"` The accepted values at `organizations/foo` are `E1`, `E2`
777
+ # . The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `
778
+ # organizations/foo` has a `Policy` with values: `allowed_values: "E1"
779
+ # allowed_values:"E2"` `projects/bar` has a `Policy` with values: `
780
+ # RestoreDefault: ``` The accepted values at `organizations/foo` are `E1`, `E2`.
781
+ # The accepted values at `projects/bar` are either all or none depending on the
782
+ # value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (
783
+ # no policy inherits parent policy): `organizations/foo` has no `Policy` set. `
784
+ # projects/bar` has no `Policy` set. The accepted values at both levels are
785
+ # either all or none depending on the value of `constraint_default` (if `ALLOW`,
786
+ # all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/
787
+ # foo` has a `Policy` with values: `allowed_values: "E1" allowed_values: "E2"` `
788
+ # projects/bar` has a `Policy` with: `all: ALLOW` The accepted values at `
789
+ # organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`.
790
+ # Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy`
791
+ # with values: `allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `
792
+ # Policy` with: `all: DENY` The accepted values at `organizations/foo` are `E1`,
793
+ # E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied
794
+ # subtrees of Resource Manager hierarchy): Given the following resource
795
+ # hierarchy O1->`F1, F2`; F1->`P1`; F2->`P2, P3`, `organizations/foo` has a `
796
+ # Policy` with values: `allowed_values: "under:organizations/O1"` `projects/bar`
797
+ # has a `Policy` with: `allowed_values: "under:projects/P3"` `denied_values: "
798
+ # under:folders/F2"` The accepted values at `organizations/foo` are `
799
+ # organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `
800
+ # projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `
801
+ # folders/F1`, `projects/P1`.
985
802
  # Corresponds to the JSON property `inheritFromParent`
986
803
  # @return [Boolean]
987
804
  attr_accessor :inherit_from_parent
988
805
  alias_method :inherit_from_parent?, :inherit_from_parent
989
806
 
990
- # Optional. The Google Cloud Console will try to default to a configuration
991
- # that matches the value specified in this `Policy`. If `suggested_value`
992
- # is not set, it will inherit the value specified higher in the hierarchy,
993
- # unless `inherit_from_parent` is `false`.
807
+ # Optional. The Google Cloud Console will try to default to a configuration that
808
+ # matches the value specified in this `Policy`. If `suggested_value` is not set,
809
+ # it will inherit the value specified higher in the hierarchy, unless `
810
+ # inherit_from_parent` is `false`.
994
811
  # Corresponds to the JSON property `suggestedValue`
995
812
  # @return [String]
996
813
  attr_accessor :suggested_value
@@ -1020,76 +837,65 @@ module Google
1020
837
  # @return [Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1BooleanPolicy]
1021
838
  attr_accessor :boolean_policy
1022
839
 
1023
- # The name of the `Constraint` the `Policy` is configuring, for example,
1024
- # `constraints/serviceuser.services`.
1025
- # A [list of available
1026
- # constraints](/resource-manager/docs/organization-policy/org-policy-constraints)
1027
- # is available.
840
+ # The name of the `Constraint` the `Policy` is configuring, for example, `
841
+ # constraints/serviceuser.services`. A [list of available constraints](/resource-
842
+ # manager/docs/organization-policy/org-policy-constraints) is available.
1028
843
  # Immutable after creation.
1029
844
  # Corresponds to the JSON property `constraint`
1030
845
  # @return [String]
1031
846
  attr_accessor :constraint
1032
847
 
1033
848
  # An opaque tag indicating the current version of the `Policy`, used for
1034
- # concurrency control.
1035
- # When the `Policy` is returned from either a `GetPolicy` or a
1036
- # `ListOrgPolicy` request, this `etag` indicates the version of the current
1037
- # `Policy` to use when executing a read-modify-write loop.
1038
- # When the `Policy` is returned from a `GetEffectivePolicy` request, the
1039
- # `etag` will be unset.
1040
- # When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value
1041
- # that was returned from a `GetOrgPolicy` request as part of a
1042
- # read-modify-write loop for concurrency control. Not setting the `etag`in a
1043
- # `SetOrgPolicy` request will result in an unconditional write of the
1044
- # `Policy`.
849
+ # concurrency control. When the `Policy` is returned from either a `GetPolicy`
850
+ # or a `ListOrgPolicy` request, this `etag` indicates the version of the current
851
+ # `Policy` to use when executing a read-modify-write loop. When the `Policy` is
852
+ # returned from a `GetEffectivePolicy` request, the `etag` will be unset. When
853
+ # the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was
854
+ # returned from a `GetOrgPolicy` request as part of a read-modify-write loop for
855
+ # concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will
856
+ # result in an unconditional write of the `Policy`.
1045
857
  # Corresponds to the JSON property `etag`
1046
858
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1047
859
  # @return [String]
1048
860
  attr_accessor :etag
1049
861
 
1050
- # Used in `policy_type` to specify how `list_policy` behaves at this
1051
- # resource.
1052
- # `ListPolicy` can define specific values and subtrees of Cloud Resource
1053
- # Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that
1054
- # are allowed or denied by setting the `allowed_values` and `denied_values`
1055
- # fields. This is achieved by using the `under:` and optional `is:` prefixes.
1056
- # The `under:` prefix is used to denote resource subtree values.
1057
- # The `is:` prefix is used to denote specific values, and is required only
1058
- # if the value contains a ":". Values prefixed with "is:" are treated the
1059
- # same as values with no prefix.
1060
- # Ancestry subtrees must be in one of the following formats:
1061
- # - "projects/<project-id>", e.g. "projects/tokyo-rain-123"
1062
- # - "folders/<folder-id>", e.g. "folders/1234"
1063
- # - "organizations/<organization-id>", e.g. "organizations/1234"
1064
- # The `supports_under` field of the associated `Constraint` defines whether
1065
- # ancestry prefixes can be used. You can set `allowed_values` and
1066
- # `denied_values` in the same `Policy` if `all_values` is
1067
- # `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
1068
- # values. If `all_values` is set to either `ALLOW` or `DENY`,
1069
- # `allowed_values` and `denied_values` must be unset.
862
+ # Used in `policy_type` to specify how `list_policy` behaves at this resource. `
863
+ # ListPolicy` can define specific values and subtrees of Cloud Resource Manager
864
+ # resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
865
+ # or denied by setting the `allowed_values` and `denied_values` fields. This is
866
+ # achieved by using the `under:` and optional `is:` prefixes. The `under:`
867
+ # prefix is used to denote resource subtree values. The `is:` prefix is used to
868
+ # denote specific values, and is required only if the value contains a ":".
869
+ # Values prefixed with "is:" are treated the same as values with no prefix.
870
+ # Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
871
+ # "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
872
+ # e.g. "organizations/1234" The `supports_under` field of the associated `
873
+ # Constraint` defines whether ancestry prefixes can be used. You can set `
874
+ # allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
875
+ # ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
876
+ # values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
877
+ # and `denied_values` must be unset.
1070
878
  # Corresponds to the JSON property `listPolicy`
1071
879
  # @return [Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1ListPolicy]
1072
880
  attr_accessor :list_policy
1073
881
 
1074
- # Ignores policies set above this resource and restores the
1075
- # `constraint_default` enforcement behavior of the specific `Constraint` at
1076
- # this resource.
1077
- # Suppose that `constraint_default` is set to `ALLOW` for the
1078
- # `Constraint` `constraints/serviceuser.services`. Suppose that organization
1079
- # foo.com sets a `Policy` at their Organization resource node that restricts
1080
- # the allowed service activations to deny all service activations. They
1081
- # could then set a `Policy` with the `policy_type` `restore_default` on
1082
- # several experimental projects, restoring the `constraint_default`
1083
- # enforcement of the `Constraint` for only those projects, allowing those
1084
- # projects to have all services activated.
882
+ # Ignores policies set above this resource and restores the `constraint_default`
883
+ # enforcement behavior of the specific `Constraint` at this resource. Suppose
884
+ # that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
885
+ # serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
886
+ # their Organization resource node that restricts the allowed service
887
+ # activations to deny all service activations. They could then set a `Policy`
888
+ # with the `policy_type` `restore_default` on several experimental projects,
889
+ # restoring the `constraint_default` enforcement of the `Constraint` for only
890
+ # those projects, allowing those projects to have all services activated.
1085
891
  # Corresponds to the JSON property `restoreDefault`
1086
892
  # @return [Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1RestoreDefault]
1087
893
  attr_accessor :restore_default
1088
894
 
1089
- # The time stamp the `Policy` was previously updated. This is set by the
1090
- # server, not specified by the caller, and represents the last time a call to
1091
- # `SetOrgPolicy` was made for that `Policy`. Any value set by the client will
1092
- # be ignored.
895
+ # The time stamp the `Policy` was previously updated. This is set by the server,
896
+ # not specified by the caller, and represents the last time a call to `
897
+ # SetOrgPolicy` was made for that `Policy`. Any value set by the client will be
898
+ # ignored.
1093
899
  # Corresponds to the JSON property `updateTime`
1094
900
  # @return [String]
1095
901
  attr_accessor :update_time
@@ -1115,17 +921,15 @@ module Google
1115
921
  end
1116
922
  end
1117
923
 
1118
- # Ignores policies set above this resource and restores the
1119
- # `constraint_default` enforcement behavior of the specific `Constraint` at
1120
- # this resource.
1121
- # Suppose that `constraint_default` is set to `ALLOW` for the
1122
- # `Constraint` `constraints/serviceuser.services`. Suppose that organization
1123
- # foo.com sets a `Policy` at their Organization resource node that restricts
1124
- # the allowed service activations to deny all service activations. They
1125
- # could then set a `Policy` with the `policy_type` `restore_default` on
1126
- # several experimental projects, restoring the `constraint_default`
1127
- # enforcement of the `Constraint` for only those projects, allowing those
1128
- # projects to have all services activated.
924
+ # Ignores policies set above this resource and restores the `constraint_default`
925
+ # enforcement behavior of the specific `Constraint` at this resource. Suppose
926
+ # that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
927
+ # serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
928
+ # their Organization resource node that restricts the allowed service
929
+ # activations to deny all service activations. They could then set a `Policy`
930
+ # with the `policy_type` `restore_default` on several experimental projects,
931
+ # restoring the `constraint_default` enforcement of the `Constraint` for only
932
+ # those projects, allowing those projects to have all services activated.
1129
933
  class GoogleCloudOrgpolicyV1RestoreDefault
1130
934
  include Google::Apis::Core::Hashable
1131
935
 
@@ -1150,8 +954,8 @@ module Google
1150
954
  attr_accessor :basic
1151
955
 
1152
956
  # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
1153
- # to represent the necessary conditions for the level to apply to a request.
1154
- # See CEL spec at: https://github.com/google/cel-spec
957
+ # to represent the necessary conditions for the level to apply to a request. See
958
+ # CEL spec at: https://github.com/google/cel-spec
1155
959
  # Corresponds to the JSON property `custom`
1156
960
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1CustomLevel]
1157
961
  attr_accessor :custom
@@ -1161,10 +965,10 @@ module Google
1161
965
  # @return [String]
1162
966
  attr_accessor :description
1163
967
 
1164
- # Required. Resource name for the Access Level. The `short_name` component
1165
- # must begin with a letter and only include alphanumeric and '_'. Format:
1166
- # `accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length
1167
- # of the `short_name` component is 50 characters.
968
+ # Required. Resource name for the Access Level. The `short_name` component must
969
+ # begin with a letter and only include alphanumeric and '_'. Format: `
970
+ # accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length of
971
+ # the `short_name` component is 50 characters.
1168
972
  # Corresponds to the JSON property `name`
1169
973
  # @return [String]
1170
974
  attr_accessor :name
@@ -1189,30 +993,29 @@ module Google
1189
993
  end
1190
994
 
1191
995
  # `AccessPolicy` is a container for `AccessLevels` (which define the necessary
1192
- # attributes to use Google Cloud services) and `ServicePerimeters` (which
1193
- # define regions of services able to freely pass data within a perimeter). An
1194
- # access policy is globally visible within an organization, and the
1195
- # restrictions it specifies apply to all projects within an organization.
996
+ # attributes to use Google Cloud services) and `ServicePerimeters` (which define
997
+ # regions of services able to freely pass data within a perimeter). An access
998
+ # policy is globally visible within an organization, and the restrictions it
999
+ # specifies apply to all projects within an organization.
1196
1000
  class GoogleIdentityAccesscontextmanagerV1AccessPolicy
1197
1001
  include Google::Apis::Core::Hashable
1198
1002
 
1199
- # Output only. An opaque identifier for the current version of the
1200
- # `AccessPolicy`. This will always be a strongly validated etag, meaning that
1201
- # two Access Polices will be identical if and only if their etags are
1202
- # identical. Clients should not expect this to be in any specific format.
1003
+ # Output only. An opaque identifier for the current version of the `AccessPolicy`
1004
+ # . This will always be a strongly validated etag, meaning that two Access
1005
+ # Polices will be identical if and only if their etags are identical. Clients
1006
+ # should not expect this to be in any specific format.
1203
1007
  # Corresponds to the JSON property `etag`
1204
1008
  # @return [String]
1205
1009
  attr_accessor :etag
1206
1010
 
1207
- # Output only. Resource name of the `AccessPolicy`. Format:
1208
- # `accessPolicies/`policy_id``
1011
+ # Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/`
1012
+ # policy_id``
1209
1013
  # Corresponds to the JSON property `name`
1210
1014
  # @return [String]
1211
1015
  attr_accessor :name
1212
1016
 
1213
- # Required. The parent of this `AccessPolicy` in the Cloud Resource
1214
- # Hierarchy. Currently immutable once created. Format:
1215
- # `organizations/`organization_id``
1017
+ # Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy.
1018
+ # Currently immutable once created. Format: `organizations/`organization_id``
1216
1019
  # Corresponds to the JSON property `parent`
1217
1020
  # @return [String]
1218
1021
  attr_accessor :parent
@@ -1240,10 +1043,10 @@ module Google
1240
1043
  include Google::Apis::Core::Hashable
1241
1044
 
1242
1045
  # How the `conditions` list should be combined to determine if a request is
1243
- # granted this `AccessLevel`. If AND is used, each `Condition` in
1244
- # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
1245
- # is used, at least one `Condition` in `conditions` must be satisfied for the
1246
- # `AccessLevel` to be applied. Default behavior is AND.
1046
+ # granted this `AccessLevel`. If AND is used, each `Condition` in `conditions`
1047
+ # must be satisfied for the `AccessLevel` to be applied. If OR is used, at least
1048
+ # one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be
1049
+ # applied. Default behavior is AND.
1247
1050
  # Corresponds to the JSON property `combiningFunction`
1248
1051
  # @return [String]
1249
1052
  attr_accessor :combining_function
@@ -1277,54 +1080,48 @@ module Google
1277
1080
  # devices to be granted access levels, it does not do any enforcement on the
1278
1081
  # device. `DevicePolicy` acts as an AND over all specified fields, and each
1279
1082
  # repeated field is an OR over its elements. Any unset fields are ignored. For
1280
- # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
1281
- # DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
1282
- # true for requests originating from encrypted Linux desktops and encrypted
1283
- # Windows desktops.
1083
+ # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
1084
+ # encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
1085
+ # originating from encrypted Linux desktops and encrypted Windows desktops.
1284
1086
  # Corresponds to the JSON property `devicePolicy`
1285
1087
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1DevicePolicy]
1286
1088
  attr_accessor :device_policy
1287
1089
 
1288
- # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
1289
- # a CIDR IP address block, the specified IP address portion must be properly
1090
+ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a
1091
+ # CIDR IP address block, the specified IP address portion must be properly
1290
1092
  # truncated (i.e. all the host bits must be zero) or the input is considered
1291
- # malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is
1292
- # not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas
1293
- # "2001:db8::1/32" is not. The originating IP of a request must be in one of
1294
- # the listed subnets in order for this Condition to be true. If empty, all IP
1295
- # addresses are allowed.
1093
+ # malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not.
1094
+ # Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is
1095
+ # not. The originating IP of a request must be in one of the listed subnets in
1096
+ # order for this Condition to be true. If empty, all IP addresses are allowed.
1296
1097
  # Corresponds to the JSON property `ipSubnetworks`
1297
1098
  # @return [Array<String>]
1298
1099
  attr_accessor :ip_subnetworks
1299
1100
 
1300
- # The request must be made by one of the provided user or service
1301
- # accounts. Groups are not supported.
1302
- # Syntax:
1303
- # `user:`emailid``
1304
- # `serviceAccount:`emailid``
1101
+ # The request must be made by one of the provided user or service accounts.
1102
+ # Groups are not supported. Syntax: `user:`emailid`` `serviceAccount:`emailid``
1305
1103
  # If not specified, a request may come from any user.
1306
1104
  # Corresponds to the JSON property `members`
1307
1105
  # @return [Array<String>]
1308
1106
  attr_accessor :members
1309
1107
 
1310
1108
  # Whether to negate the Condition. If true, the Condition becomes a NAND over
1311
- # its non-empty fields, each field must be false for the Condition overall to
1312
- # be satisfied. Defaults to false.
1109
+ # its non-empty fields, each field must be false for the Condition overall to be
1110
+ # satisfied. Defaults to false.
1313
1111
  # Corresponds to the JSON property `negate`
1314
1112
  # @return [Boolean]
1315
1113
  attr_accessor :negate
1316
1114
  alias_method :negate?, :negate
1317
1115
 
1318
- # The request must originate from one of the provided countries/regions.
1319
- # Must be valid ISO 3166-1 alpha-2 codes.
1116
+ # The request must originate from one of the provided countries/regions. Must be
1117
+ # valid ISO 3166-1 alpha-2 codes.
1320
1118
  # Corresponds to the JSON property `regions`
1321
1119
  # @return [Array<String>]
1322
1120
  attr_accessor :regions
1323
1121
 
1324
1122
  # A list of other access levels defined in the same `Policy`, referenced by
1325
- # resource name. Referencing an `AccessLevel` which does not exist is an
1326
- # error. All access levels listed must be granted for the Condition
1327
- # to be true. Example:
1123
+ # resource name. Referencing an `AccessLevel` which does not exist is an error.
1124
+ # All access levels listed must be granted for the Condition to be true. Example:
1328
1125
  # "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"`
1329
1126
  # Corresponds to the JSON property `requiredAccessLevels`
1330
1127
  # @return [Array<String>]
@@ -1346,33 +1143,26 @@ module Google
1346
1143
  end
1347
1144
 
1348
1145
  # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
1349
- # to represent the necessary conditions for the level to apply to a request.
1350
- # See CEL spec at: https://github.com/google/cel-spec
1146
+ # to represent the necessary conditions for the level to apply to a request. See
1147
+ # CEL spec at: https://github.com/google/cel-spec
1351
1148
  class GoogleIdentityAccesscontextmanagerV1CustomLevel
1352
1149
  include Google::Apis::Core::Hashable
1353
1150
 
1354
- # Represents a textual expression in the Common Expression Language (CEL)
1355
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
1356
- # are documented at https://github.com/google/cel-spec.
1357
- # Example (Comparison):
1358
- # title: "Summary size limit"
1359
- # description: "Determines if a summary is less than 100 chars"
1360
- # expression: "document.summary.size() < 100"
1361
- # Example (Equality):
1362
- # title: "Requestor is owner"
1363
- # description: "Determines if requestor is the document owner"
1364
- # expression: "document.owner == request.auth.claims.email"
1365
- # Example (Logic):
1366
- # title: "Public documents"
1367
- # description: "Determine whether the document should be publicly visible"
1368
- # expression: "document.type != 'private' && document.type != 'internal'"
1369
- # Example (Data Manipulation):
1370
- # title: "Notification string"
1371
- # description: "Create a notification string with a timestamp."
1372
- # expression: "'New message received at ' + string(document.create_time)"
1373
- # The exact variables and functions that may be referenced within an expression
1374
- # are determined by the service that evaluates it. See the service
1375
- # documentation for additional information.
1151
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1152
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1153
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1154
+ # "Summary size limit" description: "Determines if a summary is less than 100
1155
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1156
+ # Requestor is owner" description: "Determines if requestor is the document
1157
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1158
+ # Logic): title: "Public documents" description: "Determine whether the document
1159
+ # should be publicly visible" expression: "document.type != 'private' &&
1160
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1161
+ # string" description: "Create a notification string with a timestamp."
1162
+ # expression: "'New message received at ' + string(document.create_time)" The
1163
+ # exact variables and functions that may be referenced within an expression are
1164
+ # determined by the service that evaluates it. See the service documentation for
1165
+ # additional information.
1376
1166
  # Corresponds to the JSON property `expr`
1377
1167
  # @return [Google::Apis::CloudassetV1::Expr]
1378
1168
  attr_accessor :expr
@@ -1392,15 +1182,13 @@ module Google
1392
1182
  # devices to be granted access levels, it does not do any enforcement on the
1393
1183
  # device. `DevicePolicy` acts as an AND over all specified fields, and each
1394
1184
  # repeated field is an OR over its elements. Any unset fields are ignored. For
1395
- # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
1396
- # DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
1397
- # true for requests originating from encrypted Linux desktops and encrypted
1398
- # Windows desktops.
1185
+ # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
1186
+ # encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
1187
+ # originating from encrypted Linux desktops and encrypted Windows desktops.
1399
1188
  class GoogleIdentityAccesscontextmanagerV1DevicePolicy
1400
1189
  include Google::Apis::Core::Hashable
1401
1190
 
1402
- # Allowed device management levels, an empty list allows all management
1403
- # levels.
1191
+ # Allowed device management levels, an empty list allows all management levels.
1404
1192
  # Corresponds to the JSON property `allowedDeviceManagementLevels`
1405
1193
  # @return [Array<String>]
1406
1194
  attr_accessor :allowed_device_management_levels
@@ -1453,9 +1241,9 @@ module Google
1453
1241
  class GoogleIdentityAccesscontextmanagerV1OsConstraint
1454
1242
  include Google::Apis::Core::Hashable
1455
1243
 
1456
- # The minimum allowed OS version. If not set, any version of this OS
1457
- # satisfies the constraint. Format: `"major.minor.patch"`.
1458
- # Examples: `"10.5.301"`, `"9.2.1"`.
1244
+ # The minimum allowed OS version. If not set, any version of this OS satisfies
1245
+ # the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"
1246
+ # `.
1459
1247
  # Corresponds to the JSON property `minimumVersion`
1460
1248
  # @return [String]
1461
1249
  attr_accessor :minimum_version
@@ -1465,10 +1253,10 @@ module Google
1465
1253
  # @return [String]
1466
1254
  attr_accessor :os_type
1467
1255
 
1468
- # Only allows requests from devices with a verified Chrome OS.
1469
- # Verifications includes requirements that the device is enterprise-managed,
1470
- # conformant to domain policies, and the caller has permission to call
1471
- # the API targeted by the request.
1256
+ # Only allows requests from devices with a verified Chrome OS. Verifications
1257
+ # includes requirements that the device is enterprise-managed, conformant to
1258
+ # domain policies, and the caller has permission to call the API targeted by the
1259
+ # request.
1472
1260
  # Corresponds to the JSON property `requireVerifiedChromeOs`
1473
1261
  # @return [Boolean]
1474
1262
  attr_accessor :require_verified_chrome_os
@@ -1487,37 +1275,34 @@ module Google
1487
1275
  end
1488
1276
 
1489
1277
  # `ServicePerimeter` describes a set of Google Cloud resources which can freely
1490
- # import and export data amongst themselves, but not export outside of the
1491
- # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
1278
+ # import and export data amongst themselves, but not export outside of the `
1279
+ # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
1492
1280
  # has a target outside of the `ServicePerimeter`, the request will be blocked.
1493
1281
  # Otherwise the request is allowed. There are two types of Service Perimeter -
1494
- # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
1495
- # Google Cloud project can only belong to a single regular Service Perimeter.
1496
- # Service Perimeter Bridges can contain only Google Cloud projects as members,
1497
- # a single Google Cloud project may belong to multiple Service Perimeter
1498
- # Bridges.
1282
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
1283
+ # Cloud project can only belong to a single regular Service Perimeter. Service
1284
+ # Perimeter Bridges can contain only Google Cloud projects as members, a single
1285
+ # Google Cloud project may belong to multiple Service Perimeter Bridges.
1499
1286
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
1500
1287
  include Google::Apis::Core::Hashable
1501
1288
 
1502
- # Description of the `ServicePerimeter` and its use. Does not affect
1503
- # behavior.
1289
+ # Description of the `ServicePerimeter` and its use. Does not affect behavior.
1504
1290
  # Corresponds to the JSON property `description`
1505
1291
  # @return [String]
1506
1292
  attr_accessor :description
1507
1293
 
1508
- # Required. Resource name for the ServicePerimeter. The `short_name`
1509
- # component must begin with a letter and only include alphanumeric and '_'.
1510
- # Format: `accessPolicies/`policy_id`/servicePerimeters/`short_name``
1294
+ # Required. Resource name for the ServicePerimeter. The `short_name` component
1295
+ # must begin with a letter and only include alphanumeric and '_'. Format: `
1296
+ # accessPolicies/`policy_id`/servicePerimeters/`short_name``
1511
1297
  # Corresponds to the JSON property `name`
1512
1298
  # @return [String]
1513
1299
  attr_accessor :name
1514
1300
 
1515
- # Perimeter type indicator. A single project is
1516
- # allowed to be a member of single regular perimeter, but multiple service
1517
- # perimeter bridges. A project cannot be a included in a perimeter bridge
1518
- # without being included in regular perimeter. For perimeter bridges,
1519
- # the restricted service list as well as access level lists must be
1520
- # empty.
1301
+ # Perimeter type indicator. A single project is allowed to be a member of single
1302
+ # regular perimeter, but multiple service perimeter bridges. A project cannot be
1303
+ # a included in a perimeter bridge without being included in regular perimeter.
1304
+ # For perimeter bridges, the restricted service list as well as access level
1305
+ # lists must be empty.
1521
1306
  # Corresponds to the JSON property `perimeterType`
1522
1307
  # @return [String]
1523
1308
  attr_accessor :perimeter_type
@@ -1539,16 +1324,15 @@ module Google
1539
1324
  # @return [String]
1540
1325
  attr_accessor :title
1541
1326
 
1542
- # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly
1543
- # exists for all Service Perimeters, and that spec is identical to the
1544
- # status for those Service Perimeters. When this flag is set, it inhibits the
1545
- # generation of the implicit spec, thereby allowing the user to explicitly
1546
- # provide a configuration ("spec") to use in a dry-run version of the Service
1547
- # Perimeter. This allows the user to test changes to the enforced config
1548
- # ("status") without actually enforcing them. This testing is done through
1549
- # analyzing the differences between currently enforced and suggested
1550
- # restrictions. use_explicit_dry_run_spec must bet set to True if any of the
1551
- # fields in the spec are set to non-default values.
1327
+ # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists
1328
+ # for all Service Perimeters, and that spec is identical to the status for those
1329
+ # Service Perimeters. When this flag is set, it inhibits the generation of the
1330
+ # implicit spec, thereby allowing the user to explicitly provide a configuration
1331
+ # ("spec") to use in a dry-run version of the Service Perimeter. This allows the
1332
+ # user to test changes to the enforced config ("status") without actually
1333
+ # enforcing them. This testing is done through analyzing the differences between
1334
+ # currently enforced and suggested restrictions. use_explicit_dry_run_spec must
1335
+ # bet set to True if any of the fields in the spec are set to non-default values.
1552
1336
  # Corresponds to the JSON property `useExplicitDryRunSpec`
1553
1337
  # @return [Boolean]
1554
1338
  attr_accessor :use_explicit_dry_run_spec
@@ -1575,14 +1359,13 @@ module Google
1575
1359
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig
1576
1360
  include Google::Apis::Core::Hashable
1577
1361
 
1578
- # A list of `AccessLevel` resource names that allow resources within the
1579
- # `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
1580
- # must be in the same policy as this `ServicePerimeter`. Referencing a
1581
- # nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
1582
- # listed, resources within the perimeter can only be accessed via Google
1583
- # Cloud calls with request origins within the perimeter. Example:
1584
- # `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`.
1585
- # For Service Perimeter Bridge, must be empty.
1362
+ # A list of `AccessLevel` resource names that allow resources within the `
1363
+ # ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must
1364
+ # be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `
1365
+ # AccessLevel` is a syntax error. If no `AccessLevel` names are listed,
1366
+ # resources within the perimeter can only be accessed via Google Cloud calls
1367
+ # with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/
1368
+ # accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty.
1586
1369
  # Corresponds to the JSON property `accessLevels`
1587
1370
  # @return [Array<String>]
1588
1371
  attr_accessor :access_levels
@@ -1593,16 +1376,14 @@ module Google
1593
1376
  # @return [Array<String>]
1594
1377
  attr_accessor :resources
1595
1378
 
1596
- # Google Cloud services that are subject to the Service Perimeter
1597
- # restrictions. For example, if `storage.googleapis.com` is specified, access
1598
- # to the storage buckets inside the perimeter must meet the perimeter's
1599
- # access restrictions.
1379
+ # Google Cloud services that are subject to the Service Perimeter restrictions.
1380
+ # For example, if `storage.googleapis.com` is specified, access to the storage
1381
+ # buckets inside the perimeter must meet the perimeter's access restrictions.
1600
1382
  # Corresponds to the JSON property `restrictedServices`
1601
1383
  # @return [Array<String>]
1602
1384
  attr_accessor :restricted_services
1603
1385
 
1604
- # Specifies how APIs are allowed to communicate within the Service
1605
- # Perimeter.
1386
+ # Specifies how APIs are allowed to communicate within the Service Perimeter.
1606
1387
  # Corresponds to the JSON property `vpcAccessibleServices`
1607
1388
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices]
1608
1389
  attr_accessor :vpc_accessible_services
@@ -1620,21 +1401,20 @@ module Google
1620
1401
  end
1621
1402
  end
1622
1403
 
1623
- # Specifies how APIs are allowed to communicate within the Service
1624
- # Perimeter.
1404
+ # Specifies how APIs are allowed to communicate within the Service Perimeter.
1625
1405
  class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
1626
1406
  include Google::Apis::Core::Hashable
1627
1407
 
1628
- # The list of APIs usable within the Service Perimeter. Must be empty
1629
- # unless 'enable_restriction' is True. You can specify a list of individual
1630
- # services, as well as include the 'RESTRICTED-SERVICES' value, which
1631
- # automatically includes all of the services protected by the perimeter.
1408
+ # The list of APIs usable within the Service Perimeter. Must be empty unless '
1409
+ # enable_restriction' is True. You can specify a list of individual services, as
1410
+ # well as include the 'RESTRICTED-SERVICES' value, which automatically includes
1411
+ # all of the services protected by the perimeter.
1632
1412
  # Corresponds to the JSON property `allowedServices`
1633
1413
  # @return [Array<String>]
1634
1414
  attr_accessor :allowed_services
1635
1415
 
1636
- # Whether to restrict API calls within the Service Perimeter to the list of
1637
- # APIs specified in 'allowed_services'.
1416
+ # Whether to restrict API calls within the Service Perimeter to the list of APIs
1417
+ # specified in 'allowed_services'.
1638
1418
  # Corresponds to the JSON property `enableRestriction`
1639
1419
  # @return [Boolean]
1640
1420
  attr_accessor :enable_restriction
@@ -1661,90 +1441,52 @@ module Google
1661
1441
  attr_accessor :explanation
1662
1442
 
1663
1443
  # An Identity and Access Management (IAM) policy, which specifies access
1664
- # controls for Google Cloud resources.
1665
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1666
- # `members` to a single `role`. Members can be user accounts, service accounts,
1667
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1668
- # permissions; each `role` can be an IAM predefined role or a user-created
1669
- # custom role.
1670
- # For some types of Google Cloud resources, a `binding` can also specify a
1671
- # `condition`, which is a logical expression that allows access to a resource
1672
- # only if the expression evaluates to `true`. A condition can add constraints
1673
- # based on attributes of the request, the resource, or both. To learn which
1674
- # resources support conditions in their IAM policies, see the
1675
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1676
- # policies).
1677
- # **JSON example:**
1678
- # `
1679
- # "bindings": [
1680
- # `
1681
- # "role": "roles/resourcemanager.organizationAdmin",
1682
- # "members": [
1683
- # "user:mike@example.com",
1684
- # "group:admins@example.com",
1685
- # "domain:google.com",
1686
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1687
- # ]
1688
- # `,
1689
- # `
1690
- # "role": "roles/resourcemanager.organizationViewer",
1691
- # "members": [
1692
- # "user:eve@example.com"
1693
- # ],
1694
- # "condition": `
1695
- # "title": "expirable access",
1696
- # "description": "Does not grant access after Sep 2020",
1697
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1698
- # ",
1699
- # `
1700
- # `
1701
- # ],
1702
- # "etag": "BwWWja0YfJA=",
1703
- # "version": 3
1704
- # `
1705
- # **YAML example:**
1706
- # bindings:
1707
- # - members:
1708
- # - user:mike@example.com
1709
- # - group:admins@example.com
1710
- # - domain:google.com
1711
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1712
- # role: roles/resourcemanager.organizationAdmin
1713
- # - members:
1714
- # - user:eve@example.com
1715
- # role: roles/resourcemanager.organizationViewer
1716
- # condition:
1717
- # title: expirable access
1718
- # description: Does not grant access after Sep 2020
1719
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1720
- # - etag: BwWWja0YfJA=
1721
- # - version: 3
1722
- # For a description of IAM and its features, see the
1723
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1444
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1445
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1446
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1447
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1448
+ # role or a user-created custom role. For some types of Google Cloud resources,
1449
+ # a `binding` can also specify a `condition`, which is a logical expression that
1450
+ # allows access to a resource only if the expression evaluates to `true`. A
1451
+ # condition can add constraints based on attributes of the request, the resource,
1452
+ # or both. To learn which resources support conditions in their IAM policies,
1453
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1454
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1455
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1456
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1457
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1458
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1459
+ # title": "expirable access", "description": "Does not grant access after Sep
1460
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1461
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1462
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1463
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1464
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1465
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1466
+ # description: Does not grant access after Sep 2020 expression: request.time <
1467
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1468
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1469
+ # google.com/iam/docs/).
1724
1470
  # Corresponds to the JSON property `policy`
1725
1471
  # @return [Google::Apis::CloudassetV1::Policy]
1726
1472
  attr_accessor :policy
1727
1473
 
1728
1474
  # The project that the associated GCP resource belongs to, in the form of
1729
1475
  # projects/`PROJECT_NUMBER`. If an IAM policy is set on a resource (like VM
1730
- # instance, Cloud Storage bucket), the project field will indicate the
1731
- # project that contains the resource. If an IAM policy is set on a folder or
1732
- # orgnization, the project field will be empty.
1733
- # To search against the `project`:
1734
- # * specify the `scope` field as this project in your search request.
1476
+ # instance, Cloud Storage bucket), the project field will indicate the project
1477
+ # that contains the resource. If an IAM policy is set on a folder or orgnization,
1478
+ # the project field will be empty. To search against the `project`: * specify
1479
+ # the `scope` field as this project in your search request.
1735
1480
  # Corresponds to the JSON property `project`
1736
1481
  # @return [String]
1737
1482
  attr_accessor :project
1738
1483
 
1739
1484
  # The full resource name of the resource associated with this IAM policy.
1740
- # Example:
1741
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
1742
- # instance1`.
1743
- # See [Cloud Asset Inventory Resource Name
1744
- # Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
1745
- # for more information.
1746
- # To search against the `resource`:
1747
- # * use a field query. Example: `resource : "organizations/123"`
1485
+ # Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/
1486
+ # instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://
1487
+ # cloud.google.com/asset-inventory/docs/resource-name-format) for more
1488
+ # information. To search against the `resource`: * use a field query. Example: `
1489
+ # resource:organizations/123`
1748
1490
  # Corresponds to the JSON property `resource`
1749
1491
  # @return [String]
1750
1492
  attr_accessor :resource
@@ -1786,47 +1528,45 @@ module Google
1786
1528
  class Operation
1787
1529
  include Google::Apis::Core::Hashable
1788
1530
 
1789
- # If the value is `false`, it means the operation is still in progress.
1790
- # If `true`, the operation is completed, and either `error` or `response` is
1791
- # available.
1531
+ # If the value is `false`, it means the operation is still in progress. If `true`
1532
+ # , the operation is completed, and either `error` or `response` is available.
1792
1533
  # Corresponds to the JSON property `done`
1793
1534
  # @return [Boolean]
1794
1535
  attr_accessor :done
1795
1536
  alias_method :done?, :done
1796
1537
 
1797
- # The `Status` type defines a logical error model that is suitable for
1798
- # different programming environments, including REST APIs and RPC APIs. It is
1799
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1800
- # three pieces of data: error code, error message, and error details.
1801
- # You can find out more about this error model and how to work with it in the
1802
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1538
+ # The `Status` type defines a logical error model that is suitable for different
1539
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1540
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1541
+ # data: error code, error message, and error details. You can find out more
1542
+ # about this error model and how to work with it in the [API Design Guide](https:
1543
+ # //cloud.google.com/apis/design/errors).
1803
1544
  # Corresponds to the JSON property `error`
1804
1545
  # @return [Google::Apis::CloudassetV1::Status]
1805
1546
  attr_accessor :error
1806
1547
 
1807
- # Service-specific metadata associated with the operation. It typically
1808
- # contains progress information and common metadata such as create time.
1809
- # Some services might not provide such metadata. Any method that returns a
1810
- # long-running operation should document the metadata type, if any.
1548
+ # Service-specific metadata associated with the operation. It typically contains
1549
+ # progress information and common metadata such as create time. Some services
1550
+ # might not provide such metadata. Any method that returns a long-running
1551
+ # operation should document the metadata type, if any.
1811
1552
  # Corresponds to the JSON property `metadata`
1812
1553
  # @return [Hash<String,Object>]
1813
1554
  attr_accessor :metadata
1814
1555
 
1815
1556
  # The server-assigned name, which is only unique within the same service that
1816
- # originally returns it. If you use the default HTTP mapping, the
1817
- # `name` should be a resource name ending with `operations/`unique_id``.
1557
+ # originally returns it. If you use the default HTTP mapping, the `name` should
1558
+ # be a resource name ending with `operations/`unique_id``.
1818
1559
  # Corresponds to the JSON property `name`
1819
1560
  # @return [String]
1820
1561
  attr_accessor :name
1821
1562
 
1822
- # The normal response of the operation in case of success. If the original
1823
- # method returns no data on success, such as `Delete`, the response is
1824
- # `google.protobuf.Empty`. If the original method is standard
1825
- # `Get`/`Create`/`Update`, the response should be the resource. For other
1826
- # methods, the response should have the type `XxxResponse`, where `Xxx`
1827
- # is the original method name. For example, if the original method name
1828
- # is `TakeSnapshot()`, the inferred response type is
1829
- # `TakeSnapshotResponse`.
1563
+ # The normal response of the operation in case of success. If the original
1564
+ # method returns no data on success, such as `Delete`, the response is `google.
1565
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1566
+ # the response should be the resource. For other methods, the response should
1567
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
1568
+ # example, if the original method name is `TakeSnapshot()`, the inferred
1569
+ # response type is `TakeSnapshotResponse`.
1830
1570
  # Corresponds to the JSON property `response`
1831
1571
  # @return [Hash<String,Object>]
1832
1572
  attr_accessor :response
@@ -1890,66 +1630,32 @@ module Google
1890
1630
  end
1891
1631
 
1892
1632
  # An Identity and Access Management (IAM) policy, which specifies access
1893
- # controls for Google Cloud resources.
1894
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1895
- # `members` to a single `role`. Members can be user accounts, service accounts,
1896
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1897
- # permissions; each `role` can be an IAM predefined role or a user-created
1898
- # custom role.
1899
- # For some types of Google Cloud resources, a `binding` can also specify a
1900
- # `condition`, which is a logical expression that allows access to a resource
1901
- # only if the expression evaluates to `true`. A condition can add constraints
1902
- # based on attributes of the request, the resource, or both. To learn which
1903
- # resources support conditions in their IAM policies, see the
1904
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1905
- # policies).
1906
- # **JSON example:**
1907
- # `
1908
- # "bindings": [
1909
- # `
1910
- # "role": "roles/resourcemanager.organizationAdmin",
1911
- # "members": [
1912
- # "user:mike@example.com",
1913
- # "group:admins@example.com",
1914
- # "domain:google.com",
1915
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1916
- # ]
1917
- # `,
1918
- # `
1919
- # "role": "roles/resourcemanager.organizationViewer",
1920
- # "members": [
1921
- # "user:eve@example.com"
1922
- # ],
1923
- # "condition": `
1924
- # "title": "expirable access",
1925
- # "description": "Does not grant access after Sep 2020",
1926
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1927
- # ",
1928
- # `
1929
- # `
1930
- # ],
1931
- # "etag": "BwWWja0YfJA=",
1932
- # "version": 3
1933
- # `
1934
- # **YAML example:**
1935
- # bindings:
1936
- # - members:
1937
- # - user:mike@example.com
1938
- # - group:admins@example.com
1939
- # - domain:google.com
1940
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1941
- # role: roles/resourcemanager.organizationAdmin
1942
- # - members:
1943
- # - user:eve@example.com
1944
- # role: roles/resourcemanager.organizationViewer
1945
- # condition:
1946
- # title: expirable access
1947
- # description: Does not grant access after Sep 2020
1948
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1949
- # - etag: BwWWja0YfJA=
1950
- # - version: 3
1951
- # For a description of IAM and its features, see the
1952
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1633
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1634
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1635
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1636
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1637
+ # role or a user-created custom role. For some types of Google Cloud resources,
1638
+ # a `binding` can also specify a `condition`, which is a logical expression that
1639
+ # allows access to a resource only if the expression evaluates to `true`. A
1640
+ # condition can add constraints based on attributes of the request, the resource,
1641
+ # or both. To learn which resources support conditions in their IAM policies,
1642
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1643
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1644
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1645
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1646
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1647
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1648
+ # title": "expirable access", "description": "Does not grant access after Sep
1649
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1650
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1651
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1652
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1653
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1654
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1655
+ # description: Does not grant access after Sep 2020 expression: request.time <
1656
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1657
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1658
+ # google.com/iam/docs/).
1953
1659
  class Policy
1954
1660
  include Google::Apis::Core::Hashable
1955
1661
 
@@ -1958,48 +1664,44 @@ module Google
1958
1664
  # @return [Array<Google::Apis::CloudassetV1::AuditConfig>]
1959
1665
  attr_accessor :audit_configs
1960
1666
 
1961
- # Associates a list of `members` to a `role`. Optionally, may specify a
1962
- # `condition` that determines how and when the `bindings` are applied. Each
1963
- # of the `bindings` must contain at least one member.
1667
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
1668
+ # condition` that determines how and when the `bindings` are applied. Each of
1669
+ # the `bindings` must contain at least one member.
1964
1670
  # Corresponds to the JSON property `bindings`
1965
1671
  # @return [Array<Google::Apis::CloudassetV1::Binding>]
1966
1672
  attr_accessor :bindings
1967
1673
 
1968
- # `etag` is used for optimistic concurrency control as a way to help
1969
- # prevent simultaneous updates of a policy from overwriting each other.
1970
- # It is strongly suggested that systems make use of the `etag` in the
1971
- # read-modify-write cycle to perform policy updates in order to avoid race
1972
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1973
- # systems are expected to put that etag in the request to `setIamPolicy` to
1974
- # ensure that their change will be applied to the same version of the policy.
1975
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1976
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1977
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1978
- # the conditions in the version `3` policy are lost.
1674
+ # `etag` is used for optimistic concurrency control as a way to help prevent
1675
+ # simultaneous updates of a policy from overwriting each other. It is strongly
1676
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
1677
+ # to perform policy updates in order to avoid race conditions: An `etag` is
1678
+ # returned in the response to `getIamPolicy`, and systems are expected to put
1679
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
1680
+ # applied to the same version of the policy. **Important:** If you use IAM
1681
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1682
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
1683
+ # with a version `1` policy, and all of the conditions in the version `3` policy
1684
+ # are lost.
1979
1685
  # Corresponds to the JSON property `etag`
1980
1686
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1981
1687
  # @return [String]
1982
1688
  attr_accessor :etag
1983
1689
 
1984
- # Specifies the format of the policy.
1985
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1986
- # are rejected.
1987
- # Any operation that affects conditional role bindings must specify version
1988
- # `3`. This requirement applies to the following operations:
1989
- # * Getting a policy that includes a conditional role binding
1990
- # * Adding a conditional role binding to a policy
1991
- # * Changing a conditional role binding in a policy
1992
- # * Removing any role binding, with or without a condition, from a policy
1993
- # that includes conditions
1994
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1995
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1996
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1997
- # the conditions in the version `3` policy are lost.
1998
- # If a policy does not include any conditions, operations on that policy may
1999
- # specify any valid version or leave the field unset.
2000
- # To learn which resources support conditions in their IAM policies, see the
2001
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2002
- # policies).
1690
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1691
+ # Requests that specify an invalid value are rejected. Any operation that
1692
+ # affects conditional role bindings must specify version `3`. This requirement
1693
+ # applies to the following operations: * Getting a policy that includes a
1694
+ # conditional role binding * Adding a conditional role binding to a policy *
1695
+ # Changing a conditional role binding in a policy * Removing any role binding,
1696
+ # with or without a condition, from a policy that includes conditions **
1697
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1698
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1699
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1700
+ # conditions in the version `3` policy are lost. If a policy does not include
1701
+ # any conditions, operations on that policy may specify any valid version or
1702
+ # leave the field unset. To learn which resources support conditions in their
1703
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1704
+ # conditions/resource-policies).
2003
1705
  # Corresponds to the JSON property `version`
2004
1706
  # @return [Fixnum]
2005
1707
  attr_accessor :version
@@ -2021,8 +1723,8 @@ module Google
2021
1723
  class PubsubDestination
2022
1724
  include Google::Apis::Core::Hashable
2023
1725
 
2024
- # The name of the Pub/Sub topic to publish to.
2025
- # Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
1726
+ # The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/
1727
+ # topics/TOPIC_ID`.
2026
1728
  # Corresponds to the JSON property `topic`
2027
1729
  # @return [String]
2028
1730
  attr_accessor :topic
@@ -2041,53 +1743,48 @@ module Google
2041
1743
  class Resource
2042
1744
  include Google::Apis::Core::Hashable
2043
1745
 
2044
- # The content of the resource, in which some sensitive fields are removed
2045
- # and may not be present.
1746
+ # The content of the resource, in which some sensitive fields are removed and
1747
+ # may not be present.
2046
1748
  # Corresponds to the JSON property `data`
2047
1749
  # @return [Hash<String,Object>]
2048
1750
  attr_accessor :data
2049
1751
 
2050
1752
  # The URL of the discovery document containing the resource's JSON schema.
2051
- # Example:
2052
- # `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
2053
- # This value is unspecified for resources that do not have an API based on a
1753
+ # Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This
1754
+ # value is unspecified for resources that do not have an API based on a
2054
1755
  # discovery document, such as Cloud Bigtable.
2055
1756
  # Corresponds to the JSON property `discoveryDocumentUri`
2056
1757
  # @return [String]
2057
1758
  attr_accessor :discovery_document_uri
2058
1759
 
2059
- # The JSON schema name listed in the discovery document. Example:
2060
- # `Project`
2061
- # This value is unspecified for resources that do not have an API based on a
1760
+ # The JSON schema name listed in the discovery document. Example: `Project` This
1761
+ # value is unspecified for resources that do not have an API based on a
2062
1762
  # discovery document, such as Cloud Bigtable.
2063
1763
  # Corresponds to the JSON property `discoveryName`
2064
1764
  # @return [String]
2065
1765
  attr_accessor :discovery_name
2066
1766
 
2067
- # The location of the resource in Google Cloud, such as its zone and region.
2068
- # For more information, see https://cloud.google.com/about/locations/.
1767
+ # The location of the resource in Google Cloud, such as its zone and region. For
1768
+ # more information, see https://cloud.google.com/about/locations/.
2069
1769
  # Corresponds to the JSON property `location`
2070
1770
  # @return [String]
2071
1771
  attr_accessor :location
2072
1772
 
2073
- # The full name of the immediate parent of this resource. See
2074
- # [Resource
2075
- # Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
2076
- # for more information.
2077
- # For Google Cloud assets, this value is the parent resource defined in the
2078
- # [Cloud IAM policy
2079
- # hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
2080
- # Example:
2081
- # `//cloudresourcemanager.googleapis.com/projects/my_project_123`
2082
- # For third-party assets, this field may be set differently.
1773
+ # The full name of the immediate parent of this resource. See [Resource Names](
1774
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name) for
1775
+ # more information. For Google Cloud assets, this value is the parent resource
1776
+ # defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/
1777
+ # overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/
1778
+ # projects/my_project_123` For third-party assets, this field may be set
1779
+ # differently.
2083
1780
  # Corresponds to the JSON property `parent`
2084
1781
  # @return [String]
2085
1782
  attr_accessor :parent
2086
1783
 
2087
- # The REST URL for accessing the resource. An HTTP `GET` request using this
2088
- # URL returns the resource itself. Example:
2089
- # `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
2090
- # This value is unspecified for resources without a REST API.
1784
+ # The REST URL for accessing the resource. An HTTP `GET` request using this URL
1785
+ # returns the resource itself. Example: `https://cloudresourcemanager.googleapis.
1786
+ # com/v1/projects/my-project-123` This value is unspecified for resources
1787
+ # without a REST API.
2091
1788
  # Corresponds to the JSON property `resourceUrl`
2092
1789
  # @return [String]
2093
1790
  attr_accessor :resource_url
@@ -2117,103 +1814,86 @@ module Google
2117
1814
  class ResourceSearchResult
2118
1815
  include Google::Apis::Core::Hashable
2119
1816
 
2120
- # The additional searchable attributes of this resource. The attributes may
2121
- # vary from one resource type to another. Examples: `projectId` for Project,
2122
- # `dnsName` for DNS ManagedZone. This field contains a subset of the resource
2123
- # metadata fields that are returned by the List or Get APIs provided by the
2124
- # corresponding GCP service (e.g., Compute Engine). see [API references and
2125
- # supported searchable
2126
- # attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-
2127
- # types#searchable_asset_types)
2128
- # for more information.
2129
- # You can search values of these fields through free text search. However,
2130
- # you should not consume the field programically as the field names and
2131
- # values may change as the GCP service updates to a new incompatible API
2132
- # version.
2133
- # To search against the `additional_attributes`:
2134
- # * use a free text query to match the attributes values. Example: to search
2135
- # `additional_attributes = ` dnsName: "foobar" ``, you can issue a query
2136
- # `"foobar"`.
1817
+ # The additional searchable attributes of this resource. The attributes may vary
1818
+ # from one resource type to another. Examples: `projectId` for Project, `dnsName`
1819
+ # for DNS ManagedZone. This field contains a subset of the resource metadata
1820
+ # fields that are returned by the List or Get APIs provided by the corresponding
1821
+ # GCP service (e.g., Compute Engine). see [API references and supported
1822
+ # searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-
1823
+ # asset-types#searchable_asset_types) for more information. You can search
1824
+ # values of these fields through free text search. However, you should not
1825
+ # consume the field programically as the field names and values may change as
1826
+ # the GCP service updates to a new incompatible API version. To search against
1827
+ # the `additional_attributes`: * use a free text query to match the attributes
1828
+ # values. Example: to search `additional_attributes = ` dnsName: "foobar" ``,
1829
+ # you can issue a query `foobar`.
2137
1830
  # Corresponds to the JSON property `additionalAttributes`
2138
1831
  # @return [Hash<String,Object>]
2139
1832
  attr_accessor :additional_attributes
2140
1833
 
2141
- # The type of this resource. Example: `compute.googleapis.com/Disk`.
2142
- # To search against the `asset_type`:
2143
- # * specify the `asset_type` field in your search request.
1834
+ # The type of this resource. Example: `compute.googleapis.com/Disk`. To search
1835
+ # against the `asset_type`: * specify the `asset_type` field in your search
1836
+ # request.
2144
1837
  # Corresponds to the JSON property `assetType`
2145
1838
  # @return [String]
2146
1839
  attr_accessor :asset_type
2147
1840
 
2148
1841
  # One or more paragraphs of text description of this resource. Maximum length
2149
- # could be up to 1M bytes.
2150
- # To search against the `description`:
2151
- # * use a field query. Example: `description : "*important instance*"`
2152
- # * use a free text query. Example: `"*important instance*"`
1842
+ # could be up to 1M bytes. To search against the `description`: * use a field
1843
+ # query. Example: `description:"*important instance*"` * use a free text query.
1844
+ # Example: `"*important instance*"`
2153
1845
  # Corresponds to the JSON property `description`
2154
1846
  # @return [String]
2155
1847
  attr_accessor :description
2156
1848
 
2157
- # The display name of this resource.
2158
- # To search against the `display_name`:
2159
- # * use a field query. Example: `displayName : "My Instance"`
2160
- # * use a free text query. Example: `"My Instance"`
1849
+ # The display name of this resource. To search against the `display_name`: * use
1850
+ # a field query. Example: `displayName:"My Instance"` * use a free text query.
1851
+ # Example: `"My Instance"`
2161
1852
  # Corresponds to the JSON property `displayName`
2162
1853
  # @return [String]
2163
1854
  attr_accessor :display_name
2164
1855
 
2165
1856
  # Labels associated with this resource. See [Labelling and grouping GCP
2166
1857
  # resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-
2167
- # your-google-cloud-platform-resources)
2168
- # for more information.
2169
- # To search against the `labels`:
2170
- # * use a field query, as following:
2171
- # - query on any label's key or value. Example: `labels : "prod"`
2172
- # - query by a given label. Example: `labels.env : "prod"`
2173
- # - query by a given label'sexistence. Example: `labels.env : *`
2174
- # * use a free text query. Example: `"prod"`
1858
+ # your-google-cloud-platform-resources) for more information. To search against
1859
+ # the `labels`: * use a field query: - query on any label's key or value.
1860
+ # Example: `labels:prod` - query by a given label. Example: `labels.env:prod` -
1861
+ # query by a given label's existence. Example: `labels.env:*` * use a free text
1862
+ # query. Example: `prod`
2175
1863
  # Corresponds to the JSON property `labels`
2176
1864
  # @return [Hash<String,String>]
2177
1865
  attr_accessor :labels
2178
1866
 
2179
- # Location can be `global`, regional like `us-east1`, or zonal like
2180
- # `us-west1-b`.
2181
- # To search against the `location`:
2182
- # * use a field query. Example: `location : "us-west*"`
2183
- # * use a free text query. Example: `"us-west*"`
1867
+ # Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`.
1868
+ # To search against the `location`: * use a field query. Example: `location:us-
1869
+ # west*` * use a free text query. Example: `us-west*`
2184
1870
  # Corresponds to the JSON property `location`
2185
1871
  # @return [String]
2186
1872
  attr_accessor :location
2187
1873
 
2188
- # The full resource name of this resource. Example:
2189
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
2190
- # instance1`.
2191
- # See [Cloud Asset Inventory Resource Name
2192
- # Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
2193
- # for more information.
2194
- # To search against the `name`:
2195
- # * use a field query. Example: `name : "instance1"`
2196
- # * use a free text query. Example: `"instance1"`
1874
+ # The full resource name of this resource. Example: `//compute.googleapis.com/
1875
+ # projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset
1876
+ # Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/
1877
+ # resource-name-format) for more information. To search against the `name`: *
1878
+ # use a field query. Example: `name:instance1` * use a free text query. Example:
1879
+ # `instance1`
2197
1880
  # Corresponds to the JSON property `name`
2198
1881
  # @return [String]
2199
1882
  attr_accessor :name
2200
1883
 
2201
1884
  # Network tags associated with this resource. Like labels, network tags are a
2202
- # type of annotations used to group GCP resources. See [Labelling GCP
2203
- # resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-
2204
- # your-google-cloud-platform-resources)
2205
- # for more information.
2206
- # To search against the `network_tags`:
2207
- # * use a field query. Example: `networkTags : "internal"`
2208
- # * use a free text query. Example: `"internal"`
1885
+ # type of annotations used to group GCP resources. See [Labelling GCP resources](
1886
+ # https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-
1887
+ # cloud-platform-resources) for more information. To search against the `
1888
+ # network_tags`: * use a field query. Example: `networkTags:internal` * use a
1889
+ # free text query. Example: `internal`
2209
1890
  # Corresponds to the JSON property `networkTags`
2210
1891
  # @return [Array<String>]
2211
1892
  attr_accessor :network_tags
2212
1893
 
2213
- # The project that this resource belongs to, in the form of
2214
- # projects/`PROJECT_NUMBER`.
2215
- # To search against the `project`:
2216
- # * specify the `scope` field as this project in your search request.
1894
+ # The project that this resource belongs to, in the form of projects/`
1895
+ # PROJECT_NUMBER`. To search against the `project`: * specify the `scope` field
1896
+ # as this project in your search request.
2217
1897
  # Corresponds to the JSON property `project`
2218
1898
  # @return [String]
2219
1899
  attr_accessor :project
@@ -2241,14 +1921,14 @@ module Google
2241
1921
  include Google::Apis::Core::Hashable
2242
1922
 
2243
1923
  # Set if there are more results than those appearing in this response; to get
2244
- # the next set of results, call this method again, using this value as the
2245
- # `page_token`.
1924
+ # the next set of results, call this method again, using this value as the `
1925
+ # page_token`.
2246
1926
  # Corresponds to the JSON property `nextPageToken`
2247
1927
  # @return [String]
2248
1928
  attr_accessor :next_page_token
2249
1929
 
2250
- # A list of IamPolicy that match the search query. Related information such
2251
- # as the associated resource is returned along with the policy.
1930
+ # A list of IamPolicy that match the search query. Related information such as
1931
+ # the associated resource is returned along with the policy.
2252
1932
  # Corresponds to the JSON property `results`
2253
1933
  # @return [Array<Google::Apis::CloudassetV1::IamPolicySearchResult>]
2254
1934
  attr_accessor :results
@@ -2268,9 +1948,9 @@ module Google
2268
1948
  class SearchAllResourcesResponse
2269
1949
  include Google::Apis::Core::Hashable
2270
1950
 
2271
- # If there are more results than those appearing in this response, then
2272
- # `next_page_token` is included. To get the next set of results, call this
2273
- # method again using the value of `next_page_token` as `page_token`.
1951
+ # If there are more results than those appearing in this response, then `
1952
+ # next_page_token` is included. To get the next set of results, call this method
1953
+ # again using the value of `next_page_token` as `page_token`.
2274
1954
  # Corresponds to the JSON property `nextPageToken`
2275
1955
  # @return [String]
2276
1956
  attr_accessor :next_page_token
@@ -2292,12 +1972,12 @@ module Google
2292
1972
  end
2293
1973
  end
2294
1974
 
2295
- # The `Status` type defines a logical error model that is suitable for
2296
- # different programming environments, including REST APIs and RPC APIs. It is
2297
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2298
- # three pieces of data: error code, error message, and error details.
2299
- # You can find out more about this error model and how to work with it in the
2300
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1975
+ # The `Status` type defines a logical error model that is suitable for different
1976
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1977
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1978
+ # data: error code, error message, and error details. You can find out more
1979
+ # about this error model and how to work with it in the [API Design Guide](https:
1980
+ # //cloud.google.com/apis/design/errors).
2301
1981
  class Status
2302
1982
  include Google::Apis::Core::Hashable
2303
1983
 
@@ -2306,15 +1986,15 @@ module Google
2306
1986
  # @return [Fixnum]
2307
1987
  attr_accessor :code
2308
1988
 
2309
- # A list of messages that carry the error details. There is a common set of
1989
+ # A list of messages that carry the error details. There is a common set of
2310
1990
  # message types for APIs to use.
2311
1991
  # Corresponds to the JSON property `details`
2312
1992
  # @return [Array<Hash<String,Object>>]
2313
1993
  attr_accessor :details
2314
1994
 
2315
- # A developer-facing error message, which should be in English. Any
2316
- # user-facing error message should be localized and sent in the
2317
- # google.rpc.Status.details field, or localized by the client.
1995
+ # A developer-facing error message, which should be in English. Any user-facing
1996
+ # error message should be localized and sent in the google.rpc.Status.details
1997
+ # field, or localized by the client.
2318
1998
  # Corresponds to the JSON property `message`
2319
1999
  # @return [String]
2320
2000
  attr_accessor :message
@@ -2336,15 +2016,12 @@ module Google
2336
2016
  class TemporalAsset
2337
2017
  include Google::Apis::Core::Hashable
2338
2018
 
2339
- # An asset in Google Cloud. An asset can be any resource in the Google Cloud
2340
- # [resource
2341
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
2342
- # resource-hierarchy),
2343
- # a resource outside the Google Cloud resource hierarchy (such as Google
2344
- # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
2345
- # See [Supported asset
2346
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
2347
- # for more information.
2019
+ # An asset in Google Cloud. An asset can be any resource in the Google Cloud [
2020
+ # resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
2021
+ # platform-resource-hierarchy), a resource outside the Google Cloud resource
2022
+ # hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
2023
+ # (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
2024
+ # asset-inventory/docs/supported-asset-types) for more information.
2348
2025
  # Corresponds to the JSON property `asset`
2349
2026
  # @return [Google::Apis::CloudassetV1::Asset]
2350
2027
  attr_accessor :asset
@@ -2355,15 +2032,12 @@ module Google
2355
2032
  attr_accessor :deleted
2356
2033
  alias_method :deleted?, :deleted
2357
2034
 
2358
- # An asset in Google Cloud. An asset can be any resource in the Google Cloud
2359
- # [resource
2360
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
2361
- # resource-hierarchy),
2362
- # a resource outside the Google Cloud resource hierarchy (such as Google
2363
- # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
2364
- # See [Supported asset
2365
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
2366
- # for more information.
2035
+ # An asset in Google Cloud. An asset can be any resource in the Google Cloud [
2036
+ # resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
2037
+ # platform-resource-hierarchy), a resource outside the Google Cloud resource
2038
+ # hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
2039
+ # (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
2040
+ # asset-inventory/docs/supported-asset-types) for more information.
2367
2041
  # Corresponds to the JSON property `priorAsset`
2368
2042
  # @return [Google::Apis::CloudassetV1::Asset]
2369
2043
  attr_accessor :prior_asset
@@ -2422,18 +2096,17 @@ module Google
2422
2096
  class UpdateFeedRequest
2423
2097
  include Google::Apis::Core::Hashable
2424
2098
 
2425
- # An asset feed used to export asset updates to a destinations.
2426
- # An asset feed filter controls what updates are exported.
2427
- # The asset feed must be created within a project, organization, or
2428
- # folder. Supported destinations are:
2429
- # Pub/Sub topics.
2099
+ # An asset feed used to export asset updates to a destinations. An asset feed
2100
+ # filter controls what updates are exported. The asset feed must be created
2101
+ # within a project, organization, or folder. Supported destinations are: Pub/Sub
2102
+ # topics.
2430
2103
  # Corresponds to the JSON property `feed`
2431
2104
  # @return [Google::Apis::CloudassetV1::Feed]
2432
2105
  attr_accessor :feed
2433
2106
 
2434
- # Required. Only updates the `feed` fields indicated by this mask.
2435
- # The field mask must not be empty, and it must not contain fields that
2436
- # are immutable or only set by the server.
2107
+ # Required. Only updates the `feed` fields indicated by this mask. The field
2108
+ # mask must not be empty, and it must not contain fields that are immutable or
2109
+ # only set by the server.
2437
2110
  # Corresponds to the JSON property `updateMask`
2438
2111
  # @return [String]
2439
2112
  attr_accessor :update_mask