google-api-client 0.42.1 → 0.43.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (470) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +205 -0
  3. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  4. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  6. data/generated/google/apis/accessapproval_v1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  12. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  13. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  14. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  15. data/generated/google/apis/admob_v1.rb +1 -1
  16. data/generated/google/apis/admob_v1/classes.rb +139 -268
  17. data/generated/google/apis/admob_v1/service.rb +11 -13
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  20. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  21. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  22. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  23. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  25. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  28. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  32. data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
  33. data/generated/google/apis/apigee_v1.rb +6 -7
  34. data/generated/google/apis/apigee_v1/classes.rb +739 -1192
  35. data/generated/google/apis/apigee_v1/representations.rb +1 -2
  36. data/generated/google/apis/apigee_v1/service.rb +885 -1126
  37. data/generated/google/apis/appengine_v1.rb +1 -1
  38. data/generated/google/apis/appengine_v1/service.rb +6 -3
  39. data/generated/google/apis/appengine_v1beta.rb +1 -1
  40. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  41. data/generated/google/apis/appsmarket_v2.rb +1 -1
  42. data/generated/google/apis/bigquery_v2.rb +1 -1
  43. data/generated/google/apis/bigquery_v2/classes.rb +198 -3
  44. data/generated/google/apis/bigquery_v2/representations.rb +70 -0
  45. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  46. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  47. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  48. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  49. data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
  50. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  51. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  52. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  53. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
  54. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  55. data/generated/google/apis/blogger_v2.rb +2 -3
  56. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  57. data/generated/google/apis/blogger_v2/service.rb +1 -2
  58. data/generated/google/apis/blogger_v3.rb +2 -3
  59. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  60. data/generated/google/apis/blogger_v3/service.rb +1 -2
  61. data/generated/google/apis/books_v1.rb +1 -1
  62. data/generated/google/apis/books_v1/classes.rb +140 -159
  63. data/generated/google/apis/books_v1/service.rb +47 -49
  64. data/generated/google/apis/chat_v1.rb +1 -1
  65. data/generated/google/apis/chat_v1/classes.rb +19 -0
  66. data/generated/google/apis/chat_v1/representations.rb +13 -0
  67. data/generated/google/apis/chat_v1/service.rb +39 -0
  68. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  69. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  70. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  71. data/generated/google/apis/classroom_v1.rb +1 -1
  72. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  73. data/generated/google/apis/classroom_v1/service.rb +643 -902
  74. data/generated/google/apis/cloudasset_v1.rb +1 -1
  75. data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
  76. data/generated/google/apis/cloudasset_v1/service.rb +62 -45
  77. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
  79. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  80. data/generated/google/apis/cloudasset_v1p5beta1.rb +34 -0
  81. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
  82. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  83. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  84. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  87. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  88. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
  89. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  90. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  91. data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
  92. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
  93. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  99. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  101. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  102. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  104. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  105. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  106. data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
  107. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  108. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
  110. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  111. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  112. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
  113. data/generated/google/apis/cloudshell_v1.rb +1 -1
  114. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  115. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  116. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  117. data/generated/google/apis/compute_alpha.rb +1 -1
  118. data/generated/google/apis/compute_alpha/classes.rb +350 -20
  119. data/generated/google/apis/compute_alpha/representations.rb +100 -0
  120. data/generated/google/apis/compute_alpha/service.rb +15 -7
  121. data/generated/google/apis/compute_beta.rb +1 -1
  122. data/generated/google/apis/compute_beta/classes.rb +39 -14
  123. data/generated/google/apis/compute_beta/representations.rb +2 -0
  124. data/generated/google/apis/compute_beta/service.rb +15 -7
  125. data/generated/google/apis/compute_v1.rb +1 -1
  126. data/generated/google/apis/compute_v1/classes.rb +65 -42
  127. data/generated/google/apis/compute_v1/representations.rb +18 -15
  128. data/generated/google/apis/compute_v1/service.rb +63 -19
  129. data/generated/google/apis/container_v1.rb +1 -1
  130. data/generated/google/apis/container_v1/classes.rb +26 -0
  131. data/generated/google/apis/container_v1/representations.rb +15 -0
  132. data/generated/google/apis/content_v2.rb +1 -1
  133. data/generated/google/apis/content_v2/classes.rb +15 -0
  134. data/generated/google/apis/content_v2/representations.rb +1 -0
  135. data/generated/google/apis/content_v2_1.rb +1 -1
  136. data/generated/google/apis/content_v2_1/classes.rb +15 -0
  137. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  138. data/generated/google/apis/customsearch_v1.rb +1 -1
  139. data/generated/google/apis/customsearch_v1/classes.rb +303 -488
  140. data/generated/google/apis/customsearch_v1/service.rb +186 -343
  141. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  142. data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
  143. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  144. data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
  145. data/generated/google/apis/datafusion_v1.rb +43 -0
  146. data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
  147. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -94
  148. data/generated/google/apis/datafusion_v1/service.rb +680 -0
  149. data/generated/google/apis/dataproc_v1.rb +1 -1
  150. data/generated/google/apis/dataproc_v1/classes.rb +192 -316
  151. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  152. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  153. data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
  154. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  155. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  156. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  157. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  158. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  159. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  160. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  161. data/generated/google/apis/dialogflow_v2.rb +1 -1
  162. data/generated/google/apis/dialogflow_v2/classes.rb +1301 -1539
  163. data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
  164. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  165. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  166. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1379 -1619
  167. data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
  168. data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -990
  169. data/generated/google/apis/displayvideo_v1.rb +7 -1
  170. data/generated/google/apis/displayvideo_v1/classes.rb +1775 -1731
  171. data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
  172. data/generated/google/apis/displayvideo_v1/service.rb +1277 -926
  173. data/generated/google/apis/dlp_v2.rb +1 -1
  174. data/generated/google/apis/dlp_v2/classes.rb +5 -4
  175. data/generated/google/apis/dns_v1.rb +1 -1
  176. data/generated/google/apis/dns_v1/classes.rb +7 -7
  177. data/generated/google/apis/dns_v1beta2.rb +1 -1
  178. data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
  179. data/generated/google/apis/dns_v2beta1.rb +1 -1
  180. data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
  181. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  182. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  183. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  184. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  185. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  186. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
  187. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  188. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
  189. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  190. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
  191. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  192. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  193. data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
  194. data/generated/google/apis/drive_v2.rb +1 -1
  195. data/generated/google/apis/drive_v2/classes.rb +3 -1
  196. data/generated/google/apis/drive_v3.rb +1 -1
  197. data/generated/google/apis/drive_v3/classes.rb +9 -1
  198. data/generated/google/apis/drive_v3/representations.rb +1 -0
  199. data/generated/google/apis/driveactivity_v2.rb +1 -1
  200. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  201. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  202. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  203. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  204. data/generated/google/apis/fcm_v1.rb +1 -1
  205. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  206. data/generated/google/apis/fcm_v1/service.rb +5 -6
  207. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  208. data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
  209. data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
  210. data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
  211. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  212. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  213. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  214. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  215. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  216. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  217. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  218. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
  219. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
  220. data/generated/google/apis/firebaseml_v1.rb +1 -1
  221. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  222. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  223. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  224. data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
  225. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  226. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  227. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  228. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  229. data/generated/google/apis/games_management_v1management.rb +1 -1
  230. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  231. data/generated/google/apis/games_v1.rb +1 -1
  232. data/generated/google/apis/games_v1/classes.rb +1 -1
  233. data/generated/google/apis/games_v1/service.rb +2 -2
  234. data/generated/google/apis/gameservices_v1.rb +1 -1
  235. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  236. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  237. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  238. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  239. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  240. data/generated/google/apis/genomics_v1.rb +1 -1
  241. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  242. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  243. data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
  244. data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
  245. data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
  246. data/generated/google/apis/gmail_v1.rb +3 -3
  247. data/generated/google/apis/gmail_v1/classes.rb +216 -269
  248. data/generated/google/apis/gmail_v1/service.rb +257 -285
  249. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
  250. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  251. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
  252. data/generated/google/apis/healthcare_v1.rb +1 -1
  253. data/generated/google/apis/healthcare_v1/service.rb +26 -14
  254. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  255. data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
  256. data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
  257. data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
  258. data/generated/google/apis/language_v1.rb +1 -1
  259. data/generated/google/apis/language_v1/classes.rb +93 -111
  260. data/generated/google/apis/language_v1/service.rb +4 -4
  261. data/generated/google/apis/language_v1beta1.rb +1 -1
  262. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  263. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  264. data/generated/google/apis/language_v1beta2.rb +1 -1
  265. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  266. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  267. data/generated/google/apis/libraryagent_v1.rb +1 -1
  268. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  269. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  270. data/generated/google/apis/logging_v2.rb +1 -1
  271. data/generated/google/apis/logging_v2/classes.rb +6 -6
  272. data/generated/google/apis/managedidentities_v1.rb +1 -1
  273. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  274. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  275. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  276. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  277. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  278. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  279. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  280. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  281. data/generated/google/apis/{cloudfunctions_v1beta2.rb → memcache_v1.rb} +10 -9
  282. data/generated/google/apis/memcache_v1/classes.rb +1157 -0
  283. data/generated/google/apis/memcache_v1/representations.rb +471 -0
  284. data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
  285. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  286. data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
  287. data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
  288. data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
  289. data/generated/google/apis/monitoring_v1.rb +1 -1
  290. data/generated/google/apis/monitoring_v1/classes.rb +14 -12
  291. data/generated/google/apis/monitoring_v3.rb +1 -1
  292. data/generated/google/apis/monitoring_v3/classes.rb +36 -18
  293. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  294. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  295. data/generated/google/apis/osconfig_v1.rb +1 -1
  296. data/generated/google/apis/osconfig_v1/classes.rb +796 -0
  297. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  298. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  299. data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
  300. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  301. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  302. data/generated/google/apis/people_v1.rb +1 -1
  303. data/generated/google/apis/people_v1/classes.rb +382 -401
  304. data/generated/google/apis/people_v1/representations.rb +57 -0
  305. data/generated/google/apis/people_v1/service.rb +169 -385
  306. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  307. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  308. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  309. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  310. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  311. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  312. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  313. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  314. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  315. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -219
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  318. data/generated/google/apis/pubsub_v1.rb +1 -1
  319. data/generated/google/apis/pubsub_v1/classes.rb +21 -0
  320. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  321. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  322. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  323. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  324. data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
  325. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
  326. data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
  327. data/generated/google/apis/recommender_v1.rb +1 -1
  328. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  329. data/generated/google/apis/recommender_v1/service.rb +43 -58
  330. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  331. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  332. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  333. data/generated/google/apis/redis_v1.rb +1 -1
  334. data/generated/google/apis/redis_v1/classes.rb +397 -0
  335. data/generated/google/apis/redis_v1/representations.rb +139 -0
  336. data/generated/google/apis/redis_v1beta1.rb +1 -1
  337. data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
  338. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  339. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  342. data/generated/google/apis/run_v1.rb +1 -1
  343. data/generated/google/apis/run_v1/classes.rb +835 -1248
  344. data/generated/google/apis/run_v1/service.rb +233 -247
  345. data/generated/google/apis/run_v1alpha1.rb +1 -1
  346. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  347. data/generated/google/apis/run_v1alpha1/service.rb +321 -377
  348. data/generated/google/apis/run_v1beta1.rb +1 -1
  349. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  350. data/generated/google/apis/run_v1beta1/service.rb +16 -18
  351. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  352. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  353. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  354. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  355. data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -219
  356. data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
  357. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  358. data/generated/google/apis/searchconsole_v1.rb +1 -1
  359. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  360. data/generated/google/apis/securitycenter_v1.rb +1 -1
  361. data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
  362. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  363. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  364. data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
  365. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  366. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  367. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
  368. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
  369. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  370. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
  371. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
  372. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  373. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
  377. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  378. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  379. data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
  380. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  381. data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
  382. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  383. data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
  384. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  385. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  386. data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
  387. data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
  388. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  389. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
  390. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  391. data/generated/google/apis/serviceusage_v1.rb +1 -1
  392. data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
  393. data/generated/google/apis/serviceusage_v1/service.rb +63 -80
  394. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  395. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
  396. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  397. data/generated/google/apis/spanner_v1.rb +1 -1
  398. data/generated/google/apis/spanner_v1/classes.rb +3 -2
  399. data/generated/google/apis/sql_v1beta4.rb +1 -1
  400. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  401. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  402. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  403. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  404. data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
  405. data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
  406. data/generated/google/apis/tagmanager_v1.rb +2 -3
  407. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  408. data/generated/google/apis/tagmanager_v1/service.rb +20 -21
  409. data/generated/google/apis/tagmanager_v2.rb +2 -3
  410. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  411. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  412. data/generated/google/apis/tagmanager_v2/service.rb +187 -283
  413. data/generated/google/apis/testing_v1.rb +1 -1
  414. data/generated/google/apis/testing_v1/classes.rb +63 -0
  415. data/generated/google/apis/testing_v1/representations.rb +32 -0
  416. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  417. data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
  418. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  419. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  420. data/generated/google/apis/tpu_v1.rb +1 -1
  421. data/generated/google/apis/tpu_v1/classes.rb +68 -78
  422. data/generated/google/apis/tpu_v1/service.rb +21 -25
  423. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  424. data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
  425. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  426. data/generated/google/apis/translate_v3.rb +1 -1
  427. data/generated/google/apis/translate_v3/service.rb +14 -1
  428. data/generated/google/apis/translate_v3beta1.rb +1 -1
  429. data/generated/google/apis/translate_v3beta1/service.rb +14 -1
  430. data/generated/google/apis/vision_v1.rb +1 -1
  431. data/generated/google/apis/vision_v1/classes.rb +1304 -1870
  432. data/generated/google/apis/vision_v1/service.rb +254 -340
  433. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  434. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
  435. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  436. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  437. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
  438. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  439. data/generated/google/apis/webfonts_v1.rb +1 -1
  440. data/generated/google/apis/webfonts_v1/service.rb +2 -2
  441. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  442. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  443. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  444. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  445. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  446. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  447. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  448. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  449. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  450. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  451. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  452. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  453. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  454. data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
  455. data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
  456. data/generated/google/apis/youtube_v3.rb +1 -1
  457. data/generated/google/apis/youtube_v3/classes.rb +943 -1175
  458. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  459. data/generated/google/apis/youtube_v3/service.rb +1007 -1316
  460. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  461. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  462. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  463. data/lib/google/apis/core/base_service.rb +7 -1
  464. data/lib/google/apis/version.rb +1 -1
  465. metadata +19 -11
  466. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
  467. data/generated/google/apis/fitness_v1.rb +0 -85
  468. data/generated/google/apis/fitness_v1/classes.rb +0 -1020
  469. data/generated/google/apis/fitness_v1/representations.rb +0 -398
  470. data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -48,15 +48,13 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
