google-api-client 0.41.2 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (897) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +529 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +57 -83
  9. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -129
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  21. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  23. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  24. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  25. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  26. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  27. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  28. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  29. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  30. data/generated/google/apis/admin_directory_v1.rb +6 -8
  31. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  32. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  33. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  34. data/generated/google/apis/admin_reports_v1.rb +6 -5
  35. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  36. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  37. data/generated/google/apis/admob_v1.rb +1 -1
  38. data/generated/google/apis/admob_v1/classes.rb +139 -268
  39. data/generated/google/apis/admob_v1/service.rb +11 -13
  40. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  41. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  42. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  43. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  44. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  45. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  46. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  47. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  48. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  50. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  53. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  56. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  57. data/generated/google/apis/apigee_v1.rb +6 -8
  58. data/generated/google/apis/apigee_v1/classes.rb +2060 -1099
  59. data/generated/google/apis/apigee_v1/representations.rb +593 -0
  60. data/generated/google/apis/apigee_v1/service.rb +2596 -1692
  61. data/generated/google/apis/appengine_v1.rb +1 -1
  62. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  63. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  64. data/generated/google/apis/appengine_v1/service.rb +38 -44
  65. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  66. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  67. data/generated/google/apis/appengine_v1beta.rb +1 -1
  68. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  69. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  70. data/generated/google/apis/appengine_v1beta/service.rb +37 -43
  71. data/generated/google/apis/appsmarket_v2.rb +1 -1
  72. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  73. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  74. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  75. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  76. data/generated/google/apis/bigquery_v2.rb +1 -1
  77. data/generated/google/apis/bigquery_v2/classes.rb +538 -541
  78. data/generated/google/apis/bigquery_v2/representations.rb +71 -0
  79. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  80. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  81. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  82. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  83. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  84. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  85. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  86. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  87. data/generated/google/apis/bigqueryreservation_v1/classes.rb +146 -119
  88. data/generated/google/apis/bigqueryreservation_v1/representations.rb +18 -0
  89. data/generated/google/apis/bigqueryreservation_v1/service.rb +174 -160
  90. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  91. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  92. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  93. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +99 -96
  95. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +3 -0
  96. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  97. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  98. data/generated/google/apis/bigtableadmin_v1/classes.rb +317 -0
  99. data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
  100. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  101. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -0
  102. data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
  103. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  104. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  105. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
  106. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  107. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  108. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  109. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  110. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  111. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  112. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  113. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  114. data/generated/google/apis/blogger_v2.rb +2 -3
  115. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  116. data/generated/google/apis/blogger_v2/service.rb +1 -2
  117. data/generated/google/apis/blogger_v3.rb +2 -3
  118. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  119. data/generated/google/apis/blogger_v3/service.rb +1 -2
  120. data/generated/google/apis/books_v1.rb +1 -1
  121. data/generated/google/apis/books_v1/classes.rb +140 -159
  122. data/generated/google/apis/books_v1/service.rb +47 -49
  123. data/generated/google/apis/calendar_v3.rb +1 -1
  124. data/generated/google/apis/chat_v1.rb +1 -1
  125. data/generated/google/apis/chat_v1/classes.rb +211 -106
  126. data/generated/google/apis/chat_v1/representations.rb +63 -0
  127. data/generated/google/apis/chat_v1/service.rb +95 -36
  128. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  129. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  130. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  131. data/generated/google/apis/civicinfo_v2.rb +1 -1
  132. data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
  133. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  134. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  135. data/generated/google/apis/classroom_v1.rb +1 -1
  136. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  137. data/generated/google/apis/classroom_v1/service.rb +645 -900
  138. data/generated/google/apis/cloudasset_v1.rb +1 -1
  139. data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
  140. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  141. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  143. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  144. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  145. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  146. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  147. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  148. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  149. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  150. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
  151. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
  152. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  153. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
  154. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  155. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  156. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  157. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  158. data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
  159. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  160. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  161. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  162. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  163. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  164. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  165. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  166. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  167. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  168. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  169. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  170. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  171. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  172. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  173. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  174. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  175. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  176. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  177. data/generated/google/apis/cloudfunctions_v1/classes.rb +333 -534
  178. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  179. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  180. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  181. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  182. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  183. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  184. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  185. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
  186. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
  187. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  188. data/generated/google/apis/cloudiot_v1.rb +1 -1
  189. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  190. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  191. data/generated/google/apis/cloudkms_v1.rb +1 -1
  192. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  193. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  194. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  195. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  196. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  197. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  198. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  199. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  200. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  201. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  203. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  204. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  205. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  206. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  207. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  208. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  209. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  210. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  211. data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
  212. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  213. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  214. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  215. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
  216. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  217. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  218. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  219. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  220. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  221. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  222. data/generated/google/apis/cloudshell_v1.rb +1 -1
  223. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  224. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  225. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  226. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  227. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
  228. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  229. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  230. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  231. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  232. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  234. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  235. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  236. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  237. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  238. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  239. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
  240. data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
  241. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  242. data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
  243. data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
  244. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  245. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  246. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  247. data/generated/google/apis/composer_v1.rb +1 -1
  248. data/generated/google/apis/composer_v1/classes.rb +190 -242
  249. data/generated/google/apis/composer_v1/service.rb +79 -150
  250. data/generated/google/apis/composer_v1beta1.rb +1 -1
  251. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  252. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  253. data/generated/google/apis/compute_alpha.rb +1 -1
  254. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  255. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  256. data/generated/google/apis/compute_alpha/service.rb +710 -699
  257. data/generated/google/apis/compute_beta.rb +1 -1
  258. data/generated/google/apis/compute_beta/classes.rb +879 -75
  259. data/generated/google/apis/compute_beta/representations.rb +204 -1
  260. data/generated/google/apis/compute_beta/service.rb +875 -607
  261. data/generated/google/apis/compute_v1.rb +1 -1
  262. data/generated/google/apis/compute_v1/classes.rb +1324 -130
  263. data/generated/google/apis/compute_v1/representations.rb +480 -15
  264. data/generated/google/apis/compute_v1/service.rb +1076 -43
  265. data/generated/google/apis/container_v1.rb +1 -1
  266. data/generated/google/apis/container_v1/classes.rb +946 -961
  267. data/generated/google/apis/container_v1/representations.rb +69 -0
  268. data/generated/google/apis/container_v1/service.rb +435 -502
  269. data/generated/google/apis/container_v1beta1.rb +1 -1
  270. data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
  271. data/generated/google/apis/container_v1beta1/representations.rb +72 -0
  272. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  273. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  274. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  275. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  276. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  277. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  278. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  279. data/generated/google/apis/content_v2.rb +1 -1
  280. data/generated/google/apis/content_v2/classes.rb +20 -3
  281. data/generated/google/apis/content_v2/representations.rb +1 -0
  282. data/generated/google/apis/content_v2_1.rb +1 -1
  283. data/generated/google/apis/content_v2_1/classes.rb +112 -6
  284. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  285. data/generated/google/apis/content_v2_1/service.rb +53 -2
  286. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  287. data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
  288. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  289. data/generated/google/apis/customsearch_v1/service.rb +461 -0
  290. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  291. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
  292. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  293. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  294. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
  295. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  296. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  297. data/generated/google/apis/datafusion_v1.rb +40 -0
  298. data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
  299. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -93
  300. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  301. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  302. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  303. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  304. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  305. data/generated/google/apis/dataproc_v1.rb +1 -1
  306. data/generated/google/apis/dataproc_v1/classes.rb +238 -329
  307. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  308. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  309. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  310. data/generated/google/apis/dataproc_v1beta2/classes.rb +263 -326
  311. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  312. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  313. data/generated/google/apis/datastore_v1.rb +1 -1
  314. data/generated/google/apis/datastore_v1/classes.rb +331 -473
  315. data/generated/google/apis/datastore_v1/service.rb +52 -63
  316. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  317. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  318. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  319. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  320. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  321. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  322. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  323. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  324. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  325. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  326. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  327. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  328. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  329. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  330. data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
  331. data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
  332. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  333. data/generated/google/apis/dialogflow_v2.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
  335. data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
  336. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  337. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  338. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1443 -1641
  339. data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
  340. data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -984
  341. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  342. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  343. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  344. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  345. data/generated/google/apis/displayvideo_v1.rb +7 -1
  346. data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1719
  347. data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
  348. data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
  349. data/generated/google/apis/dlp_v2.rb +1 -1
  350. data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
  351. data/generated/google/apis/dlp_v2/service.rb +962 -905
  352. data/generated/google/apis/dns_v1.rb +4 -4
  353. data/generated/google/apis/dns_v1/classes.rb +290 -162
  354. data/generated/google/apis/dns_v1/service.rb +232 -180
  355. data/generated/google/apis/dns_v1beta2.rb +1 -1
  356. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  357. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  358. data/generated/google/apis/docs_v1.rb +1 -1
  359. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  360. data/generated/google/apis/docs_v1/service.rb +17 -22
  361. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  362. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  363. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  364. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  365. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  366. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  367. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  368. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  369. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
  370. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  371. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  372. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
  373. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  374. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  375. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  376. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  377. data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
  378. data/generated/google/apis/drive_v2.rb +1 -1
  379. data/generated/google/apis/drive_v2/classes.rb +82 -8
  380. data/generated/google/apis/drive_v2/representations.rb +23 -0
  381. data/generated/google/apis/drive_v2/service.rb +102 -25
  382. data/generated/google/apis/drive_v3.rb +1 -1
  383. data/generated/google/apis/drive_v3/classes.rb +87 -8
  384. data/generated/google/apis/drive_v3/representations.rb +24 -0
  385. data/generated/google/apis/drive_v3/service.rb +67 -16
  386. data/generated/google/apis/driveactivity_v2.rb +1 -1
  387. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  388. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  389. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  390. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  391. data/generated/google/apis/fcm_v1.rb +1 -1
  392. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  393. data/generated/google/apis/fcm_v1/service.rb +5 -6
  394. data/generated/google/apis/file_v1.rb +1 -1
  395. data/generated/google/apis/file_v1/classes.rb +154 -173
  396. data/generated/google/apis/file_v1/service.rb +43 -52
  397. data/generated/google/apis/file_v1beta1.rb +1 -1
  398. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  399. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  400. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  401. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  402. data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
  403. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  404. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  405. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  406. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  407. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  408. data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
  409. data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
  410. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  411. data/generated/google/apis/{securitycenter_v1p1alpha1 → firebasehosting_v1}/service.rb +51 -82
  412. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  413. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -177
  414. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  415. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
  416. data/generated/google/apis/firebaseml_v1.rb +1 -1
  417. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  418. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  419. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  420. data/generated/google/apis/firebaseml_v1beta2/classes.rb +59 -68
  421. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  422. data/generated/google/apis/firebaserules_v1.rb +1 -1
  423. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  424. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  425. data/generated/google/apis/firestore_v1.rb +1 -1
  426. data/generated/google/apis/firestore_v1/classes.rb +506 -450
  427. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  428. data/generated/google/apis/firestore_v1/service.rb +227 -185
  429. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  430. data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
  431. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  432. data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
  433. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  434. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  435. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  436. data/generated/google/apis/fitness_v1.rb +1 -1
  437. data/generated/google/apis/fitness_v1/classes.rb +170 -208
  438. data/generated/google/apis/fitness_v1/service.rb +125 -146
  439. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  440. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  441. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  442. data/generated/google/apis/games_management_v1management.rb +2 -3
  443. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  444. data/generated/google/apis/games_management_v1management/service.rb +37 -38
  445. data/generated/google/apis/games_v1.rb +5 -4
  446. data/generated/google/apis/games_v1/classes.rb +320 -2085
  447. data/generated/google/apis/games_v1/representations.rb +14 -647
  448. data/generated/google/apis/games_v1/service.rb +161 -1109
  449. data/generated/google/apis/gameservices_v1.rb +1 -1
  450. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  451. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  452. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  453. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  454. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  455. data/generated/google/apis/genomics_v1.rb +1 -1
  456. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  457. data/generated/google/apis/genomics_v1/service.rb +28 -43
  458. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  459. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  460. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  461. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  462. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  463. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  464. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  465. data/generated/google/apis/gmail_v1.rb +3 -3
  466. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  467. data/generated/google/apis/gmail_v1/service.rb +263 -290
  468. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
  469. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  470. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  471. data/generated/google/apis/groupsmigration_v1.rb +3 -3
  472. data/generated/google/apis/groupsmigration_v1/service.rb +4 -4
  473. data/generated/google/apis/groupssettings_v1.rb +1 -1
  474. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  475. data/generated/google/apis/healthcare_v1.rb +1 -1
  476. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  477. data/generated/google/apis/healthcare_v1/service.rb +687 -806
  478. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  479. data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
  480. data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
  481. data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
  482. data/generated/google/apis/homegraph_v1.rb +1 -1
  483. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  484. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  485. data/generated/google/apis/iam_v1.rb +5 -2
  486. data/generated/google/apis/iam_v1/classes.rb +388 -573
  487. data/generated/google/apis/iam_v1/service.rb +430 -544
  488. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  489. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  490. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  491. data/generated/google/apis/iap_v1.rb +1 -1
  492. data/generated/google/apis/iap_v1/classes.rb +246 -355
  493. data/generated/google/apis/iap_v1/service.rb +61 -71
  494. data/generated/google/apis/iap_v1beta1.rb +1 -1
  495. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  496. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  497. data/generated/google/apis/indexing_v3.rb +1 -1
  498. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  499. data/generated/google/apis/kgsearch_v1.rb +1 -1
  500. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  501. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  502. data/generated/google/apis/language_v1.rb +1 -1
  503. data/generated/google/apis/language_v1/classes.rb +93 -111
  504. data/generated/google/apis/language_v1/service.rb +4 -4
  505. data/generated/google/apis/language_v1beta1.rb +1 -1
  506. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  507. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  508. data/generated/google/apis/language_v1beta2.rb +1 -1
  509. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  510. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  511. data/generated/google/apis/libraryagent_v1.rb +1 -1
  512. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  513. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  514. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  515. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  516. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  517. data/generated/google/apis/{androidpublisher_v1/classes.rb → localservices_v1.rb} +11 -6
  518. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  519. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  520. data/generated/google/apis/localservices_v1/service.rb +199 -0
  521. data/generated/google/apis/logging_v2.rb +1 -1
  522. data/generated/google/apis/logging_v2/classes.rb +174 -214
  523. data/generated/google/apis/logging_v2/representations.rb +15 -0
  524. data/generated/google/apis/logging_v2/service.rb +1017 -584
  525. data/generated/google/apis/managedidentities_v1.rb +1 -1
  526. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  527. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  528. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  529. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  530. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  531. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  532. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  533. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  534. data/generated/google/apis/manufacturers_v1.rb +1 -1
  535. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  536. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  537. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  538. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  539. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  540. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  541. data/generated/google/apis/ml_v1.rb +1 -1
  542. data/generated/google/apis/ml_v1/classes.rb +954 -1143
  543. data/generated/google/apis/ml_v1/representations.rb +64 -0
  544. data/generated/google/apis/ml_v1/service.rb +194 -253
  545. data/generated/google/apis/monitoring_v1.rb +1 -1
  546. data/generated/google/apis/monitoring_v1/classes.rb +117 -38
  547. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  548. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  549. data/generated/google/apis/monitoring_v3.rb +1 -1
  550. data/generated/google/apis/monitoring_v3/classes.rb +263 -315
  551. data/generated/google/apis/monitoring_v3/representations.rb +3 -0
  552. data/generated/google/apis/monitoring_v3/service.rb +126 -141
  553. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  554. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  555. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  556. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  557. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  558. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  559. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  560. data/generated/google/apis/osconfig_v1.rb +1 -1
  561. data/generated/google/apis/osconfig_v1/classes.rb +931 -179
  562. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  563. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  564. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  565. data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
  566. data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
  567. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  568. data/generated/google/apis/oslogin_v1.rb +1 -1
  569. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  570. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  571. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  572. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  573. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  574. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  575. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  576. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  577. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  578. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  579. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  580. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  581. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  582. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  583. data/generated/google/apis/people_v1.rb +1 -1
  584. data/generated/google/apis/people_v1/classes.rb +493 -403
  585. data/generated/google/apis/people_v1/representations.rb +98 -0
  586. data/generated/google/apis/people_v1/service.rb +169 -385
  587. data/generated/google/apis/playablelocations_v3.rb +1 -1
  588. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  589. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  590. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  591. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  592. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  593. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  594. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  595. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  596. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  597. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  598. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  599. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +128 -219
  600. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -32
  601. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  602. data/generated/google/apis/pubsub_v1.rb +1 -1
  603. data/generated/google/apis/pubsub_v1/classes.rb +407 -516
  604. data/generated/google/apis/pubsub_v1/representations.rb +3 -0
  605. data/generated/google/apis/pubsub_v1/service.rb +217 -252
  606. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  607. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  608. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  609. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  610. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  611. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  612. data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
  613. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  614. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  615. data/generated/google/apis/pubsublite_v1/service.rb +525 -0
  616. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  617. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  618. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  619. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  620. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
  621. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
  622. data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
  623. data/generated/google/apis/recommender_v1.rb +1 -1
  624. data/generated/google/apis/recommender_v1/classes.rb +271 -84
  625. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  626. data/generated/google/apis/recommender_v1/service.rb +143 -35
  627. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  628. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  629. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  630. data/generated/google/apis/redis_v1.rb +1 -1
  631. data/generated/google/apis/redis_v1/classes.rb +477 -116
  632. data/generated/google/apis/redis_v1/representations.rb +139 -0
  633. data/generated/google/apis/redis_v1/service.rb +93 -110
  634. data/generated/google/apis/redis_v1beta1.rb +1 -1
  635. data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
  636. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  637. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  638. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  639. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  640. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  641. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  642. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  643. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  644. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  645. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  646. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  647. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  648. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  649. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  650. data/generated/google/apis/reseller_v1.rb +4 -3
  651. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  652. data/generated/google/apis/reseller_v1/service.rb +247 -252
  653. data/generated/google/apis/run_v1.rb +2 -2
  654. data/generated/google/apis/run_v1/classes.rb +837 -1244
  655. data/generated/google/apis/run_v1/representations.rb +1 -1
  656. data/generated/google/apis/run_v1/service.rb +234 -248
  657. data/generated/google/apis/run_v1alpha1.rb +2 -2
  658. data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
  659. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  660. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  661. data/generated/google/apis/run_v1beta1.rb +2 -2
  662. data/generated/google/apis/run_v1beta1/classes.rb +210 -276
  663. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  664. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  665. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  666. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  667. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  668. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  669. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  670. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  671. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  672. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  673. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  674. data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
  675. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
  676. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  677. data/generated/google/apis/script_v1.rb +1 -1
  678. data/generated/google/apis/script_v1/classes.rb +88 -111
  679. data/generated/google/apis/script_v1/service.rb +63 -69
  680. data/generated/google/apis/searchconsole_v1.rb +4 -3
  681. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  682. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  683. data/generated/google/apis/secretmanager_v1.rb +1 -1
  684. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  685. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  686. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  687. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  688. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  689. data/generated/google/apis/securitycenter_v1.rb +1 -1
  690. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  691. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  692. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  693. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  694. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  695. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  696. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  697. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  698. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  699. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  700. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  701. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  702. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
  703. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  704. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  705. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  706. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  707. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  708. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  709. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  710. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  711. data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
  712. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  713. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  714. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  715. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  716. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  717. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  718. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  719. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  720. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  721. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  722. data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
  723. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  724. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  725. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  726. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  727. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  728. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  729. data/generated/google/apis/serviceusage_v1.rb +1 -1
  730. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  731. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  732. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  733. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  734. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  735. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  736. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  737. data/generated/google/apis/sheets_v4.rb +1 -1
  738. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  739. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  740. data/generated/google/apis/sheets_v4/service.rb +113 -149
  741. data/generated/google/apis/site_verification_v1.rb +1 -1
  742. data/generated/google/apis/slides_v1.rb +1 -1
  743. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  744. data/generated/google/apis/slides_v1/service.rb +23 -30
  745. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  746. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  747. data/generated/google/apis/spanner_v1.rb +1 -1
  748. data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
  749. data/generated/google/apis/spanner_v1/service.rb +443 -618
  750. data/generated/google/apis/speech_v1.rb +1 -1
  751. data/generated/google/apis/speech_v1/classes.rb +174 -220
  752. data/generated/google/apis/speech_v1/service.rb +27 -32
  753. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  754. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  755. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  756. data/generated/google/apis/speech_v2beta1.rb +1 -1
  757. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  758. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  759. data/generated/google/apis/sql_v1beta4.rb +1 -1
  760. data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
  761. data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
  762. data/generated/google/apis/sql_v1beta4/service.rb +49 -54
  763. data/generated/google/apis/storage_v1.rb +1 -1
  764. data/generated/google/apis/storage_v1/classes.rb +8 -7
  765. data/generated/google/apis/storage_v1/representations.rb +2 -2
  766. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  767. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  768. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  769. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  770. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  771. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  772. data/generated/google/apis/tagmanager_v1.rb +2 -3
  773. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  774. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  775. data/generated/google/apis/tagmanager_v2.rb +2 -3
  776. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  777. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  778. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  779. data/generated/google/apis/tasks_v1.rb +1 -1
  780. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  781. data/generated/google/apis/tasks_v1/service.rb +16 -17
  782. data/generated/google/apis/testing_v1.rb +1 -1
  783. data/generated/google/apis/testing_v1/classes.rb +383 -374
  784. data/generated/google/apis/testing_v1/representations.rb +35 -0
  785. data/generated/google/apis/testing_v1/service.rb +22 -28
  786. data/generated/google/apis/texttospeech_v1.rb +1 -1
  787. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  788. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  789. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  790. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  791. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  792. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  793. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  794. data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
  795. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  796. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  797. data/generated/google/apis/tpu_v1.rb +1 -1
  798. data/generated/google/apis/tpu_v1/classes.rb +79 -78
  799. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  800. data/generated/google/apis/tpu_v1/service.rb +21 -25
  801. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  802. data/generated/google/apis/tpu_v1alpha1/classes.rb +79 -78
  803. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  804. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  805. data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
  806. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  807. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  808. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  809. data/generated/google/apis/translate_v3.rb +1 -1
  810. data/generated/google/apis/translate_v3/classes.rb +148 -175
  811. data/generated/google/apis/translate_v3/service.rb +122 -138
  812. data/generated/google/apis/translate_v3beta1.rb +1 -1
  813. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  814. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  815. data/generated/google/apis/vectortile_v1.rb +1 -1
  816. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  817. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  818. data/generated/google/apis/videointelligence_v1.rb +1 -1
  819. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  820. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  821. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  822. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  823. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  824. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  825. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  826. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  827. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  828. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  829. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  830. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  831. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  832. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  833. data/generated/google/apis/vision_v1.rb +1 -1
  834. data/generated/google/apis/vision_v1/classes.rb +1304 -1868
  835. data/generated/google/apis/vision_v1/service.rb +254 -340
  836. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  837. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
  838. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  839. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  840. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
  841. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  842. data/generated/google/apis/webfonts_v1.rb +2 -3
  843. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  844. data/generated/google/apis/webfonts_v1/service.rb +4 -6
  845. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  846. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  847. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  848. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  849. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  850. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  851. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  852. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  853. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  854. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  855. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  856. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  857. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  858. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  859. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  860. data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
  861. data/generated/google/apis/youtube_v3.rb +1 -1
  862. data/generated/google/apis/youtube_v3/classes.rb +1826 -1157
  863. data/generated/google/apis/youtube_v3/representations.rb +458 -0
  864. data/generated/google/apis/youtube_v3/service.rb +1303 -1274
  865. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  866. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  867. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  868. data/lib/google/apis/core/base_service.rb +7 -1
  869. data/lib/google/apis/version.rb +1 -1
  870. metadata +47 -43
  871. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  872. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -854
  873. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  874. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  875. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  876. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  877. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  878. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  879. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  880. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  881. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  882. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  883. data/generated/google/apis/dns_v2beta1.rb +0 -43
  884. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
  885. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  886. data/generated/google/apis/dns_v2beta1/service.rb +0 -861
  887. data/generated/google/apis/oauth2_v2.rb +0 -40
  888. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  889. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  890. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  891. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  892. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  893. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  894. data/generated/google/apis/storage_v1beta2.rb +0 -40
  895. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  896. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  897. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -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 = '20200619'
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,19 +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.
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.
1630
1412
  # Corresponds to the JSON property `allowedServices`