- # Starts asynchronous cancellation on a long-running operation. The server
52
- # makes a best effort to cancel the operation, but success is not
53
- # guaranteed. If the server doesn't support this method, it returns
54
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
55
- # Operations.GetOperation or
56
- # other methods to check whether the cancellation succeeded or whether the
57
- # operation completed despite cancellation. On successful cancellation,
58
- # the operation is not deleted; instead, it becomes an operation with
59
- # an Operation.error value with a google.rpc.Status.code of 1,
51
+ # Starts asynchronous cancellation on a long-running operation. The server makes
52
+ # a best effort to cancel the operation, but success is not guaranteed. If the
53
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
54
+ # Clients can use Operations.GetOperation or other methods to check whether the
55
+ # cancellation succeeded or whether the operation completed despite cancellation.
56
+ # On successful cancellation, the operation is not deleted; instead, it becomes
57
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
60
58
  # corresponding to `Code.CANCELLED`.
61
59
  # @param [String] name
62
60
  # The name of the operation resource to be cancelled.
@@ -87,10 +85,10 @@ module Google
87
85
  execute_or_queue_command(command, &block)
88
86
  end
89
87
 
90
- # Deletes a long-running operation. This method indicates that the client is
91
- # no longer interested in the operation result. It does not cancel the
92
- # operation. If the server doesn't support this method, it returns
93
- # `google.rpc.Code.UNIMPLEMENTED`.
88
+ # Deletes a long-running operation. This method indicates that the client is no
89
+ # longer interested in the operation result. It does not cancel the operation.
90
+ # If the server doesn't support this method, it returns `google.rpc.Code.
91
+ # UNIMPLEMENTED`.
94
92
  # @param [String] name
95
93
  # The name of the operation resource to be deleted.
96
94
  # @param [String] fields
@@ -120,9 +118,8 @@ module Google
120
118
  execute_or_queue_command(command, &block)
121
119
  end
122
120
 
123
- # Gets the latest state of a long-running operation. Clients can use this
124
- # method to poll the operation result at intervals as recommended by the API
125
- # service.
121
+ # Gets the latest state of a long-running operation. Clients can use this method
122
+ # to poll the operation result at intervals as recommended by the API service.
126
123
  # @param [String] name
127
124
  # The name of the operation resource.
128
125
  # @param [String] fields
@@ -152,15 +149,14 @@ module Google
152
149
  execute_or_queue_command(command, &block)
153
150
  end
154
151
 
155
- # Lists operations that match the specified filter in the request. If the
156
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
157
- # NOTE: the `name` binding allows API services to override the binding
158
- # to use different resource name schemes, such as `users/*/operations`. To
159
- # override the binding, API services can add a binding such as
160
- # `"/v1/`name=users/*`/operations"` to their service configuration.
161
- # For backwards compatibility, the default name includes the operations
162
- # collection id, however overriding users must ensure the name binding
163
- # is the parent resource, without the operations collection id.
152
+ # Lists operations that match the specified filter in the request. If the server
153
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
154
+ # binding allows API services to override the binding to use different resource
155
+ # name schemes, such as `users/*/operations`. To override the binding, API
156
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
157
+ # service configuration. For backwards compatibility, the default name includes
158
+ # the operations collection id, however overriding users must ensure the name
159
+ # binding is the parent resource, without the operations collection id.
164
160
  # @param [String] name
165
161
  # The name of the operation's parent resource.
166
162
  # @param [String] filter
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
27
27
  module SecuritycenterV1p1beta1
28
28
  VERSION = 'V1p1beta1'
29
- REVISION = '20200619'
29
+ REVISION = '20200731'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -47,53 +47,21 @@ module Google
47
47
  end
48
48
  end
49
49
 
50
- # Specifies the audit configuration for a service.
51
- # The configuration determines which permission types are logged, and what
52
- # identities, if any, are exempted from logging.
53
- # An AuditConfig must have one or more AuditLogConfigs.
54
- # If there are AuditConfigs for both `allServices` and a specific service,
55
- # the union of the two AuditConfigs is used for that service: the log_types
56
- # specified in each AuditConfig are enabled, and the exempted_members in each
57
- # AuditLogConfig are exempted.
58
- # Example Policy with multiple AuditConfigs:
59
- # `
60
- # "audit_configs": [
61
- # `
62
- # "service": "allServices",
63
- # "audit_log_configs": [
64
- # `
65
- # "log_type": "DATA_READ",
66
- # "exempted_members": [
67
- # "user:jose@example.com"
68
- # ]
69
- # `,
70
- # `
71
- # "log_type": "DATA_WRITE"
72
- # `,
73
- # `
74
- # "log_type": "ADMIN_READ"
75
- # `
76
- # ]
77
- # `,
78
- # `
79
- # "service": "sampleservice.googleapis.com",
80
- # "audit_log_configs": [
81
- # `
82
- # "log_type": "DATA_READ"
83
- # `,
84
- # `
85
- # "log_type": "DATA_WRITE",
86
- # "exempted_members": [
87
- # "user:aliya@example.com"
88
- # ]
89
- # `
90
- # ]
91
- # `
92
- # ]
93
- # `
94
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
95
- # logging. It also exempts jose@example.com from DATA_READ logging, and
96
- # aliya@example.com from DATA_WRITE logging.
50
+ # Specifies the audit configuration for a service. The configuration determines
51
+ # which permission types are logged, and what identities, if any, are exempted
52
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
53
+ # are AuditConfigs for both `allServices` and a specific service, the union of
54
+ # the two AuditConfigs is used for that service: the log_types specified in each
55
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
56
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
57
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
58
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
59
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
60
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
61
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
62
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
63
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
64
+ # DATA_WRITE logging.
97
65
  class AuditConfig
98
66
  include Google::Apis::Core::Hashable
99
67
 
@@ -102,9 +70,9 @@ module Google
102
70
  # @return [Array<Google::Apis::SecuritycenterV1p1beta1::AuditLogConfig>]
103
71
  attr_accessor :audit_log_configs
104
72
 
105
- # Specifies a service that will be enabled for audit logging.
106
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
107
- # `allServices` is a special value that covers all services.
73
+ # Specifies a service that will be enabled for audit logging. For example, `
74
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
75
+ # value that covers all services.
108
76
  # Corresponds to the JSON property `service`
109
77
  # @return [String]
110
78
  attr_accessor :service
@@ -120,28 +88,15 @@ module Google
120
88
  end
121
89
  end
122
90
 
123
- # Provides the configuration for logging a type of permissions.
124
- # Example:
125
- # `
126
- # "audit_log_configs": [
127
- # `
128
- # "log_type": "DATA_READ",
129
- # "exempted_members": [
130
- # "user:jose@example.com"
131
- # ]
132
- # `,
133
- # `
134
- # "log_type": "DATA_WRITE"
135
- # `
136
- # ]
137
- # `
138
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
139
- # jose@example.com from DATA_READ logging.
91
+ # Provides the configuration for logging a type of permissions. Example: ` "
92
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
93
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
94
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
95
+ # DATA_READ logging.
140
96
  class AuditLogConfig
141
97
  include Google::Apis::Core::Hashable
142
98
 
143
- # Specifies the identities that do not cause logging for this type of
144
- # permission.
99
+ # Specifies the identities that do not cause logging for this type of permission.
145
100
  # Follows the same format of Binding.members.
146
101
  # Corresponds to the JSON property `exemptedMembers`
147
102
  # @return [Array<String>]
@@ -167,69 +122,57 @@ module Google
167
122
  class Binding
168
123
  include Google::Apis::Core::Hashable
169
124
 
170
- # Represents a textual expression in the Common Expression Language (CEL)
171
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
172
- # are documented at https://github.com/google/cel-spec.
173
- # Example (Comparison):
174
- # title: "Summary size limit"
175
- # description: "Determines if a summary is less than 100 chars"
176
- # expression: "document.summary.size() < 100"
177
- # Example (Equality):
178
- # title: "Requestor is owner"
179
- # description: "Determines if requestor is the document owner"
180
- # expression: "document.owner == request.auth.claims.email"
181
- # Example (Logic):
182
- # title: "Public documents"
183
- # description: "Determine whether the document should be publicly visible"
184
- # expression: "document.type != 'private' && document.type != 'internal'"
185
- # Example (Data Manipulation):
186
- # title: "Notification string"
187
- # description: "Create a notification string with a timestamp."
188
- # expression: "'New message received at ' + string(document.create_time)"
189
- # The exact variables and functions that may be referenced within an expression
190
- # are determined by the service that evaluates it. See the service
191
- # documentation for additional information.
125
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
126
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
127
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
128
+ # "Summary size limit" description: "Determines if a summary is less than 100
129
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
130
+ # Requestor is owner" description: "Determines if requestor is the document
131
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
132
+ # Logic): title: "Public documents" description: "Determine whether the document
133
+ # should be publicly visible" expression: "document.type != 'private' &&
134
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
135
+ # string" description: "Create a notification string with a timestamp."
136
+ # expression: "'New message received at ' + string(document.create_time)" The
137
+ # exact variables and functions that may be referenced within an expression are
138
+ # determined by the service that evaluates it. See the service documentation for
139
+ # additional information.
192
140
  # Corresponds to the JSON property `condition`
193
141
  # @return [Google::Apis::SecuritycenterV1p1beta1::Expr]
194
142
  attr_accessor :condition
195
143
 
196
- # Specifies the identities requesting access for a Cloud Platform resource.
197
- # `members` can have the following values:
198
- # * `allUsers`: A special identifier that represents anyone who is
199
- # on the internet; with or without a Google account.
200
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
201
- # who is authenticated with a Google account or a service account.
202
- # * `user:`emailid``: An email address that represents a specific Google
203
- # account. For example, `alice@example.com` .
204
- # * `serviceAccount:`emailid``: An email address that represents a service
205
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
206
- # * `group:`emailid``: An email address that represents a Google group.
207
- # For example, `admins@example.com`.
208
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
209
- # identifier) representing a user that has been recently deleted. For
210
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
211
- # recovered, this value reverts to `user:`emailid`` and the recovered user
212
- # retains the role in the binding.
213
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
214
- # unique identifier) representing a service account that has been recently
215
- # deleted. For example,
216
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
217
- # If the service account is undeleted, this value reverts to
218
- # `serviceAccount:`emailid`` and the undeleted service account retains the
219
- # role in the binding.
220
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
221
- # identifier) representing a Google group that has been recently
222
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
223
- # the group is recovered, this value reverts to `group:`emailid`` and the
224
- # recovered group retains the role in the binding.
225
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
226
- # users of that domain. For example, `google.com` or `example.com`.
144
+ # Specifies the identities requesting access for a Cloud Platform resource. `
145
+ # members` can have the following values: * `allUsers`: A special identifier
146
+ # that represents anyone who is on the internet; with or without a Google
147
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
148
+ # anyone who is authenticated with a Google account or a service account. * `
149
+ # user:`emailid``: An email address that represents a specific Google account.
150
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
151
+ # address that represents a service account. For example, `my-other-app@appspot.
152
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
153
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
154
+ # `uniqueid``: An email address (plus unique identifier) representing a user
155
+ # that has been recently deleted. For example, `alice@example.com?uid=
156
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
157
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
158
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
159
+ # identifier) representing a service account that has been recently deleted. For
160
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
161
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
162
+ # emailid`` and the undeleted service account retains the role in the binding. *
163
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
164
+ # identifier) representing a Google group that has been recently deleted. For
165
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
166
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
167
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
168
+ # primary) that represents all the users of that domain. For example, `google.
169
+ # com` or `example.com`.
227
170
  # Corresponds to the JSON property `members`
228
171
  # @return [Array<String>]
229
172
  attr_accessor :members
230
173
 
231
- # Role that is assigned to `members`.
232
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
174
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
175
+ # , or `roles/owner`.
233
176
  # Corresponds to the JSON property `role`
234
177
  # @return [String]
235
178
  attr_accessor :role
@@ -246,13 +189,11 @@ module Google
246
189
  end
247
190
  end
248
191
 
249
- # A generic empty message that you can re-use to avoid defining duplicated
250
- # empty messages in your APIs. A typical example is to use it as the request
251
- # or the response type of an API method. For instance:
252
- # service Foo `
253
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
254
- # `
255
- # The JSON representation for `Empty` is empty JSON object ````.
192
+ # A generic empty message that you can re-use to avoid defining duplicated empty
193
+ # messages in your APIs. A typical example is to use it as the request or the
194
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
195
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
196
+ # `Empty` is empty JSON object ````.
256
197
  class Empty
257
198
  include Google::Apis::Core::Hashable
258
199
 
@@ -265,52 +206,43 @@ module Google
265
206
  end
266
207
  end
267
208
 
268
- # Represents a textual expression in the Common Expression Language (CEL)
269
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
270
- # are documented at https://github.com/google/cel-spec.
271
- # Example (Comparison):
272
- # title: "Summary size limit"
273
- # description: "Determines if a summary is less than 100 chars"
274
- # expression: "document.summary.size() < 100"
275
- # Example (Equality):
276
- # title: "Requestor is owner"
277
- # description: "Determines if requestor is the document owner"
278
- # expression: "document.owner == request.auth.claims.email"
279
- # Example (Logic):
280
- # title: "Public documents"
281
- # description: "Determine whether the document should be publicly visible"
282
- # expression: "document.type != 'private' && document.type != 'internal'"
283
- # Example (Data Manipulation):
284
- # title: "Notification string"
285
- # description: "Create a notification string with a timestamp."
286
- # expression: "'New message received at ' + string(document.create_time)"
287
- # The exact variables and functions that may be referenced within an expression
288
- # are determined by the service that evaluates it. See the service
289
- # documentation for additional information.
209
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
210
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
211
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
212
+ # "Summary size limit" description: "Determines if a summary is less than 100
213
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
214
+ # Requestor is owner" description: "Determines if requestor is the document
215
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
216
+ # Logic): title: "Public documents" description: "Determine whether the document
217
+ # should be publicly visible" expression: "document.type != 'private' &&
218
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
219
+ # string" description: "Create a notification string with a timestamp."
220
+ # expression: "'New message received at ' + string(document.create_time)" The
221
+ # exact variables and functions that may be referenced within an expression are
222
+ # determined by the service that evaluates it. See the service documentation for
223
+ # additional information.
290
224
  class Expr
291
225
  include Google::Apis::Core::Hashable
292
226
 
293
- # Optional. Description of the expression. This is a longer text which
294
- # describes the expression, e.g. when hovered over it in a UI.
227
+ # Optional. Description of the expression. This is a longer text which describes
228
+ # the expression, e.g. when hovered over it in a UI.
295
229
  # Corresponds to the JSON property `description`
296
230
  # @return [String]
297
231
  attr_accessor :description
298
232
 
299
- # Textual representation of an expression in Common Expression Language
300
- # syntax.
233
+ # Textual representation of an expression in Common Expression Language syntax.
301
234
  # Corresponds to the JSON property `expression`
302
235
  # @return [String]
303
236
  attr_accessor :expression
304
237
 
305
- # Optional. String indicating the location of the expression for error
306
- # reporting, e.g. a file name and a position in the file.
238
+ # Optional. String indicating the location of the expression for error reporting,
239
+ # e.g. a file name and a position in the file.
307
240
  # Corresponds to the JSON property `location`
308
241
  # @return [String]
309
242
  attr_accessor :location
310
243
 
311
- # Optional. Title for the expression, i.e. a short string describing
312
- # its purpose. This can be used e.g. in UIs which allow to enter the
313
- # expression.
244
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
245
+ # This can be used e.g. in UIs which allow to enter the expression.
314
246
  # Corresponds to the JSON property `title`
315
247
  # @return [String]
316
248
  attr_accessor :title
@@ -328,18 +260,16 @@ module Google
328
260
  end
329
261
  end
330
262
 
331
- # Security Command Center finding.
332
- # A finding is a record of assessment data like security, risk, health, or
333
- # privacy, that is ingested into Security Command Center for presentation,
334
- # notification, analysis, policy testing, and enforcement. For example, a
335
- # cross-site scripting (XSS) vulnerability in an App Engine application is a
336
- # finding.
263
+ # Security Command Center finding. A finding is a record of assessment data like
264
+ # security, risk, health, or privacy, that is ingested into Security Command
265
+ # Center for presentation, notification, analysis, policy testing, and
266
+ # enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
267
+ # Engine application is a finding.
337
268
  class Finding
338
269
  include Google::Apis::Core::Hashable
339
270
 
340
- # The additional taxonomy group within findings from a given source.
341
- # This field is immutable after creation time.
342
- # Example: "XSS_FLASH_INJECTION"
271
+ # The additional taxonomy group within findings from a given source. This field
272
+ # is immutable after creation time. Example: "XSS_FLASH_INJECTION"
343
273
  # Corresponds to the JSON property `category`
344
274
  # @return [String]
345
275
  attr_accessor :category
@@ -349,59 +279,56 @@ module Google
349
279
  # @return [String]
350
280
  attr_accessor :create_time
351
281
 
352
- # The time at which the event took place. For example, if the finding
353
- # represents an open firewall it would capture the time the detector believes
354
- # the firewall became open. The accuracy is determined by the detector.
282
+ # The time at which the event took place. For example, if the finding represents
283
+ # an open firewall it would capture the time the detector believes the firewall
284
+ # became open. The accuracy is determined by the detector.
355
285
  # Corresponds to the JSON property `eventTime`
356
286
  # @return [String]
357
287
  attr_accessor :event_time
358
288
 
359
- # The URI that, if available, points to a web page outside of Security
360
- # Command Center where additional information about the finding can be found.
361
- # This field is guaranteed to be either empty or a well formed URL.
289
+ # The URI that, if available, points to a web page outside of Security Command
290
+ # Center where additional information about the finding can be found. This field
291
+ # is guaranteed to be either empty or a well formed URL.
362
292
  # Corresponds to the JSON property `externalUri`
363
293
  # @return [String]
364
294
  attr_accessor :external_uri
365
295
 
366
- # The relative resource name of this finding. See:
367
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
368
- # Example:
369
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
296
+ # The relative resource name of this finding. See: https://cloud.google.com/apis/
297
+ # design/resource_names#relative_resource_name Example: "organizations/`
298
+ # organization_id`/sources/`source_id`/findings/`finding_id`"
370
299
  # Corresponds to the JSON property `name`
371
300
  # @return [String]
372
301
  attr_accessor :name
373
302
 
374
- # The relative resource name of the source the finding belongs to. See:
375
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
376
- # This field is immutable after creation time.
377
- # For example:
378
- # "organizations/`organization_id`/sources/`source_id`"
303
+ # The relative resource name of the source the finding belongs to. See: https://
304
+ # cloud.google.com/apis/design/resource_names#relative_resource_name This field
305
+ # is immutable after creation time. For example: "organizations/`organization_id`
306
+ # /sources/`source_id`"
379
307
  # Corresponds to the JSON property `parent`
380
308
  # @return [String]
381
309
  attr_accessor :parent
382
310
 
383
- # For findings on Google Cloud resources, the full resource
384
- # name of the Google Cloud resource this finding is for. See:
385
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
386
- # When the finding is for a non-Google Cloud resource, the resourceName can
387
- # be a customer or partner defined string. This field is immutable after
388
- # creation time.
311
+ # For findings on Google Cloud resources, the full resource name of the Google
312
+ # Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
313
+ # resource_names#full_resource_name When the finding is for a non-Google Cloud
314
+ # resource, the resourceName can be a customer or partner defined string. This
315
+ # field is immutable after creation time.
389
316
  # Corresponds to the JSON property `resourceName`
390
317
  # @return [String]
391
318
  attr_accessor :resource_name
392
319
 
393
- # User specified security marks that are attached to the parent Security
394
- # Command Center resource. Security marks are scoped within a Security Command
395
- # Center organization -- they can be modified and viewed by all users who have
396
- # proper permissions on the organization.
320
+ # User specified security marks that are attached to the parent Security Command
321
+ # Center resource. Security marks are scoped within a Security Command Center
322
+ # organization -- they can be modified and viewed by all users who have proper
323
+ # permissions on the organization.
397
324
  # Corresponds to the JSON property `securityMarks`
398
325
  # @return [Google::Apis::SecuritycenterV1p1beta1::SecurityMarks]
399
326
  attr_accessor :security_marks
400
327
 
401
- # Source specific properties. These properties are managed by the source
402
- # that writes the finding. The key names in the source_properties map must be
403
- # between 1 and 255 characters, and must start with a letter and contain
404
- # alphanumeric characters or underscores only.
328
+ # Source specific properties. These properties are managed by the source that
329
+ # writes the finding. The key names in the source_properties map must be between
330
+ # 1 and 255 characters, and must start with a letter and contain alphanumeric
331
+ # characters or underscores only.
405
332
  # Corresponds to the JSON property `sourceProperties`
406
333
  # @return [Hash<String,Object>]
407
334
  attr_accessor :source_properties
@@ -453,15 +380,13 @@ module Google
453
380
  class GetPolicyOptions
454
381
  include Google::Apis::Core::Hashable
455
382
 
456
- # Optional. The policy format version to be returned.
457
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
458
- # rejected.
459
- # Requests for policies with any conditional bindings must specify version 3.
460
- # Policies without any conditional bindings may specify any valid value or
461
- # leave the field unset.
462
- # To learn which resources support conditions in their IAM policies, see the
463
- # [IAM
464
- # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
383
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
384
+ # 3. Requests specifying an invalid value will be rejected. Requests for
385
+ # policies with any conditional bindings must specify version 3. Policies
386
+ # without any conditional bindings may specify any valid value or leave the
387
+ # field unset. To learn which resources support conditions in their IAM policies,
388
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
389
+ # resource-policies).
465
390
  # Corresponds to the JSON property `requestedPolicyVersion`
466
391
  # @return [Fixnum]
467
392
  attr_accessor :requested_policy_version
@@ -480,12 +405,11 @@ module Google
480
405
  class GoogleCloudSecuritycenterV1NotificationMessage
481
406
  include Google::Apis::Core::Hashable
482
407
 
483
- # Security Command Center finding.
484
- # A finding is a record of assessment data like security, risk, health, or
485
- # privacy, that is ingested into Security Command Center for presentation,
486
- # notification, analysis, policy testing, and enforcement. For example, a
487
- # cross-site scripting (XSS) vulnerability in an App Engine application is a
488
- # finding.
408
+ # Security Command Center finding. A finding is a record of assessment data like
409
+ # security, risk, health, or privacy, that is ingested into Security Command
410
+ # Center for presentation, notification, analysis, policy testing, and
411
+ # enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
412
+ # Engine application is a finding.
489
413
  # Corresponds to the JSON property `finding`
490
414
  # @return [Google::Apis::SecuritycenterV1p1beta1::Finding]
491
415
  attr_accessor :finding
@@ -516,8 +440,8 @@ module Google
516
440
  class GoogleCloudSecuritycenterV1Resource
517
441
  include Google::Apis::Core::Hashable
518
442
 
519
- # The full resource name of the resource. See:
520
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
443
+ # The full resource name of the resource. See: https://cloud.google.com/apis/
444
+ # design/resource_names#full_resource_name
521
445
  # Corresponds to the JSON property `name`
522
446
  # @return [String]
523
447
  attr_accessor :name
@@ -606,12 +530,11 @@ module Google
606
530
  end
607
531
  end
608
532
 
609
- # Security Command Center representation of a Google Cloud
610
- # resource.
611
- # The Asset is a Security Command Center resource that captures information
612
- # about a single Google Cloud resource. All modifications to an Asset are only
613
- # within the context of Security Command Center and don't affect the referenced
614
- # Google Cloud resource.
533
+ # Security Command Center representation of a Google Cloud resource. The Asset
534
+ # is a Security Command Center resource that captures information about a single
535
+ # Google Cloud resource. All modifications to an Asset are only within the
536
+ # context of Security Command Center and don't affect the referenced Google
537
+ # Cloud resource.
615
538
  class GoogleCloudSecuritycenterV1p1beta1Asset
616
539
  include Google::Apis::Core::Hashable
617
540
 
@@ -622,22 +545,20 @@ module Google
622
545
 
623
546
  # Cloud IAM Policy information associated with the Google Cloud resource
624
547
  # described by the Security Command Center asset. This information is managed
625
- # and defined by the Google Cloud resource and cannot be modified by the
626
- # user.
548
+ # and defined by the Google Cloud resource and cannot be modified by the user.
627
549
  # Corresponds to the JSON property `iamPolicy`
628
550
  # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1IamPolicy]
629
551
  attr_accessor :iam_policy
630
552
 