1631
1413
  # @return [Array<String>]
1632
1414
  attr_accessor :allowed_services
1633
1415
 
1634
- # Whether to restrict API calls within the Service Perimeter to the list of
1635
- # 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'.
1636
1418
  # Corresponds to the JSON property `enableRestriction`
1637
1419
  # @return [Boolean]
1638
1420
  attr_accessor :enable_restriction
@@ -1659,90 +1441,52 @@ module Google
1659
1441
  attr_accessor :explanation
1660
1442
 
1661
1443
  # An Identity and Access Management (IAM) policy, which specifies access
1662
- # controls for Google Cloud resources.
1663
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1664
- # `members` to a single `role`. Members can be user accounts, service accounts,
1665
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1666
- # permissions; each `role` can be an IAM predefined role or a user-created
1667
- # custom role.
1668
- # For some types of Google Cloud resources, a `binding` can also specify a
1669
- # `condition`, which is a logical expression that allows access to a resource
1670
- # only if the expression evaluates to `true`. A condition can add constraints
1671
- # based on attributes of the request, the resource, or both. To learn which
1672
- # resources support conditions in their IAM policies, see the
1673
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1674
- # policies).
1675
- # **JSON example:**
1676
- # `
1677
- # "bindings": [
1678
- # `
1679
- # "role": "roles/resourcemanager.organizationAdmin",
1680
- # "members": [
1681
- # "user:mike@example.com",
1682
- # "group:admins@example.com",
1683
- # "domain:google.com",
1684
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1685
- # ]
1686
- # `,
1687
- # `
1688
- # "role": "roles/resourcemanager.organizationViewer",
1689
- # "members": [
1690
- # "user:eve@example.com"
1691
- # ],
1692
- # "condition": `
1693
- # "title": "expirable access",
1694
- # "description": "Does not grant access after Sep 2020",
1695
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1696
- # ",
1697
- # `
1698
- # `
1699
- # ],
1700
- # "etag": "BwWWja0YfJA=",
1701
- # "version": 3
1702
- # `
1703
- # **YAML example:**
1704
- # bindings:
1705
- # - members:
1706
- # - user:mike@example.com
1707
- # - group:admins@example.com
1708
- # - domain:google.com
1709
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1710
- # role: roles/resourcemanager.organizationAdmin
1711
- # - members:
1712
- # - user:eve@example.com
1713
- # role: roles/resourcemanager.organizationViewer
1714
- # condition:
1715
- # title: expirable access
1716
- # description: Does not grant access after Sep 2020
1717
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1718
- # - etag: BwWWja0YfJA=
1719
- # - version: 3
1720
- # For a description of IAM and its features, see the
1721
- # [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/).
1722
1470
  # Corresponds to the JSON property `policy`
1723
1471
  # @return [Google::Apis::CloudassetV1::Policy]
1724
1472
  attr_accessor :policy
1725
1473
 
1726
1474
  # The project that the associated GCP resource belongs to, in the form of
1727
1475
  # projects/`PROJECT_NUMBER`. If an IAM policy is set on a resource (like VM
1728
- # instance, Cloud Storage bucket), the project field will indicate the
1729
- # project that contains the resource. If an IAM policy is set on a folder or
1730
- # orgnization, the project field will be empty.
1731
- # To search against the `project`:
1732
- # * 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.
1733
1480
  # Corresponds to the JSON property `project`
1734
1481
  # @return [String]
1735
1482
  attr_accessor :project
1736
1483
 
1737
1484
  # The full resource name of the resource associated with this IAM policy.
1738
- # Example:
1739
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
1740
- # instance1`.
1741
- # See [Cloud Asset Inventory Resource Name
1742
- # Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
1743
- # for more information.
1744
- # To search against the `resource`:
1745
- # * 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`
1746
1490
  # Corresponds to the JSON property `resource`
1747
1491
  # @return [String]
1748
1492
  attr_accessor :resource
@@ -1784,47 +1528,45 @@ module Google
1784
1528
  class Operation
1785
1529
  include Google::Apis::Core::Hashable