631
- # The relative resource name of this asset. See:
632
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
633
- # Example:
634
- # "organizations/`organization_id`/assets/`asset_id`".
553
+ # The relative resource name of this asset. See: https://cloud.google.com/apis/
554
+ # design/resource_names#relative_resource_name Example: "organizations/`
555
+ # organization_id`/assets/`asset_id`".
635
556
  # Corresponds to the JSON property `name`
636
557
  # @return [String]
637
558
  attr_accessor :name
638
559
 
639
- # Resource managed properties. These properties are managed and defined by
640
- # the Google Cloud resource and cannot be modified by the user.
560
+ # Resource managed properties. These properties are managed and defined by the
561
+ # Google Cloud resource and cannot be modified by the user.
641
562
  # Corresponds to the JSON property `resourceProperties`
642
563
  # @return [Hash<String,Object>]
643
564
  attr_accessor :resource_properties
@@ -648,16 +569,15 @@ module Google
648
569
  # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties]
649
570
  attr_accessor :security_center_properties
650
571
 
651
- # User specified security marks that are attached to the parent Security
652
- # Command Center resource. Security marks are scoped within a Security Command
653
- # Center organization -- they can be modified and viewed by all users who have
654
- # proper permissions on the organization.
572
+ # User specified security marks that are attached to the parent Security Command
573
+ # Center resource. Security marks are scoped within a Security Command Center
574
+ # organization -- they can be modified and viewed by all users who have proper
575
+ # permissions on the organization.
655
576
  # Corresponds to the JSON property `securityMarks`
656
577
  # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
657
578
  attr_accessor :security_marks
658
579
 
659
- # The time at which the asset was last updated, added, or deleted in Cloud
660
- # SCC.
580
+ # The time at which the asset was last updated, added, or deleted in Cloud SCC.
661
581
  # Corresponds to the JSON property `updateTime`
662
582
  # @return [String]
663
583
  attr_accessor :update_time
@@ -678,17 +598,15 @@ module Google
678
598
  end
679
599
  end
680
600
 
681
- # Security Command Center finding.
682
- # A finding is a record of assessment data (security, risk, health or privacy)
683
- # ingested into Security Command Center for presentation, notification,
684
- # analysis, policy testing, and enforcement. For example, an XSS vulnerability
685
- # in an App Engine application is a finding.
601
+ # Security Command Center finding. A finding is a record of assessment data (
602
+ # security, risk, health or privacy) ingested into Security Command Center for
603
+ # presentation, notification, analysis, policy testing, and enforcement. For
604
+ # example, an XSS vulnerability in an App Engine application is a finding.
686
605
  class GoogleCloudSecuritycenterV1p1beta1Finding
687
606
  include Google::Apis::Core::Hashable
688
607
 
689
- # The additional taxonomy group within findings from a given source.
690
- # This field is immutable after creation time.
691
- # Example: "XSS_FLASH_INJECTION"
608
+ # The additional taxonomy group within findings from a given source. This field
609
+ # is immutable after creation time. Example: "XSS_FLASH_INJECTION"
692
610
  # Corresponds to the JSON property `category`
693
611
  # @return [String]
694
612
  attr_accessor :category
@@ -698,59 +616,56 @@ module Google
698
616
  # @return [String]
699
617
  attr_accessor :create_time
700
618
 
701
- # The time at which the event took place. For example, if the finding
702
- # represents an open firewall it would capture the time the detector believes
703
- # the firewall became open. The accuracy is determined by the detector.
619
+ # The time at which the event took place. For example, if the finding represents
620
+ # an open firewall it would capture the time the detector believes the firewall
621
+ # became open. The accuracy is determined by the detector.
704
622
  # Corresponds to the JSON property `eventTime`
705
623
  # @return [String]
706
624
  attr_accessor :event_time
707
625
 
708
- # The URI that, if available, points to a web page outside of Security
709
- # Command Center where additional information about the finding can be found.
710
- # This field is guaranteed to be either empty or a well formed URL.
626
+ # The URI that, if available, points to a web page outside of Security Command
627
+ # Center where additional information about the finding can be found. This field
628
+ # is guaranteed to be either empty or a well formed URL.
711
629
  # Corresponds to the JSON property `externalUri`
712
630
  # @return [String]
713
631
  attr_accessor :external_uri
714
632
 
715
- # The relative resource name of this finding. See:
716
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
717
- # Example:
718
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
633
+ # The relative resource name of this finding. See: https://cloud.google.com/apis/
634
+ # design/resource_names#relative_resource_name Example: "organizations/`
635
+ # organization_id`/sources/`source_id`/findings/`finding_id`"
719
636
  # Corresponds to the JSON property `name`
720
637
  # @return [String]
721
638
  attr_accessor :name
722
639
 
723
- # The relative resource name of the source the finding belongs to. See:
724
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
725
- # This field is immutable after creation time.
726
- # For example:
727
- # "organizations/`organization_id`/sources/`source_id`"
640
+ # The relative resource name of the source the finding belongs to. See: https://
641
+ # cloud.google.com/apis/design/resource_names#relative_resource_name This field
642
+ # is immutable after creation time. For example: "organizations/`organization_id`
643
+ # /sources/`source_id`"
728
644
  # Corresponds to the JSON property `parent`
729
645
  # @return [String]
730
646
  attr_accessor :parent
731
647
 
732
- # For findings on Google Cloud resources, the full resource
733
- # name of the Google Cloud resource this finding is for. See:
734
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
735
- # When the finding is for a non-Google Cloud resource, the resourceName can
736
- # be a customer or partner defined string. This field is immutable after
737
- # creation time.
648
+ # For findings on Google Cloud resources, the full resource name of the Google
649
+ # Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
650
+ # resource_names#full_resource_name When the finding is for a non-Google Cloud
651
+ # resource, the resourceName can be a customer or partner defined string. This
652
+ # field is immutable after creation time.
738
653
  # Corresponds to the JSON property `resourceName`
739
654
  # @return [String]
740
655
  attr_accessor :resource_name
741
656
 
742
- # User specified security marks that are attached to the parent Security
743
- # Command Center resource. Security marks are scoped within a Security Command
744
- # Center organization -- they can be modified and viewed by all users who have
745
- # proper permissions on the organization.
657
+ # User specified security marks that are attached to the parent Security Command
658
+ # Center resource. Security marks are scoped within a Security Command Center
659
+ # organization -- they can be modified and viewed by all users who have proper
660
+ # permissions on the organization.
746
661
  # Corresponds to the JSON property `securityMarks`
747
662
  # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
748
663
  attr_accessor :security_marks
749
664
 
750
- # Source specific properties. These properties are managed by the source
751
- # that writes the finding. The key names in the source_properties map must be
752
- # between 1 and 255 characters, and must start with a letter and contain
753
- # alphanumeric characters or underscores only.
665
+ # Source specific properties. These properties are managed by the source that
666
+ # writes the finding. The key names in the source_properties map must be between
667
+ # 1 and 255 characters, and must start with a letter and contain alphanumeric
668
+ # characters or underscores only.
754
669
  # Corresponds to the JSON property `sourceProperties`
755
670
  # @return [Hash<String,Object>]
756
671
  attr_accessor :source_properties
@@ -781,14 +696,12 @@ module Google
781
696
 
782
697
  # Cloud IAM Policy information associated with the Google Cloud resource
783
698
  # described by the Security Command Center asset. This information is managed
784
- # and defined by the Google Cloud resource and cannot be modified by the
785
- # user.
699
+ # and defined by the Google Cloud resource and cannot be modified by the user.
786
700
  class GoogleCloudSecuritycenterV1p1beta1IamPolicy
787
701
  include Google::Apis::Core::Hashable
788
702
 
789
- # The JSON representation of the Policy associated with the asset.
790
- # See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
791
- # format details.
703
+ # The JSON representation of the Policy associated with the asset. See https://
704
+ # cloud.google.com/iam/docs/reference/rest/v1/Policy for format details.
792
705
  # Corresponds to the JSON property `policyBlob`
793
706
  # @return [String]
794
707
  attr_accessor :policy_blob
@@ -807,11 +720,10 @@ module Google
807
720
  class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
808
721
  include Google::Apis::Core::Hashable
809
722
 
810
- # Security Command Center finding.
811
- # A finding is a record of assessment data (security, risk, health or privacy)
812
- # ingested into Security Command Center for presentation, notification,
813
- # analysis, policy testing, and enforcement. For example, an XSS vulnerability
814
- # in an App Engine application is a finding.
723
+ # Security Command Center finding. A finding is a record of assessment data (
724
+ # security, risk, health or privacy) ingested into Security Command Center for
725
+ # presentation, notification, analysis, policy testing, and enforcement. For
726
+ # example, an XSS vulnerability in an App Engine application is a finding.
815
727
  # Corresponds to the JSON property `finding`
816
728
  # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding]
817
729
  attr_accessor :finding
@@ -826,8 +738,8 @@ module Google
826
738
  # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Resource]
827
739
  attr_accessor :resource
828
740
 
829
- # Wrapper over asset object that also captures the state change for the asset
830
- # e.g. if it was a newly created asset vs updated or deleted asset.
741
+ # Wrapper over asset object that also captures the state change for the asset e.
742
+ # g. if it was a newly created asset vs updated or deleted asset.
831
743
  # Corresponds to the JSON property `temporalAsset`
832
744
  # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset]
833
745
  attr_accessor :temporal_asset
@@ -849,8 +761,8 @@ module Google
849
761
  class GoogleCloudSecuritycenterV1p1beta1Resource
850
762
  include Google::Apis::Core::Hashable
851
763
 
852
- # The full resource name of the resource. See:
853
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
764
+ # The full resource name of the resource. See: https://cloud.google.com/apis/
765
+ # design/resource_names#full_resource_name
854
766
  # Corresponds to the JSON property `name`
855
767
  # @return [String]
856
768
  attr_accessor :name
@@ -924,9 +836,9 @@ module Google
924
836
  # @return [String]
925
837
  attr_accessor :resource_display_name
926
838
 
927
- # The full resource name of the Google Cloud resource this asset
928
- # represents. This field is immutable after create time. See:
929
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
839
+ # The full resource name of the Google Cloud resource this asset represents.
840
+ # This field is immutable after create time. See: https://cloud.google.com/apis/
841
+ # design/resource_names#full_resource_name
930
842
  # Corresponds to the JSON property `resourceName`
931
843
  # @return [String]
932
844
  attr_accessor :resource_name
@@ -936,8 +848,8 @@ module Google
936
848
  # @return [Array<String>]
937
849
  attr_accessor :resource_owners
938
850
 
939
- # The full resource name of the immediate parent of the resource. See:
940
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
851
+ # The full resource name of the immediate parent of the resource. See: https://
852
+ # cloud.google.com/apis/design/resource_names#full_resource_name
941
853
  # Corresponds to the JSON property `resourceParent`
942
854
  # @return [String]
943
855
  attr_accessor :resource_parent
@@ -947,8 +859,8 @@ module Google
947
859
  # @return [String]
948
860
  attr_accessor :resource_parent_display_name
949
861
 
950
- # The full resource name of the project the resource belongs to. See:
951
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
862
+ # The full resource name of the project the resource belongs to. See: https://
863
+ # cloud.google.com/apis/design/resource_names#full_resource_name
952
864
  # Corresponds to the JSON property `resourceProject`
953
865
  # @return [String]
954
866
  attr_accessor :resource_project
@@ -958,10 +870,9 @@ module Google
958
870
  # @return [String]
959
871
  attr_accessor :resource_project_display_name
960
872
 
961
- # The type of the Google Cloud resource. Examples include: APPLICATION,
962
- # PROJECT, and ORGANIZATION. This is a case insensitive field defined by
963
- # Security Command Center and/or the producer of the resource and is
964
- # immutable after create time.
873
+ # The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT,
874
+ # and ORGANIZATION. This is a case insensitive field defined by Security Command
875
+ # Center and/or the producer of the resource and is immutable after create time.
965
876
  # Corresponds to the JSON property `resourceType`
966
877
  # @return [String]
967
878
  attr_accessor :resource_type
@@ -983,30 +894,26 @@ module Google
983
894
  end
984
895
  end
985
896
 
986
- # User specified security marks that are attached to the parent Security
987
- # Command Center resource. Security marks are scoped within a Security Command
988
- # Center organization -- they can be modified and viewed by all users who have
989
- # proper permissions on the organization.
897
+ # User specified security marks that are attached to the parent Security Command
898
+ # Center resource. Security marks are scoped within a Security Command Center
899
+ # organization -- they can be modified and viewed by all users who have proper
900
+ # permissions on the organization.
990
901
  class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
991
902
  include Google::Apis::Core::Hashable
992
903
 
993
904
  # Mutable user specified security marks belonging to the parent resource.
994
- # Constraints are as follows:
995
- # * Keys and values are treated as case insensitive
996
- # * Keys must be between 1 - 256 characters (inclusive)
997
- # * Keys must be letters, numbers, underscores, or dashes
998
- # * Values have leading and trailing whitespace trimmed, remaining
999
- # characters must be between 1 - 4096 characters (inclusive)
905
+ # Constraints are as follows: * Keys and values are treated as case insensitive *
906
+ # Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
907
+ # numbers, underscores, or dashes * Values have leading and trailing whitespace
908
+ # trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
1000
909
  # Corresponds to the JSON property `marks`
1001
910
  # @return [Hash<String,String>]
1002
911
  attr_accessor :marks
1003
912
 