1786
1530
 
1787
- # If the value is `false`, it means the operation is still in progress.
1788
- # If `true`, the operation is completed, and either `error` or `response` is
1789
- # 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.
1790
1533
  # Corresponds to the JSON property `done`
1791
1534
  # @return [Boolean]
1792
1535
  attr_accessor :done
1793
1536
  alias_method :done?, :done
1794
1537
 
1795
- # The `Status` type defines a logical error model that is suitable for
1796
- # different programming environments, including REST APIs and RPC APIs. It is
1797
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1798
- # three pieces of data: error code, error message, and error details.
1799
- # You can find out more about this error model and how to work with it in the
1800
- # [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).
1801
1544
  # Corresponds to the JSON property `error`
1802
1545
  # @return [Google::Apis::CloudassetV1::Status]
1803
1546
  attr_accessor :error
1804
1547
 
1805
- # Service-specific metadata associated with the operation. It typically
1806
- # contains progress information and common metadata such as create time.
1807
- # Some services might not provide such metadata. Any method that returns a
1808
- # 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.
1809
1552
  # Corresponds to the JSON property `metadata`
1810
1553
  # @return [Hash<String,Object>]
1811
1554
  attr_accessor :metadata
1812
1555
 
1813
1556
  # The server-assigned name, which is only unique within the same service that
1814
- # originally returns it. If you use the default HTTP mapping, the
1815
- # `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``.
1816
1559
  # Corresponds to the JSON property `name`
1817
1560
  # @return [String]
1818
1561
  attr_accessor :name
1819
1562
 
1820
- # The normal response of the operation in case of success. If the original
1821
- # method returns no data on success, such as `Delete`, the response is
1822
- # `google.protobuf.Empty`. If the original method is standard
1823
- # `Get`/`Create`/`Update`, the response should be the resource. For other
1824
- # methods, the response should have the type `XxxResponse`, where `Xxx`
1825
- # is the original method name. For example, if the original method name
1826
- # is `TakeSnapshot()`, the inferred response type is
1827
- # `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`.
1828
1570
  # Corresponds to the JSON property `response`
1829
1571
  # @return [Hash<String,Object>]
1830
1572
  attr_accessor :response
@@ -1888,66 +1630,32 @@ module Google
1888
1630
  end
1889
1631
 
1890
1632
  # An Identity and Access Management (IAM) policy, which specifies access
1891
- # controls for Google Cloud resources.
1892
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1893
- # `members` to a single `role`. Members can be user accounts, service accounts,
1894
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1895
- # permissions; each `role` can be an IAM predefined role or a user-created
1896
- # custom role.
1897
- # For some types of Google Cloud resources, a `binding` can also specify a
1898
- # `condition`, which is a logical expression that allows access to a resource
1899
- # only if the expression evaluates to `true`. A condition can add constraints
1900
- # based on attributes of the request, the resource, or both. To learn which
1901
- # resources support conditions in their IAM policies, see the
1902
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1903
- # policies).
1904
- # **JSON example:**
1905
- # `
1906
- # "bindings": [
1907
- # `
1908
- # "role": "roles/resourcemanager.organizationAdmin",
1909
- # "members": [
1910
- # "user:mike@example.com",
1911
- # "group:admins@example.com",
1912
- # "domain:google.com",
1913
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1914
- # ]
1915
- # `,
1916
- # `
1917
- # "role": "roles/resourcemanager.organizationViewer",
1918
- # "members": [
1919
- # "user:eve@example.com"
1920
- # ],
1921
- # "condition": `
1922
- # "title": "expirable access",
1923
- # "description": "Does not grant access after Sep 2020",
1924
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1925
- # ",
1926
- # `
1927
- # `
1928
- # ],
1929
- # "etag": "BwWWja0YfJA=",
1930
- # "version": 3
1931
- # `
1932
- # **YAML example:**
1933
- # bindings:
1934
- # - members:
1935
- # - user:mike@example.com
1936
- # - group:admins@example.com
1937
- # - domain:google.com
1938
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1939
- # role: roles/resourcemanager.organizationAdmin
1940
- # - members:
1941
- # - user:eve@example.com
1942
- # role: roles/resourcemanager.organizationViewer
1943
- # condition:
1944
- # title: expirable access
1945
- # description: Does not grant access after Sep 2020
1946
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1947
- # - etag: BwWWja0YfJA=
1948
- # - version: 3
1949
- # For a description of IAM and its features, see the
1950
- # [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/).
1951
1659
  class Policy