1004
- # The relative resource name of the SecurityMarks. See:
1005
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1006
- # Examples:
1007
- # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
1008
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
1009
- # securityMarks".
913
+ # The relative resource name of the SecurityMarks. See: https://cloud.google.com/
914
+ # apis/design/resource_names#relative_resource_name Examples: "organizations/`
915
+ # organization_id`/assets/`asset_id`/securityMarks" "organizations/`
916
+ # organization_id`/sources/`source_id`/findings/`finding_id`/securityMarks".
1010
917
  # Corresponds to the JSON property `name`
1011
918
  # @return [String]
1012
919
  attr_accessor :name
@@ -1022,17 +929,16 @@ module Google
1022
929
  end
1023
930
  end
1024
931
 
1025
- # Wrapper over asset object that also captures the state change for the asset
1026
- # e.g. if it was a newly created asset vs updated or deleted asset.
932
+ # Wrapper over asset object that also captures the state change for the asset e.
933
+ # g. if it was a newly created asset vs updated or deleted asset.
1027
934
  class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
1028
935
  include Google::Apis::Core::Hashable
1029
936
 
1030
- # Security Command Center representation of a Google Cloud
1031
- # resource.
1032
- # The Asset is a Security Command Center resource that captures information
1033
- # about a single Google Cloud resource. All modifications to an Asset are only
1034
- # within the context of Security Command Center and don't affect the referenced
1035
- # Google Cloud resource.
937
+ # Security Command Center representation of a Google Cloud resource. The Asset
938
+ # is a Security Command Center resource that captures information about a single
939
+ # Google Cloud resource. All modifications to an Asset are only within the
940
+ # context of Security Command Center and don't affect the referenced Google
941
+ # Cloud resource.
1036
942
  # Corresponds to the JSON property `asset`
1037
943
  # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Asset]
1038
944
  attr_accessor :asset
@@ -1058,119 +964,93 @@ module Google
1058
964
  include Google::Apis::Core::Hashable
1059
965
 
1060
966
  # When compare_duration is set, the GroupResult's "state_change" property is
1061
- # updated to indicate whether the asset was added, removed, or remained
1062
- # present during the compare_duration period of time that precedes the
1063
- # read_time. This is the time between (read_time - compare_duration) and
1064
- # read_time.
1065
- # The state change value is derived based on the presence of the asset at the
1066
- # two points in time. Intermediate state changes between the two times don't
1067
- # affect the result. For example, the results aren't affected if the asset is
1068
- # removed and re-created again.
1069
- # Possible "state_change" values when compare_duration is specified:
1070
- # * "ADDED": indicates that the asset was not present at the start of
1071
- # compare_duration, but present at reference_time.
1072
- # * "REMOVED": indicates that the asset was present at the start of
1073
- # compare_duration, but not present at reference_time.
1074
- # * "ACTIVE": indicates that the asset was present at both the
1075
- # start and the end of the time period defined by
1076
- # compare_duration and reference_time.
1077
- # If compare_duration is not specified, then the only possible state_change
1078
- # is "UNUSED", which will be the state_change set for all assets present at
1079
- # read_time.
1080
- # If this field is set then `state_change` must be a specified field in
1081
- # `group_by`.
967
+ # updated to indicate whether the asset was added, removed, or remained present
968
+ # during the compare_duration period of time that precedes the read_time. This
969
+ # is the time between (read_time - compare_duration) and read_time. The state
970
+ # change value is derived based on the presence of the asset at the two points
971
+ # in time. Intermediate state changes between the two times don't affect the
972
+ # result. For example, the results aren't affected if the asset is removed and
973
+ # re-created again. Possible "state_change" values when compare_duration is
974
+ # specified: * "ADDED": indicates that the asset was not present at the start of
975
+ # compare_duration, but present at reference_time. * "REMOVED": indicates that
976
+ # the asset was present at the start of compare_duration, but not present at
977
+ # reference_time. * "ACTIVE": indicates that the asset was present at both the
978
+ # start and the end of the time period defined by compare_duration and
979
+ # reference_time. If compare_duration is not specified, then the only possible
980
+ # state_change is "UNUSED", which will be the state_change set for all assets
981
+ # present at read_time. If this field is set then `state_change` must be a
982
+ # specified field in `group_by`.
1082
983
  # Corresponds to the JSON property `compareDuration`
1083
984
  # @return [String]
1084
985
  attr_accessor :compare_duration
1085
986
 
1086
- # Expression that defines the filter to apply across assets.
1087
- # The expression is a list of zero or more restrictions combined via logical
1088
- # operators `AND` and `OR`.
1089
- # Parentheses are supported, and `OR` has higher precedence than `AND`.
1090
- # Restrictions have the form `<field> <operator> <value>` and may have a `-`
1091
- # character in front of them to indicate negation. The fields map to those
1092
- # defined in the Asset resource. Examples include:
1093
- # * name
1094
- # * security_center_properties.resource_name
1095
- # * resource_properties.a_property
1096
- # * security_marks.marks.marka
1097
- # The supported operators are:
1098
- # * `=` for all value types.
1099
- # * `>`, `<`, `>=`, `<=` for integer values.
1100
- # * `:`, meaning substring matching, for strings.
1101
- # The supported value types are:
1102
- # * string literals in quotes.
1103
- # * integer literals without quotes.
1104
- # * boolean literals `true` and `false` without quotes.
1105
- # The following field and operator combinations are supported:
1106
- # * name: `=`
1107
- # * update_time: `=`, `>`, `<`, `>=`, `<=`
1108
- # Usage: This should be milliseconds since epoch or an RFC3339 string.
1109
- # Examples:
1110
- # `update_time = "2019-06-10T16:07:18-07:00"`
1111
- # `update_time = 1560208038000`
1112
- # * create_time: `=`, `>`, `<`, `>=`, `<=`
1113
- # Usage: This should be milliseconds since epoch or an RFC3339 string.
1114
- # Examples:
1115
- # `create_time = "2019-06-10T16:07:18-07:00"`
1116
- # `create_time = 1560208038000`
1117
- # * iam_policy.policy_blob: `=`, `:`
1118
- # * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
1119
- # * security_marks.marks: `=`, `:`
1120
- # * security_center_properties.resource_name: `=`, `:`
1121
- # * security_center_properties.resource_name_display_name: `=`, `:`
1122
- # * security_center_properties.resource_type: `=`, `:`
1123
- # * security_center_properties.resource_parent: `=`, `:`
1124
- # * security_center_properties.resource_parent_display_name: `=`, `:`
1125
- # * security_center_properties.resource_project: `=`, `:`
1126
- # * security_center_properties.resource_project_display_name: `=`, `:`
1127
- # * security_center_properties.resource_owners: `=`, `:`
1128
- # For example, `resource_properties.size = 100` is a valid filter string.
1129
- # Use a partial match on the empty string to filter based on a property
1130
- # existing: `resource_properties.my_property : ""`
1131
- # Use a negated partial match on the empty string to filter based on a
1132
- # property not existing: `-resource_properties.my_property : ""`
987
+ # Expression that defines the filter to apply across assets. The expression is a
988
+ # list of zero or more restrictions combined via logical operators `AND` and `OR`
989
+ # . Parentheses are supported, and `OR` has higher precedence than `AND`.
990
+ # Restrictions have the form ` ` and may have a `-` character in front of them
991
+ # to indicate negation. The fields map to those defined in the Asset resource.
992
+ # Examples include: * name * security_center_properties.resource_name *
993
+ # resource_properties.a_property * security_marks.marks.marka The supported
994
+ # operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer
995
+ # values. * `:`, meaning substring matching, for strings. The supported value
996
+ # types are: * string literals in quotes. * integer literals without quotes. *
997
+ # boolean literals `true` and `false` without quotes. The following field and
998
+ # operator combinations are supported: * name: `=` * update_time: `=`, `>`, `<`,
999
+ # `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string.
1000
+ # Examples: `update_time = "2019-06-10T16:07:18-07:00"` `update_time =
1001
+ # 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be
1002
+ # milliseconds since epoch or an RFC3339 string. Examples: `create_time = "2019-
1003
+ # 06-10T16:07:18-07:00"` `create_time = 1560208038000` * iam_policy.policy_blob:
1004
+ # `=`, `:` * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` *
1005
+ # security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`,
1006
+ # `:` * security_center_properties.resource_name_display_name: `=`, `:` *
1007
+ # security_center_properties.resource_type: `=`, `:` *
1008
+ # security_center_properties.resource_parent: `=`, `:` *
1009
+ # security_center_properties.resource_parent_display_name: `=`, `:` *
1010
+ # security_center_properties.resource_project: `=`, `:` *
1011
+ # security_center_properties.resource_project_display_name: `=`, `:` *
1012
+ # security_center_properties.resource_owners: `=`, `:` For example, `
1013
+ # resource_properties.size = 100` is a valid filter string. Use a partial match
1014
+ # on the empty string to filter based on a property existing: `
1015
+ # resource_properties.my_property : ""` Use a negated partial match on the empty
1016
+ # string to filter based on a property not existing: `-resource_properties.
1017
+ # my_property : ""`
1133
1018
  # Corresponds to the JSON property `filter`
1134
1019
  # @return [String]
1135
1020
  attr_accessor :filter
1136
1021
 
1137
1022
  # Required. Expression that defines what assets fields to use for grouping. The
1138
- # string
1139
- # value should follow SQL syntax: comma separated list of fields. For
1140
- # example:
1141
- # "security_center_properties.resource_project,security_center_properties.
1142
- # project".
1143
- # The following fields are supported when compare_duration is not set:
1144
- # * security_center_properties.resource_project
1145
- # * security_center_properties.resource_project_display_name
1146
- # * security_center_properties.resource_type
1147
- # * security_center_properties.resource_parent
1148
- # * security_center_properties.resource_parent_display_name
1149
- # The following fields are supported when compare_duration is set:
1150
- # * security_center_properties.resource_type
1151
- # * security_center_properties.resource_project_display_name
1152
- # * security_center_properties.resource_parent_display_name
1023
+ # string value should follow SQL syntax: comma separated list of fields. For
1024
+ # example: "security_center_properties.resource_project,
1025
+ # security_center_properties.project". The following fields are supported when
1026
+ # compare_duration is not set: * security_center_properties.resource_project *
1027
+ # security_center_properties.resource_project_display_name *
1028
+ # security_center_properties.resource_type * security_center_properties.
1029
+ # resource_parent * security_center_properties.resource_parent_display_name The
1030
+ # following fields are supported when compare_duration is set: *
1031
+ # security_center_properties.resource_type * security_center_properties.
1032
+ # resource_project_display_name * security_center_properties.
1033
+ # resource_parent_display_name
1153
1034
  # Corresponds to the JSON property `groupBy`
1154
1035
  # @return [String]
1155
1036
  attr_accessor :group_by
1156
1037
 
1157
- # The maximum number of results to return in a single response. Default is
1158
- # 10, minimum is 1, maximum is 1000.
1038
+ # The maximum number of results to return in a single response. Default is 10,
1039
+ # minimum is 1, maximum is 1000.
1159
1040
  # Corresponds to the JSON property `pageSize`
1160
1041
  # @return [Fixnum]
1161
1042
  attr_accessor :page_size
1162
1043
 
1163
- # The value returned by the last `GroupAssetsResponse`; indicates
1164
- # that this is a continuation of a prior `GroupAssets` call, and that the
1165
- # system should return the next page of data.
1044
+ # The value returned by the last `GroupAssetsResponse`; indicates that this is a
1045
+ # continuation of a prior `GroupAssets` call, and that the system should return
1046
+ # the next page of data.
1166
1047
  # Corresponds to the JSON property `pageToken`
1167
1048
  # @return [String]
1168
1049
  attr_accessor :page_token
1169
1050
 
1170
- # Time used as a reference point when filtering assets. The filter is limited
1171
- # to assets existing at the supplied time and their values are those at that
1172
- # specific time. Absence of this field will default to the API's version of
1173
- # NOW.
1051
+ # Time used as a reference point when filtering assets. The filter is limited to
1052
+ # assets existing at the supplied time and their values are those at that
1053
+ # specific time. Absence of this field will default to the API's version of NOW.
1174
1054
  # Corresponds to the JSON property `readTime`
1175
1055
  # @return [String]
1176
1056
  attr_accessor :read_time
@@ -1194,9 +1074,9 @@ module Google
1194
1074
  class GroupAssetsResponse
1195
1075
  include Google::Apis::Core::Hashable
1196
1076
 
1197
- # Group results. There exists an element for each existing unique
1198
- # combination of property/values. The element contains a count for the number
1199
- # of times those specific property/values appear.
1077
+ # Group results. There exists an element for each existing unique combination of
1078
+ # property/values. The element contains a count for the number of times those
1079
+ # specific property/values appear.
1200
1080
  # Corresponds to the JSON property `groupByResults`
1201
1081
  # @return [Array<Google::Apis::SecuritycenterV1p1beta1::GroupResult>]
1202
1082
  attr_accessor :group_by_results
@@ -1235,108 +1115,79 @@ module Google
1235
1115
  include Google::Apis::Core::Hashable
1236
1116
 
1237
1117
  # When compare_duration is set, the GroupResult's "state_change" attribute is