1952
1660
  include Google::Apis::Core::Hashable
1953
1661
 
@@ -1956,48 +1664,44 @@ module Google
1956
1664
  # @return [Array<Google::Apis::CloudassetV1::AuditConfig>]
1957
1665
  attr_accessor :audit_configs
1958
1666
 
1959
- # Associates a list of `members` to a `role`. Optionally, may specify a
1960
- # `condition` that determines how and when the `bindings` are applied. Each
1961
- # 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.
1962
1670
  # Corresponds to the JSON property `bindings`
1963
1671
  # @return [Array<Google::Apis::CloudassetV1::Binding>]
1964
1672
  attr_accessor :bindings
1965
1673
 
1966
- # `etag` is used for optimistic concurrency control as a way to help
1967
- # prevent simultaneous updates of a policy from overwriting each other.
1968
- # It is strongly suggested that systems make use of the `etag` in the
1969
- # read-modify-write cycle to perform policy updates in order to avoid race
1970
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1971
- # systems are expected to put that etag in the request to `setIamPolicy` to
1972
- # ensure that their change will be applied to the same version of the policy.
1973
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1974
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1975
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1976
- # 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.
1977
1685
  # Corresponds to the JSON property `etag`
1978
1686
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1979
1687
  # @return [String]
1980
1688
  attr_accessor :etag
1981
1689
 
1982
- # Specifies the format of the policy.
1983
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1984
- # are rejected.
1985
- # Any operation that affects conditional role bindings must specify version
1986
- # `3`. This requirement applies to the following operations:
1987
- # * Getting a policy that includes a conditional role binding
1988
- # * Adding a conditional role binding to a policy
1989
- # * Changing a conditional role binding in a policy
1990
- # * Removing any role binding, with or without a condition, from a policy
1991
- # that includes conditions
1992
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1993
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1994
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1995
- # the conditions in the version `3` policy are lost.
1996
- # If a policy does not include any conditions, operations on that policy may
1997
- # specify any valid version or leave the field unset.
1998
- # To learn which resources support conditions in their IAM policies, see the
1999
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2000
- # 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).
2001
1705
  # Corresponds to the JSON property `version`
2002
1706
  # @return [Fixnum]
2003
1707
  attr_accessor :version
@@ -2019,8 +1723,8 @@ module Google
2019
1723
  class PubsubDestination
2020
1724
  include Google::Apis::Core::Hashable
2021
1725
 
2022
- # The name of the Pub/Sub topic to publish to.
2023
- # 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`.
2024
1728
  # Corresponds to the JSON property `topic`
2025
1729
  # @return [String]
2026
1730
  attr_accessor :topic