1238
- # updated to indicate whether the finding had its state changed, the
1239
- # finding's state remained unchanged, or if the finding was added during the
1240
- # compare_duration period of time that precedes the read_time. This is the
1241
- # time between (read_time - compare_duration) and read_time.
1242
- # The state_change value is derived based on the presence and state of the
1243
- # finding at the two points in time. Intermediate state changes between the
1244
- # two times don't affect the result. For example, the results aren't affected
1245
- # if the finding is made inactive and then active again.
1246
- # Possible "state_change" values when compare_duration is specified:
1247
- # * "CHANGED": indicates that the finding was present and matched the given
1248
- # filter at the start of compare_duration, but changed its
1249
- # state at read_time.
1250
- # * "UNCHANGED": indicates that the finding was present and matched the given
1251
- # filter at the start of compare_duration and did not change
1252
- # state at read_time.
1253
- # * "ADDED": indicates that the finding did not match the given filter or
1254
- # was not present at the start of compare_duration, but was
1255
- # present at read_time.
1256
- # * "REMOVED": indicates that the finding was present and matched the
1257
- # filter at the start of compare_duration, but did not match
1258
- # the filter at read_time.
1259
- # If compare_duration is not specified, then the only possible state_change
1260
- # is "UNUSED", which will be the state_change set for all findings present
1261
- # at read_time.
1262
- # If this field is set then `state_change` must be a specified field in
1263
- # `group_by`.
1118
+ # updated to indicate whether the finding had its state changed, the finding's
1119
+ # state remained unchanged, or if the finding was added during the
1120
+ # compare_duration period of time that precedes the read_time. This is the time
1121
+ # between (read_time - compare_duration) and read_time. The state_change value
1122
+ # is derived based on the presence and state of the finding at the two points in
1123
+ # time. Intermediate state changes between the two times don't affect the result.
1124
+ # For example, the results aren't affected if the finding is made inactive and
1125
+ # then active again. Possible "state_change" values when compare_duration is
1126
+ # specified: * "CHANGED": indicates that the finding was present and matched the
1127
+ # given filter at the start of compare_duration, but changed its state at
1128
+ # read_time. * "UNCHANGED": indicates that the finding was present and matched
1129
+ # the given filter at the start of compare_duration and did not change state at
1130
+ # read_time. * "ADDED": indicates that the finding did not match the given
1131
+ # filter or was not present at the start of compare_duration, but was present at
1132
+ # read_time. * "REMOVED": indicates that the finding was present and matched the
1133
+ # filter at the start of compare_duration, but did not match the filter at
1134
+ # read_time. If compare_duration is not specified, then the only possible
1135
+ # state_change is "UNUSED", which will be the state_change set for all findings
1136
+ # present at read_time. If this field is set then `state_change` must be a
1137
+ # specified field in `group_by`.
1264
1138
  # Corresponds to the JSON property `compareDuration`
1265
1139
  # @return [String]
1266
1140
  attr_accessor :compare_duration
1267
1141
 
1268
- # Expression that defines the filter to apply across findings.
1269
- # The expression is a list of one or more restrictions combined via logical
1270
- # operators `AND` and `OR`.
1271
- # Parentheses are supported, and `OR` has higher precedence than `AND`.
1272
- # Restrictions have the form `<field> <operator> <value>` and may have a `-`
1273
- # character in front of them to indicate negation. Examples include:
1274
- # * name
1275
- # * source_properties.a_property
1276
- # * security_marks.marks.marka
1277
- # The supported operators are:
1278
- # * `=` for all value types.
1279
- # * `>`, `<`, `>=`, `<=` for integer values.
1280
- # * `:`, meaning substring matching, for strings.
1281
- # The supported value types are:
1282
- # * string literals in quotes.
1283
- # * integer literals without quotes.
1284
- # * boolean literals `true` and `false` without quotes.
1285
- # The following field and operator combinations are supported:
1286
- # * name: `=`
1287
- # * parent: `=`, `:`
1288
- # * resource_name: `=`, `:`
1289
- # * state: `=`, `:`
1290
- # * category: `=`, `:`
1291
- # * external_uri: `=`, `:`
1292
- # * event_time: `=`, `>`, `<`, `>=`, `<=`
1293
- # Usage: This should be milliseconds since epoch or an RFC3339 string.
1294
- # Examples:
1295
- # `event_time = "2019-06-10T16:07:18-07:00"`
1296
- # `event_time = 1560208038000`
1297
- # * security_marks.marks: `=`, `:`
1298
- # * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
1299
- # For example, `source_properties.size = 100` is a valid filter string.
1300
- # Use a partial match on the empty string to filter based on a property
1301
- # existing: `source_properties.my_property : ""`
1302
- # Use a negated partial match on the empty string to filter based on a
1303
- # property not existing: `-source_properties.my_property : ""`
1142
+ # Expression that defines the filter to apply across findings. The expression is
1143
+ # a list of one or more restrictions combined via logical operators `AND` and `
1144
+ # OR`. Parentheses are supported, and `OR` has higher precedence than `AND`.
1145
+ # Restrictions have the form ` ` and may have a `-` character in front of them
1146
+ # to indicate negation. Examples include: * name * source_properties.a_property *
1147
+ # security_marks.marks.marka The supported operators are: * `=` for all value
1148
+ # types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring
1149
+ # matching, for strings. The supported value types are: * string literals in
1150
+ # quotes. * integer literals without quotes. * boolean literals `true` and `
1151
+ # false` without quotes. The following field and operator combinations are
1152
+ # supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=
1153
+ # `, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<
1154
+ # `, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339
1155
+ # string. Examples: `event_time = "2019-06-10T16:07:18-07:00"` `event_time =
1156
+ # 1560208038000` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`,
1157
+ # `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid
1158
+ # filter string. Use a partial match on the empty string to filter based on a
1159
+ # property existing: `source_properties.my_property : ""` Use a negated partial
1160
+ # match on the empty string to filter based on a property not existing: `-
1161
+ # source_properties.my_property : ""`
1304
1162
  # Corresponds to the JSON property `filter`
1305
1163
  # @return [String]
1306
1164
  attr_accessor :filter
1307
1165
 
1308
1166
  # Required. Expression that defines what assets fields to use for grouping (
1309
- # including
1310
- # `state_change`). The string value should follow SQL syntax: comma separated
1311
- # list of fields. For example: "parent,resource_name".
1312
- # The following fields are supported:
1313
- # * resource_name
1314
- # * category
1315
- # * state
1316
- # * parent
1317
- # The following fields are supported when compare_duration is set:
1318
- # * state_change
1167
+ # including `state_change`). The string value should follow SQL syntax: comma
1168
+ # separated list of fields. For example: "parent,resource_name". The following
1169
+ # fields are supported: * resource_name * category * state * parent The
1170
+ # following fields are supported when compare_duration is set: * state_change
1319
1171
  # Corresponds to the JSON property `groupBy`
1320
1172
  # @return [String]
1321
1173
  attr_accessor :group_by
1322
1174
 
1323
- # The maximum number of results to return in a single response. Default is
1324
- # 10, minimum is 1, maximum is 1000.
1175
+ # The maximum number of results to return in a single response. Default is 10,
1176
+ # minimum is 1, maximum is 1000.
1325
1177
  # Corresponds to the JSON property `pageSize`
1326
1178
  # @return [Fixnum]
1327
1179
  attr_accessor :page_size
1328
1180
 
1329
- # The value returned by the last `GroupFindingsResponse`; indicates
1330
- # that this is a continuation of a prior `GroupFindings` call, and
1331
- # that the system should return the next page of data.
1181
+ # The value returned by the last `GroupFindingsResponse`; indicates that this is
1182
+ # a continuation of a prior `GroupFindings` call, and that the system should
1183
+ # return the next page of data.
1332
1184
  # Corresponds to the JSON property `pageToken`
1333
1185
  # @return [String]
1334
1186
  attr_accessor :page_token
1335
1187
 
1336
- # Time used as a reference point when filtering findings. The filter is
1337
- # limited to findings existing at the supplied time and their values are
1338
- # those at that specific time. Absence of this field will default to the
1339
- # API's version of NOW.
1188
+ # Time used as a reference point when filtering findings. The filter is limited
1189
+ # to findings existing at the supplied time and their values are those at that
1190
+ # specific time. Absence of this field will default to the API's version of NOW.
1340
1191
  # Corresponds to the JSON property `readTime`
1341
1192
  # @return [String]
1342
1193
  attr_accessor :read_time
@@ -1360,9 +1211,9 @@ module Google
1360
1211
  class GroupFindingsResponse
1361
1212
  include Google::Apis::Core::Hashable
1362
1213
 
1363
- # Group results. There exists an element for each existing unique
1364
- # combination of property/values. The element contains a count for the number
1365
- # of times those specific property/values appear.
1214
+ # Group results. There exists an element for each existing unique combination of
1215
+ # property/values. The element contains a count for the number of times those
1216
+ # specific property/values appear.
1366
1217
  # Corresponds to the JSON property `groupByResults`
1367
1218
  # @return [Array<Google::Apis::SecuritycenterV1p1beta1::GroupResult>]
1368
1219
  attr_accessor :group_by_results
@@ -1463,12 +1314,11 @@ module Google
1463
1314
  class ListAssetsResult
1464
1315
  include Google::Apis::Core::Hashable
1465
1316
 
1466
- # Security Command Center representation of a Google Cloud
1467
- # resource.
1468
- # The Asset is a Security Command Center resource that captures information
1469
- # about a single Google Cloud resource. All modifications to an Asset are only
1470
- # within the context of Security Command Center and don't affect the referenced
1471
- # Google Cloud resource.
1317
+ # Security Command Center representation of a Google Cloud resource. The Asset
1318
+ # is a Security Command Center resource that captures information about a single
1319
+ # Google Cloud resource. All modifications to an Asset are only within the
1320
+ # context of Security Command Center and don't affect the referenced Google
1321
+ # Cloud resource.
1472
1322
  # Corresponds to the JSON property `asset`
1473
1323
  # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Asset]
1474
1324
  attr_accessor :asset
@@ -1531,17 +1381,16 @@ module Google
1531
1381
  class ListFindingsResult
1532
1382
  include Google::Apis::Core::Hashable
1533
1383
 
1534
- # Security Command Center finding.
1535
- # A finding is a record of assessment data (security, risk, health or privacy)
1536
- # ingested into Security Command Center for presentation, notification,
1537
- # analysis, policy testing, and enforcement. For example, an XSS vulnerability
1538
- # in an App Engine application is a finding.
1384
+ # Security Command Center finding. A finding is a record of assessment data (
1385
+ # security, risk, health or privacy) ingested into Security Command Center for
1386
+ # presentation, notification, analysis, policy testing, and enforcement. For
1387
+ # example, an XSS vulnerability in an App Engine application is a finding.
1539
1388
  # Corresponds to the JSON property `finding`
1540
1389
  # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding]
1541
1390
  attr_accessor :finding
1542
1391
 
1543
- # Information related to the Google Cloud resource that is
1544
- # associated with this finding.
1392
+ # Information related to the Google Cloud resource that is associated with this
1393
+ # finding. LINT.IfChange
1545
1394
  # Corresponds to the JSON property `resource`
1546
1395
  # @return [Google::Apis::SecuritycenterV1p1beta1::Resource]
1547
1396
  attr_accessor :resource
@@ -1640,10 +1489,9 @@ module Google
1640
1489
  end
1641
1490
  end
1642
1491
 
1643
- # Security Command Center notification configs.
1644
- # A notification config is a Security Command Center resource that contains the
1645
- # configuration to send notifications for create/update events of findings,
1646
- # assets and etc.
1492
+ # Security Command Center notification configs. A notification config is a
1493
+ # Security Command Center resource that contains the configuration to send
1494
+ # notifications for create/update events of findings, assets and etc.
1647
1495
  class NotificationConfig
1648
1496
  include Google::Apis::Core::Hashable
1649
1497
 
@@ -1657,28 +1505,27 @@ module Google
1657
1505
  # @return [String]
1658
1506
  attr_accessor :event_type
1659
1507
 
1660
- # The relative resource name of this notification config. See:
1661
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1662
- # Example:
1663
- # "organizations/`organization_id`/notificationConfigs/notify_public_bucket".
1508
+ # The relative resource name of this notification config. See: https://cloud.
1509
+ # google.com/apis/design/resource_names#relative_resource_name Example: "
1510
+ # organizations/`organization_id`/notificationConfigs/notify_public_bucket".
1664
1511
  # Corresponds to the JSON property `name`
1665
1512
  # @return [String]
1666
1513
  attr_accessor :name
1667
1514
 
1668
- # The Pub/Sub topic to send notifications to. Its format is
1669
- # "projects/[project_id]/topics/[topic]".
1515
+ # The Pub/Sub topic to send notifications to. Its format is "projects/[
1516
+ # project_id]/topics/[topic]".
1670
1517
  # Corresponds to the JSON property `pubsubTopic`
1671
1518
  # @return [String]
1672
1519
  attr_accessor :pubsub_topic
1673
1520
 
1674
- # Output only. The service account that needs "pubsub.topics.publish"
1675
- # permission to publish to the Pub/Sub topic.
1521
+ # Output only. The service account that needs "pubsub.topics.publish" permission
1522
+ # to publish to the Pub/Sub topic.
1676
1523
  # Corresponds to the JSON property `serviceAccount`