@@ -2039,53 +1743,48 @@ module Google
2039
1743
  class Resource
2040
1744
  include Google::Apis::Core::Hashable
2041
1745
 
2042
- # The content of the resource, in which some sensitive fields are removed
2043
- # and may not be present.
1746
+ # The content of the resource, in which some sensitive fields are removed and
1747
+ # may not be present.
2044
1748
  # Corresponds to the JSON property `data`
2045
1749
  # @return [Hash<String,Object>]
2046
1750
  attr_accessor :data
2047
1751
 
2048
1752
  # The URL of the discovery document containing the resource's JSON schema.
2049
- # Example:
2050
- # `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
2051
- # 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
2052
1755
  # discovery document, such as Cloud Bigtable.
2053
1756
  # Corresponds to the JSON property `discoveryDocumentUri`
2054
1757
  # @return [String]
2055
1758
  attr_accessor :discovery_document_uri
2056
1759
 
2057
- # The JSON schema name listed in the discovery document. Example:
2058
- # `Project`
2059
- # 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
2060
1762
  # discovery document, such as Cloud Bigtable.
2061
1763
  # Corresponds to the JSON property `discoveryName`
2062
1764
  # @return [String]
2063
1765
  attr_accessor :discovery_name
2064
1766
 
2065
- # The location of the resource in Google Cloud, such as its zone and region.
2066
- # 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/.
2067
1769
  # Corresponds to the JSON property `location`
2068
1770
  # @return [String]
2069
1771
  attr_accessor :location
2070
1772
 
2071
- # The full name of the immediate parent of this resource. See
2072
- # [Resource
2073
- # Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
2074
- # for more information.
2075
- # For Google Cloud assets, this value is the parent resource defined in the
2076
- # [Cloud IAM policy
2077
- # hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
2078
- # Example:
2079
- # `//cloudresourcemanager.googleapis.com/projects/my_project_123`
2080
- # 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.
2081
1780
  # Corresponds to the JSON property `parent`
2082
1781
  # @return [String]
2083
1782
  attr_accessor :parent
2084
1783
 
2085
- # The REST URL for accessing the resource. An HTTP `GET` request using this
2086
- # URL returns the resource itself. Example:
2087
- # `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
2088
- # 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.
2089
1788
  # Corresponds to the JSON property `resourceUrl`
2090
1789
  # @return [String]
2091
1790
  attr_accessor :resource_url
@@ -2111,105 +1810,90 @@ module Google
2111
1810
  end
2112
1811
  end
2113
1812
 
2114
- # A result of Resource Search, containing information of a cloud resoure.
1813
+ # A result of Resource Search, containing information of a cloud resource.
2115
1814
  class ResourceSearchResult
2116
1815
  include Google::Apis::Core::Hashable
2117
1816
 
2118
- # The additional attributes of this resource. The attributes may vary from
2119
- # one resource type to another. Examples: `projectId` for Project,
2120
- # `dnsName` for DNS ManagedZone. This field contains a subset of the resource
2121
- # metadata fields that are returned by the List or Get APIs provided by the
2122
- # corresponding GCP service (e.g., Compute Engine). see [API
2123
- # references](https://cloud.google.com/asset-inventory/docs/supported-asset-
2124
- # types#supported_resource_types)
2125
- # of CAIS supported resource types. You can search values of these fields
2126
- # through free text search. However, you should not consume the field
2127
- # programically as the field names and values may change as the GCP service
2128
- # (e.g., Compute Engine) updates to a new incompatible API version.
2129
- # To search against the `additional_attributes`:
2130
- # * use a free text query to match the attributes values. Example: to search
2131
- # `additional_attributes = ` dnsName: "foobar" ``, you can issue a query
2132
- # `"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`.
2133
1830
  # Corresponds to the JSON property `additionalAttributes`
2134
1831
  # @return [Hash<String,Object>]
2135
1832
  attr_accessor :additional_attributes
2136
1833
 
2137
- # The type of this resource. Example: `compute.googleapis.com/Disk`.
2138
- # To search against the `asset_type`:
2139
- # * 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.
2140
1837
  # Corresponds to the JSON property `assetType`
2141
1838
  # @return [String]
2142
1839
  attr_accessor :asset_type
2143
1840
 
2144
1841
  # One or more paragraphs of text description of this resource. Maximum length
2145
- # could be up to 1M bytes.
2146
- # To search against the `description`:
2147
- # * use a field query. Example: `description : "*important instance*"`
2148
- # * 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*"`
2149
1845
  # Corresponds to the JSON property `description`
2150
1846
  # @return [String]
2151
1847
  attr_accessor :description
2152
1848
 
2153
- # The display name of this resource.
2154
- # To search against the `display_name`:
2155
- # * use a field query. Example: `displayName : "My Instance"`
2156
- # * 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"`
2157
1852
  # Corresponds to the JSON property `displayName`
2158
1853
  # @return [String]
2159
1854
  attr_accessor :display_name
2160
1855
 
2161
1856
  # Labels associated with this resource. See [Labelling and grouping GCP
2162
1857
  # resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-
2163
- # your-google-cloud-platform-resources)
2164
- # for more information.
2165
- # To search against the `labels`:
2166
- # * use a field query, as following:
2167
- # - query on any label's key or value. Example: `labels : "prod"`
2168
- # - query by a given label. Example: `labels.env : "prod"`
2169
- # - query by a given label'sexistence. Example: `labels.env : *`
2170
- # * 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`
2171
1863
  # Corresponds to the JSON property `labels`
2172
1864
  # @return [Hash<String,String>]
2173
1865
  attr_accessor :labels
2174
1866
 
2175
- # Location can be `global`, regional like `us-east1`, or zonal like
2176
- # `us-west1-b`.
2177
- # To search against the `location`:
2178
- # * use a field query. Example: `location : "us-west*"`
2179
- # * 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*`
2180
1870
  # Corresponds to the JSON property `location`
2181
1871
  # @return [String]
2182
1872
  attr_accessor :location
2183
1873
 