1677
1524
  # @return [String]
1678
1525
  attr_accessor :service_account
1679
1526
 
1680
- # The config for streaming-based notifications, which send each event as soon
1681
- # as it is detected.
1527
+ # The config for streaming-based notifications, which send each event as soon as
1528
+ # it is detected.
1682
1529
  # Corresponds to the JSON property `streamingConfig`
1683
1530
  # @return [Google::Apis::SecuritycenterV1p1beta1::StreamingConfig]
1684
1531
  attr_accessor :streaming_config
@@ -1703,47 +1550,45 @@ module Google
1703
1550
  class Operation
1704
1551
  include Google::Apis::Core::Hashable
1705
1552
 
1706
- # If the value is `false`, it means the operation is still in progress.
1707
- # If `true`, the operation is completed, and either `error` or `response` is
1708
- # available.
1553
+ # If the value is `false`, it means the operation is still in progress. If `true`
1554
+ # , the operation is completed, and either `error` or `response` is available.
1709
1555
  # Corresponds to the JSON property `done`
1710
1556
  # @return [Boolean]
1711
1557
  attr_accessor :done
1712
1558
  alias_method :done?, :done
1713
1559
 
1714
- # The `Status` type defines a logical error model that is suitable for
1715
- # different programming environments, including REST APIs and RPC APIs. It is
1716
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1717
- # three pieces of data: error code, error message, and error details.
1718
- # You can find out more about this error model and how to work with it in the
1719
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1560
+ # The `Status` type defines a logical error model that is suitable for different
1561
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1562
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1563
+ # data: error code, error message, and error details. You can find out more
1564
+ # about this error model and how to work with it in the [API Design Guide](https:
1565
+ # //cloud.google.com/apis/design/errors).
1720
1566
  # Corresponds to the JSON property `error`
1721
1567
  # @return [Google::Apis::SecuritycenterV1p1beta1::Status]
1722
1568
  attr_accessor :error
1723
1569
 
1724
- # Service-specific metadata associated with the operation. It typically
1725
- # contains progress information and common metadata such as create time.
1726
- # Some services might not provide such metadata. Any method that returns a
1727
- # long-running operation should document the metadata type, if any.
1570
+ # Service-specific metadata associated with the operation. It typically contains
1571
+ # progress information and common metadata such as create time. Some services
1572
+ # might not provide such metadata. Any method that returns a long-running
1573
+ # operation should document the metadata type, if any.
1728
1574
  # Corresponds to the JSON property `metadata`
1729
1575
  # @return [Hash<String,Object>]
1730
1576
  attr_accessor :metadata
1731
1577
 
1732
1578
  # The server-assigned name, which is only unique within the same service that
1733
- # originally returns it. If you use the default HTTP mapping, the
1734
- # `name` should be a resource name ending with `operations/`unique_id``.
1579
+ # originally returns it. If you use the default HTTP mapping, the `name` should
1580
+ # be a resource name ending with `operations/`unique_id``.
1735
1581
  # Corresponds to the JSON property `name`
1736
1582
  # @return [String]
1737
1583
  attr_accessor :name
1738
1584
 
1739
- # The normal response of the operation in case of success. If the original
1740
- # method returns no data on success, such as `Delete`, the response is
1741
- # `google.protobuf.Empty`. If the original method is standard
1742
- # `Get`/`Create`/`Update`, the response should be the resource. For other
1743
- # methods, the response should have the type `XxxResponse`, where `Xxx`
1744
- # is the original method name. For example, if the original method name
1745
- # is `TakeSnapshot()`, the inferred response type is
1746
- # `TakeSnapshotResponse`.
1585
+ # The normal response of the operation in case of success. If the original
1586
+ # method returns no data on success, such as `Delete`, the response is `google.
1587
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1588
+ # the response should be the resource. For other methods, the response should
1589
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
1590
+ # example, if the original method name is `TakeSnapshot()`, the inferred
1591
+ # response type is `TakeSnapshotResponse`.
1747
1592
  # Corresponds to the JSON property `response`
1748
1593
  # @return [Hash<String,Object>]
1749
1594
  attr_accessor :response
@@ -1762,8 +1607,8 @@ module Google
1762
1607
  end
1763
1608
  end
1764
1609
 
1765
- # User specified settings that are attached to the Security Command
1766
- # Center organization.
1610
+ # User specified settings that are attached to the Security Command Center
1611
+ # organization.
1767
1612
  class OrganizationSettings
1768
1613
  include Google::Apis::Core::Hashable
1769
1614
 
@@ -1772,19 +1617,17 @@ module Google
1772
1617
  # @return [Google::Apis::SecuritycenterV1p1beta1::AssetDiscoveryConfig]
1773
1618
  attr_accessor :asset_discovery_config
1774
1619
 
1775
- # A flag that indicates if Asset Discovery should be enabled. If the flag is
1776
- # set to `true`, then discovery of assets will occur. If it is set to `false,
1777
- # all historical assets will remain, but discovery of future assets will not
1778
- # occur.
1620
+ # A flag that indicates if Asset Discovery should be enabled. If the flag is set
1621
+ # to `true`, then discovery of assets will occur. If it is set to `false, all
1622
+ # historical assets will remain, but discovery of future assets will not occur.
1779
1623
  # Corresponds to the JSON property `enableAssetDiscovery`
1780
1624
  # @return [Boolean]
1781
1625
  attr_accessor :enable_asset_discovery
1782
1626
  alias_method :enable_asset_discovery?, :enable_asset_discovery
1783
1627
 
1784
- # The relative resource name of the settings. See:
1785
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1786
- # Example:
1787
- # "organizations/`organization_id`/organizationSettings".
1628
+ # The relative resource name of the settings. See: https://cloud.google.com/apis/
1629
+ # design/resource_names#relative_resource_name Example: "organizations/`
1630
+ # organization_id`/organizationSettings".
1788
1631
  # Corresponds to the JSON property `name`
1789
1632
  # @return [String]
1790
1633
  attr_accessor :name
@@ -1802,66 +1645,32 @@ module Google
1802
1645
  end
1803
1646
 
1804
1647
  # An Identity and Access Management (IAM) policy, which specifies access
1805
- # controls for Google Cloud resources.
1806
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1807
- # `members` to a single `role`. Members can be user accounts, service accounts,
1808
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1809
- # permissions; each `role` can be an IAM predefined role or a user-created
1810
- # custom role.
1811
- # For some types of Google Cloud resources, a `binding` can also specify a
1812
- # `condition`, which is a logical expression that allows access to a resource
1813
- # only if the expression evaluates to `true`. A condition can add constraints
1814
- # based on attributes of the request, the resource, or both. To learn which
1815
- # resources support conditions in their IAM policies, see the
1816
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1817
- # policies).
1818
- # **JSON example:**
1819
- # `
1820
- # "bindings": [
1821
- # `
1822
- # "role": "roles/resourcemanager.organizationAdmin",
1823
- # "members": [
1824
- # "user:mike@example.com",
1825
- # "group:admins@example.com",
1826
- # "domain:google.com",
1827
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1828
- # ]
1829
- # `,
1830
- # `
1831
- # "role": "roles/resourcemanager.organizationViewer",
1832
- # "members": [
1833
- # "user:eve@example.com"
1834
- # ],
1835
- # "condition": `
1836
- # "title": "expirable access",
1837
- # "description": "Does not grant access after Sep 2020",
1838
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1839
- # ",
1840
- # `
1841
- # `
1842
- # ],
1843
- # "etag": "BwWWja0YfJA=",
1844
- # "version": 3
1845
- # `
1846
- # **YAML example:**
1847
- # bindings:
1848
- # - members:
1849
- # - user:mike@example.com
1850
- # - group:admins@example.com
1851
- # - domain:google.com
1852
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1853
- # role: roles/resourcemanager.organizationAdmin
1854
- # - members:
1855
- # - user:eve@example.com
1856
- # role: roles/resourcemanager.organizationViewer
1857
- # condition:
1858
- # title: expirable access
1859
- # description: Does not grant access after Sep 2020
1860
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1861
- # - etag: BwWWja0YfJA=
1862
- # - version: 3
1863
- # For a description of IAM and its features, see the
1864
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1648
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1649
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1650
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1651
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1652
+ # role or a user-created custom role. For some types of Google Cloud resources,
1653
+ # a `binding` can also specify a `condition`, which is a logical expression that
1654
+ # allows access to a resource only if the expression evaluates to `true`. A
1655
+ # condition can add constraints based on attributes of the request, the resource,
1656
+ # or both. To learn which resources support conditions in their IAM policies,
1657
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1658
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1659
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1660
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1661
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1662
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1663
+ # title": "expirable access", "description": "Does not grant access after Sep
1664
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1665
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1666
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1667
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1668
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1669
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1670
+ # description: Does not grant access after Sep 2020 expression: request.time <
1671
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1672
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1673
+ # google.com/iam/docs/).
1865
1674
  class Policy
1866
1675
  include Google::Apis::Core::Hashable
1867
1676
 
@@ -1870,48 +1679,44 @@ module Google
1870
1679
  # @return [Array<Google::Apis::SecuritycenterV1p1beta1::AuditConfig>]
1871
1680
  attr_accessor :audit_configs
1872
1681
 
1873
- # Associates a list of `members` to a `role`. Optionally, may specify a
1874
- # `condition` that determines how and when the `bindings` are applied. Each
1875
- # of the `bindings` must contain at least one member.
1682
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
1683
+ # condition` that determines how and when the `bindings` are applied. Each of
1684
+ # the `bindings` must contain at least one member.
1876
1685
  # Corresponds to the JSON property `bindings`
1877
1686
  # @return [Array<Google::Apis::SecuritycenterV1p1beta1::Binding>]
1878
1687
  attr_accessor :bindings
1879
1688
 
1880
- # `etag` is used for optimistic concurrency control as a way to help
1881
- # prevent simultaneous updates of a policy from overwriting each other.
1882
- # It is strongly suggested that systems make use of the `etag` in the
1883
- # read-modify-write cycle to perform policy updates in order to avoid race
1884
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1885
- # systems are expected to put that etag in the request to `setIamPolicy` to
1886
- # ensure that their change will be applied to the same version of the policy.
1887
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1888
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1889
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1890
- # the conditions in the version `3` policy are lost.
1689
+ # `etag` is used for optimistic concurrency control as a way to help prevent
1690
+ # simultaneous updates of a policy from overwriting each other. It is strongly
1691
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
1692
+ # to perform policy updates in order to avoid race conditions: An `etag` is
1693
+ # returned in the response to `getIamPolicy`, and systems are expected to put
1694
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
1695
+ # applied to the same version of the policy. **Important:** If you use IAM
1696
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1697
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
1698
+ # with a version `1` policy, and all of the conditions in the version `3` policy
1699
+ # are lost.
1891
1700
  # Corresponds to the JSON property `etag`
1892
1701
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1893
1702
  # @return [String]
1894
1703
  attr_accessor :etag
1895
1704
 
1896
- # Specifies the format of the policy.
1897
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1898
- # are rejected.
1899
- # Any operation that affects conditional role bindings must specify version
1900
- # `3`. This requirement applies to the following operations:
1901
- # * Getting a policy that includes a conditional role binding
1902
- # * Adding a conditional role binding to a policy
1903
- # * Changing a conditional role binding in a policy
1904
- # * Removing any role binding, with or without a condition, from a policy
1905
- # that includes conditions
1906
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1907
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1908
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1909
- # the conditions in the version `3` policy are lost.
1910
- # If a policy does not include any conditions, operations on that policy may
1911
- # specify any valid version or leave the field unset.
1912
- # To learn which resources support conditions in their IAM policies, see the
1913
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1914
- # policies).
1705
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1706
+ # Requests that specify an invalid value are rejected. Any operation that
1707
+ # affects conditional role bindings must specify version `3`. This requirement
1708
+ # applies to the following operations: * Getting a policy that includes a
1709
+ # conditional role binding * Adding a conditional role binding to a policy *
1710
+ # Changing a conditional role binding in a policy * Removing any role binding,
1711
+ # with or without a condition, from a policy that includes conditions **
1712
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1713
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1714
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1715
+ # conditions in the version `3` policy are lost. If a policy does not include
1716
+ # any conditions, operations on that policy may specify any valid version or
1717
+ # leave the field unset. To learn which resources support conditions in their
1718
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1719
+ # conditions/resource-policies).
1915
1720
  # Corresponds to the JSON property `version`
1916
1721
  # @return [Fixnum]
1917
1722
  attr_accessor :version
@@ -1929,13 +1734,13 @@ module Google
1929
1734
  end
1930
1735
  end
1931
1736
 
1932
- # Information related to the Google Cloud resource that is
1933
- # associated with this finding.
1737
+ # Information related to the Google Cloud resource that is associated with this
1738
+ # finding. LINT.IfChange
1934
1739
  class Resource
1935
1740
  include Google::Apis::Core::Hashable
1936
1741
 
1937
- # The full resource name of the resource. See:
1938
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
1742
+ # The full resource name of the resource. See: https://cloud.google.com/apis/
1743
+ # design/resource_names#full_resource_name
1939
1744
  # Corresponds to the JSON property `name`
1940
1745
  # @return [String]
1941
1746
  attr_accessor :name
@@ -1987,30 +1792,26 @@ module Google
1987
1792
  end
1988
1793
  end
1989
1794
 
1990
- # User specified security marks that are attached to the parent Security
1991
- # Command Center resource. Security marks are scoped within a Security Command
1992
- # Center organization -- they can be modified and viewed by all users who have
1993
- # proper permissions on the organization.
1795
+ # User specified security marks that are attached to the parent Security Command
1796
+ # Center resource. Security marks are scoped within a Security Command Center
1797
+ # organization -- they can be modified and viewed by all users who have proper
1798
+ # permissions on the organization.
1994
1799
  class SecurityMarks
1995
1800
  include Google::Apis::Core::Hashable
1996
1801
 
1997
1802
  # Mutable user specified security marks belonging to the parent resource.
1998
- # Constraints are as follows:
1999
- # * Keys and values are treated as case insensitive
2000
- # * Keys must be between 1 - 256 characters (inclusive)
2001
- # * Keys must be letters, numbers, underscores, or dashes
2002
- # * Values have leading and trailing whitespace trimmed, remaining
2003
- # characters must be between 1 - 4096 characters (inclusive)
1803
+ # Constraints are as follows: * Keys and values are treated as case insensitive *
1804
+ # Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
1805
+ # numbers, underscores, or dashes * Values have leading and trailing whitespace
1806
+ # trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
2004
1807
  # Corresponds to the JSON property `marks`
2005
1808
  # @return [Hash<String,String>]
2006
1809
  attr_accessor :marks
2007
1810
 
2008
- # The relative resource name of the SecurityMarks. See:
2009
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
2010
- # Examples:
2011
- # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
2012
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
2013
- # securityMarks".
1811
+ # The relative resource name of the SecurityMarks. See: https://cloud.google.com/
1812
+ # apis/design/resource_names#relative_resource_name Examples: "organizations/`
1813
+ # organization_id`/assets/`asset_id`/securityMarks" "organizations/`
1814
+ # organization_id`/sources/`source_id`/findings/`finding_id`/securityMarks".
2014
1815
  # Corresponds to the JSON property `name`
2015
1816
  # @return [String]
2016
1817
  attr_accessor :name
@@ -2056,74 +1857,39 @@ module Google
2056
1857
  include Google::Apis::Core::Hashable
2057
1858
 
2058
1859
  # An Identity and Access Management (IAM) policy, which specifies access
2059
- # controls for Google Cloud resources.
2060
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2061
- # `members` to a single `role`. Members can be user accounts, service accounts,
2062
- # Google groups, and domains (such as G Suite). A `role` is a named list of
2063
- # permissions; each `role` can be an IAM predefined role or a user-created
2064
- # custom role.
2065
- # For some types of Google Cloud resources, a `binding` can also specify a
2066
- # `condition`, which is a logical expression that allows access to a resource
2067
- # only if the expression evaluates to `true`. A condition can add constraints
2068
- # based on attributes of the request, the resource, or both. To learn which
2069
- # resources support conditions in their IAM policies, see the
2070
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2071
- # policies).
2072
- # **JSON example:**
2073
- # `
2074
- # "bindings": [
2075
- # `
2076
- # "role": "roles/resourcemanager.organizationAdmin",
2077
- # "members": [
2078
- # "user:mike@example.com",
2079
- # "group:admins@example.com",
2080
- # "domain:google.com",
2081
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
2082
- # ]
2083
- # `,
2084
- # `
2085
- # "role": "roles/resourcemanager.organizationViewer",
2086
- # "members": [
2087
- # "user:eve@example.com"
2088
- # ],
2089
- # "condition": `
2090
- # "title": "expirable access",
2091
- # "description": "Does not grant access after Sep 2020",
2092
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
2093
- # ",
2094
- # `
2095
- # `
2096
- # ],
2097
- # "etag": "BwWWja0YfJA=",
2098
- # "version": 3
2099
- # `
2100
- # **YAML example:**
2101
- # bindings:
2102
- # - members:
2103
- # - user:mike@example.com
2104
- # - group:admins@example.com
2105
- # - domain:google.com
2106
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
2107
- # role: roles/resourcemanager.organizationAdmin
2108
- # - members:
2109
- # - user:eve@example.com
2110
- # role: roles/resourcemanager.organizationViewer
2111
- # condition:
2112
- # title: expirable access
2113
- # description: Does not grant access after Sep 2020
2114
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2115
- # - etag: BwWWja0YfJA=
2116
- # - version: 3
2117
- # For a description of IAM and its features, see the
2118
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1860
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1861
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1862
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1863
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1864
+ # role or a user-created custom role. For some types of Google Cloud resources,
1865
+ # a `binding` can also specify a `condition`, which is a logical expression that
1866
+ # allows access to a resource only if the expression evaluates to `true`. A
1867
+ # condition can add constraints based on attributes of the request, the resource,
1868
+ # or both. To learn which resources support conditions in their IAM policies,
1869
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1870
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1871
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1872
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1873
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1874
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1875
+ # title": "expirable access", "description": "Does not grant access after Sep
1876
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1877
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1878
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1879
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1880
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1881
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1882
+ # description: Does not grant access after Sep 2020 expression: request.time <
1883
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1884
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1885
+ # google.com/iam/docs/).
2119
1886
  # Corresponds to the JSON property `policy`
2120
1887
  # @return [Google::Apis::SecuritycenterV1p1beta1::Policy]
2121
1888
  attr_accessor :policy
2122
1889
 
2123
1890
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
2124
- # the fields in the mask will be modified. If no mask is provided, the
2125
- # following default mask is used:
2126
- # `paths: "bindings, etag"`
1891
+ # the fields in the mask will be modified. If no mask is provided, the following
1892
+ # default mask is used: `paths: "bindings, etag"`
2127
1893
  # Corresponds to the JSON property `updateMask`
2128
1894
  # @return [String]
2129
1895
  attr_accessor :update_mask
@@ -2139,36 +1905,32 @@ module Google
2139
1905
  end
2140
1906
  end
2141
1907
 
2142
- # Security Command Center finding source. A finding source
2143
- # is an entity or a mechanism that can produce a finding. A source is like a
2144
- # container of findings that come from the same scanner, logger, monitor, etc.
1908
+ # Security Command Center finding source. A finding source is an entity or a
1909
+ # mechanism that can produce a finding. A source is like a container of findings
1910
+ # that come from the same scanner, logger, monitor, etc.
2145
1911
  class Source
2146
1912
  include Google::Apis::Core::Hashable
2147
1913
 
2148
- # The description of the source (max of 1024 characters).
2149
- # Example:
2150
- # "Web Security Scanner is a web security scanner for common
2151
- # vulnerabilities in App Engine applications. It can automatically
2152
- # scan and detect four common vulnerabilities, including cross-site-scripting
2153
- # (XSS), Flash injection, mixed content (HTTP in HTTPS), and
2154
- # outdated/insecure libraries."
1914
+ # The description of the source (max of 1024 characters). Example: "Web Security
1915
+ # Scanner is a web security scanner for common vulnerabilities in App Engine
1916
+ # applications. It can automatically scan and detect four common vulnerabilities,
1917
+ # including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in
1918
+ # HTTPS), and outdated/insecure libraries."
2155
1919
  # Corresponds to the JSON property `description`
2156
1920
  # @return [String]
2157
1921
  attr_accessor :description
2158
1922
 
2159
- # The source's display name.
2160
- # A source's display name must be unique amongst its siblings, for example,
2161
- # two sources with the same parent can't share the same display name.
2162
- # The display name must have a length between 1 and 64 characters
2163
- # (inclusive).
1923
+ # The source's display name. A source's display name must be unique amongst its
1924
+ # siblings, for example, two sources with the same parent can't share the same
1925
+ # display name. The display name must have a length between 1 and 64 characters (
1926
+ # inclusive).
2164
1927
  # Corresponds to the JSON property `displayName`
2165
1928
  # @return [String]
2166
1929
  attr_accessor :display_name
2167
1930
 
2168
- # The relative resource name of this source. See:
2169
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
2170
- # Example:
2171
- # "organizations/`organization_id`/sources/`source_id`"
1931
+ # The relative resource name of this source. See: https://cloud.google.com/apis/
1932
+ # design/resource_names#relative_resource_name Example: "organizations/`
1933
+ # organization_id`/sources/`source_id`"
2172
1934
  # Corresponds to the JSON property `name`
2173
1935
  # @return [String]
2174
1936
  attr_accessor :name
@@ -2185,12 +1947,12 @@ module Google
2185
1947
  end
2186
1948
  end
2187
1949
 
2188
- # The `Status` type defines a logical error model that is suitable for
2189
- # different programming environments, including REST APIs and RPC APIs. It is
2190
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2191
- # three pieces of data: error code, error message, and error details.
2192
- # You can find out more about this error model and how to work with it in the
2193
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1950
+ # The `Status` type defines a logical error model that is suitable for different
1951
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1952
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1953
+ # data: error code, error message, and error details. You can find out more
1954
+ # about this error model and how to work with it in the [API Design Guide](https:
1955
+ # //cloud.google.com/apis/design/errors).
2194
1956
  class Status
2195
1957
  include Google::Apis::Core::Hashable
2196
1958
 
@@ -2199,15 +1961,15 @@ module Google
2199
1961
  # @return [Fixnum]
2200
1962
  attr_accessor :code
2201
1963
 
2202
- # A list of messages that carry the error details. There is a common set of
1964
+ # A list of messages that carry the error details. There is a common set of
2203
1965
  # message types for APIs to use.
2204
1966
  # Corresponds to the JSON property `details`
2205
1967
  # @return [Array<Hash<String,Object>>]
2206
1968
  attr_accessor :details
2207
1969
 
2208
- # A developer-facing error message, which should be in English. Any
2209
- # user-facing error message should be localized and sent in the
2210
- # google.rpc.Status.details field, or localized by the client.
1970
+ # A developer-facing error message, which should be in English. Any user-facing
1971
+ # error message should be localized and sent in the google.rpc.Status.details
1972
+ # field, or localized by the client.
2211
1973
  # Corresponds to the JSON property `message`
2212
1974
  # @return [String]
2213
1975
  attr_accessor :message
@@ -2224,27 +1986,21 @@ module Google
2224
1986
  end
2225
1987
  end
2226
1988
 
2227
- # The config for streaming-based notifications, which send each event as soon
2228
- # as it is detected.
1989
+ # The config for streaming-based notifications, which send each event as soon as
1990
+ # it is detected.
2229
1991
  class StreamingConfig
2230
1992
  include Google::Apis::Core::Hashable
2231
1993
 
2232
- # Expression that defines the filter to apply across create/update events
2233
- # of assets or findings as specified by the event type. The expression is a
2234
- # list of zero or more restrictions combined via logical operators `AND`
2235
- # and `OR`. Parentheses are supported, and `OR` has higher precedence than
2236
- # `AND`.
2237
- # Restrictions have the form `<field> <operator> <value>` and may have a
2238
- # `-` character in front of them to indicate negation. The fields map to
2239
- # those defined in the corresponding resource.
2240
- # The supported operators are:
2241
- # * `=` for all value types.
2242
- # * `>`, `<`, `>=`, `<=` for integer values.
2243
- # * `:`, meaning substring matching, for strings.
2244
- # The supported value types are:
2245
- # * string literals in quotes.
2246
- # * integer literals without quotes.
2247
- # * boolean literals `true` and `false` without quotes.
1994
+ # Expression that defines the filter to apply across create/update events of
1995
+ # assets or findings as specified by the event type. The expression is a list of
1996
+ # zero or more restrictions combined via logical operators `AND` and `OR`.
1997
+ # Parentheses are supported, and `OR` has higher precedence than `AND`.
1998
+ # Restrictions have the form ` ` and may have a `-` character in front of them
1999
+ # to indicate negation. The fields map to those defined in the corresponding
2000
+ # resource. The supported operators are: * `=` for all value types. * `>`, `<`, `
2001
+ # >=`, `<=` for integer values. * `:`, meaning substring matching, for strings.
2002
+ # The supported value types are: * string literals in quotes. * integer literals
2003
+ # without quotes. * boolean literals `true` and `false` without quotes.
2248
2004
  # Corresponds to the JSON property `filter`
2249
2005
  # @return [String]
2250
2006
  attr_accessor :filter
@@ -2263,10 +2019,9 @@ module Google
2263
2019
  class TestIamPermissionsRequest
2264
2020
  include Google::Apis::Core::Hashable
2265
2021
 
2266
- # The set of permissions to check for the `resource`. Permissions with
2267
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
2268
- # information see
2269
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
2022
+ # The set of permissions to check for the `resource`. Permissions with wildcards
2023
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
2024
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
2270
2025
  # Corresponds to the JSON property `permissions`
2271
2026
  # @return [Array<String>]
2272
2027
  attr_accessor :permissions
@@ -2285,8 +2040,7 @@ module Google
2285
2040
  class TestIamPermissionsResponse
2286
2041
  include Google::Apis::Core::Hashable
2287
2042
 
2288
- # A subset of `TestPermissionsRequest.permissions` that the caller is
2289
- # allowed.
2043
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
2290
2044
  # Corresponds to the JSON property `permissions`
2291
2045
  # @return [Array<String>]
2292
2046
  attr_accessor :permissions