2184
- # The full resource name of this resource. Example:
2185
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
2186
- # instance1`.
2187
- # See [Cloud Asset Inventory Resource Name
2188
- # Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
2189
- # for more information.
2190
- # To search against the `name`:
2191
- # * use a field query. Example: `name : "instance1"`
2192
- # * 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`
2193
1880
  # Corresponds to the JSON property `name`
2194
1881
  # @return [String]
2195
1882
  attr_accessor :name
2196
1883
 
2197
1884
  # Network tags associated with this resource. Like labels, network tags are a
2198
- # type of annotations used to group GCP resources. See [Labelling GCP
2199
- # resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-
2200
- # your-google-cloud-platform-resources)
2201
- # for more information.
2202
- # To search against the `network_tags`:
2203
- # * use a field query. Example: `networkTags : "internal"`
2204
- # * 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`
2205
1890
  # Corresponds to the JSON property `networkTags`
2206
1891
  # @return [Array<String>]
2207
1892
  attr_accessor :network_tags
2208
1893
 
2209
- # The project that this resource belongs to, in the form of
2210
- # projects/`PROJECT_NUMBER`.
2211
- # To search against the `project`:
2212
- # * 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.
2213
1897
  # Corresponds to the JSON property `project`
2214
1898
  # @return [String]
2215
1899
  attr_accessor :project
@@ -2237,14 +1921,14 @@ module Google
2237
1921
  include Google::Apis::Core::Hashable
2238
1922
 
2239
1923
  # Set if there are more results than those appearing in this response; to get
2240
- # the next set of results, call this method again, using this value as the
2241
- # `page_token`.
1924
+ # the next set of results, call this method again, using this value as the `
1925
+ # page_token`.
2242
1926
  # Corresponds to the JSON property `nextPageToken`
2243
1927
  # @return [String]
2244
1928
  attr_accessor :next_page_token
2245
1929
 
2246
- # A list of IamPolicy that match the search query. Related information such
2247
- # 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.
2248
1932
  # Corresponds to the JSON property `results`
2249
1933
  # @return [Array<Google::Apis::CloudassetV1::IamPolicySearchResult>]
2250
1934
  attr_accessor :results
@@ -2264,9 +1948,9 @@ module Google
2264
1948
  class SearchAllResourcesResponse
2265
1949
  include Google::Apis::Core::Hashable
2266
1950
 
2267
- # If there are more results than those appearing in this response, then
2268
- # `next_page_token` is included. To get the next set of results, call this
2269
- # 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`.
2270
1954
  # Corresponds to the JSON property `nextPageToken`
2271
1955
  # @return [String]
2272
1956
  attr_accessor :next_page_token
@@ -2288,12 +1972,12 @@ module Google
2288
1972
  end
2289
1973
  end
2290
1974
 
2291
- # The `Status` type defines a logical error model that is suitable for
2292
- # different programming environments, including REST APIs and RPC APIs. It is
2293
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2294
- # three pieces of data: error code, error message, and error details.
2295
- # You can find out more about this error model and how to work with it in the
2296
- # [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).
2297
1981
  class Status
2298
1982
  include Google::Apis::Core::Hashable
2299
1983
 
@@ -2302,15 +1986,15 @@ module Google
2302
1986
  # @return [Fixnum]
2303
1987
  attr_accessor :code
2304
1988
 
2305
- # 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
2306
1990
  # message types for APIs to use.
2307
1991
  # Corresponds to the JSON property `details`
2308
1992
  # @return [Array<Hash<String,Object>>]
2309
1993
  attr_accessor :details
2310
1994
 
2311
- # A developer-facing error message, which should be in English. Any
2312
- # user-facing error message should be localized and sent in the
2313
- # 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.
2314
1998
  # Corresponds to the JSON property `message`
2315
1999
  # @return [String]
2316
2000
  attr_accessor :message
@@ -2332,15 +2016,12 @@ module Google
2332
2016
  class TemporalAsset
2333
2017
  include Google::Apis::Core::Hashable
2334
2018
 
2335
- # An asset in Google Cloud. An asset can be any resource in the Google Cloud
2336
- # [resource
2337
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
2338
- # resource-hierarchy),
2339
- # a resource outside the Google Cloud resource hierarchy (such as Google
2340
- # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
2341
- # See [Supported asset
2342
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
2343
- # 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.
2344
2025
  # Corresponds to the JSON property `asset`
2345
2026
  # @return [Google::Apis::CloudassetV1::Asset]
2346
2027
  attr_accessor :asset
@@ -2351,15 +2032,12 @@ module Google
2351
2032
  attr_accessor :deleted
2352
2033
  alias_method :deleted?, :deleted
2353
2034
 
2354
- # An asset in Google Cloud. An asset can be any resource in the Google Cloud
2355
- # [resource
2356
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
2357
- # resource-hierarchy),
2358
- # a resource outside the Google Cloud resource hierarchy (such as Google
2359
- # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
2360
- # See [Supported asset
2361
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
2362
- # 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.
2363
2041
  # Corresponds to the JSON property `priorAsset`
2364
2042
  # @return [Google::Apis::CloudassetV1::Asset]
2365
2043
  attr_accessor :prior_asset
@@ -2418,18 +2096,17 @@ module Google
2418
2096
  class UpdateFeedRequest
2419
2097
  include Google::Apis::Core::Hashable
2420
2098
 
2421
- # An asset feed used to export asset updates to a destinations.
2422
- # An asset feed filter controls what updates are exported.
2423
- # The asset feed must be created within a project, organization, or
2424
- # folder. Supported destinations are:
2425
- # 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.
2426
2103
  # Corresponds to the JSON property `feed`
2427
2104
  # @return [Google::Apis::CloudassetV1::Feed]
2428
2105
  attr_accessor :feed
2429
2106
 
2430
- # Required. Only updates the `feed` fields indicated by this mask.
2431
- # The field mask must not be empty, and it must not contain fields that
2432
- # 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.
2433
2110
  # Corresponds to the JSON property `updateMask`
2434
2111
  # @return [String]
2435
2112
  attr_accessor :update_mask